Class: AWS::EC2::NetworkInterface
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::EC2::NetworkInterface
- Defined in:
- lib/cfn-model/model/ec2_network_interface.rb
Instance Attribute Summary collapse
-
#security_groups ⇒ Object
SecurityGroup objects based upon groupSet.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ NetworkInterface
constructor
A new instance of NetworkInterface.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ NetworkInterface
Returns a new instance of NetworkInterface.
9 10 11 12 13 14 15 16 17 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 9 def initialize(cfn_model) super @groupSet = [] @ipv6Addresses = [] @privateIpAddresses = [] @tags = [] @security_groups = [] @resource_type = 'AWS::EC2::NetworkInterface' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ModelElement
Instance Attribute Details
#security_groups ⇒ Object
SecurityGroup objects based upon groupSet
7 8 9 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 7 def security_groups @security_groups end |