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, #metadata, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

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_groupsObject

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