Class: AWS::EC2::NetworkInterface

Inherits:
ModelElement show all
Defined in:
lib/cfn-model/model/ec2_network_interface.rb

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#logical_resource_id, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

Constructor Details

#initializeNetworkInterface

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 = []
  @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

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5

def description
  @description
end

#groupSetObject

Returns the value of attribute groupSet.



4
5
6
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4

def groupSet
  @groupSet
end

#ipv6AddressCountObject

Returns the value of attribute ipv6AddressCount.



5
6
7
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5

def ipv6AddressCount
  @ipv6AddressCount
end

#ipv6AddressesObject

Returns the value of attribute ipv6Addresses.



4
5
6
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4

def ipv6Addresses
  @ipv6Addresses
end

#privateIpAddressObject

Returns the value of attribute privateIpAddress.



5
6
7
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5

def privateIpAddress
  @privateIpAddress
end

#privateIpAddressesObject

Returns the value of attribute privateIpAddresses.



4
5
6
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4

def privateIpAddresses
  @privateIpAddresses
end

#secondaryPrivateIpAddressCountObject

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_groupsObject

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

#sourceDestCheckObject

Returns the value of attribute sourceDestCheck.



5
6
7
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5

def sourceDestCheck
  @sourceDestCheck
end

#subnetIdObject

Returns the value of attribute subnetId.



5
6
7
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 5

def subnetId
  @subnetId
end

#tagsObject

Returns the value of attribute tags.



4
5
6
# File 'lib/cfn-model/model/ec2_network_interface.rb', line 4

def tags
  @tags
end