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
-
#description ⇒ Object
Returns the value of attribute description.
-
#groupSet ⇒ Object
Returns the value of attribute groupSet.
-
#ipv6AddressCount ⇒ Object
Returns the value of attribute ipv6AddressCount.
-
#ipv6Addresses ⇒ Object
Returns the value of attribute ipv6Addresses.
-
#privateIpAddress ⇒ Object
Returns the value of attribute privateIpAddress.
-
#privateIpAddresses ⇒ Object
Returns the value of attribute privateIpAddresses.
-
#secondaryPrivateIpAddressCount ⇒ Object
Returns the value of attribute secondaryPrivateIpAddressCount.
-
#security_groups ⇒ Object
SecurityGroup objects based upon groupSet.
-
#sourceDestCheck ⇒ Object
Returns the value of attribute sourceDestCheck.
-
#subnetId ⇒ Object
Returns the value of attribute subnetId.
-
#tags ⇒ Object
Returns the value of attribute tags.
Attributes inherited from ModelElement
#logical_resource_id, #resource_type
Instance Method Summary collapse
-
#initialize ⇒ NetworkInterface
constructor
A new instance of NetworkInterface.
Methods inherited from ModelElement
Constructor Details
#initialize ⇒ NetworkInterface
Returns a new instance of NetworkInterface.
10 11 12 13 14 15 16 17 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 10 def initialize @groupSet = [] @ipv6Addresses = [] @privateIpAddresses = [] = [] @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
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5 def description @description end |
#groupSet ⇒ Object
Returns the value of attribute groupSet.
4 5 6 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4 def groupSet @groupSet end |
#ipv6AddressCount ⇒ Object
Returns the value of attribute ipv6AddressCount.
5 6 7 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5 def ipv6AddressCount @ipv6AddressCount end |
#ipv6Addresses ⇒ Object
Returns the value of attribute ipv6Addresses.
4 5 6 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4 def ipv6Addresses @ipv6Addresses end |
#privateIpAddress ⇒ Object
Returns the value of attribute privateIpAddress.
5 6 7 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5 def privateIpAddress @privateIpAddress end |
#privateIpAddresses ⇒ Object
Returns the value of attribute privateIpAddresses.
4 5 6 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4 def privateIpAddresses @privateIpAddresses end |
#secondaryPrivateIpAddressCount ⇒ Object
Returns the value of attribute secondaryPrivateIpAddressCount.
5 6 7 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5 def secondaryPrivateIpAddressCount @secondaryPrivateIpAddressCount end |
#security_groups ⇒ Object
SecurityGroup objects based upon groupSet
8 9 10 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 8 def security_groups @security_groups end |
#sourceDestCheck ⇒ Object
Returns the value of attribute sourceDestCheck.
5 6 7 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5 def sourceDestCheck @sourceDestCheck end |
#subnetId ⇒ Object
Returns the value of attribute subnetId.
5 6 7 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5 def subnetId @subnetId end |
#tags ⇒ Object
Returns the value of attribute tags.
4 5 6 |
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4 def end |