Class: AWS::EC2::NetworkAcl

Inherits:
ModelElement show all
Defined in:
lib/cfn-model/model/ec2_network_acl.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) ⇒ NetworkAcl

Returns a new instance of NetworkAcl.



8
9
10
11
12
# File 'lib/cfn-model/model/ec2_network_acl.rb', line 8

def initialize(cfn_model)
  super
  @network_acl_entries = []
  @resource_type = 'AWS::EC2::NetworkAcl'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ModelElement

Instance Attribute Details

#network_acl_entriesObject

Returns the value of attribute network_acl_entries.



6
7
8
# File 'lib/cfn-model/model/ec2_network_acl.rb', line 6

def network_acl_entries
  @network_acl_entries
end