Class: AWS::EC2::SecurityGroup
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::EC2::SecurityGroup
- Defined in:
- lib/cfn-model/model/security_group.rb
Instance Attribute Summary collapse
-
#egresses ⇒ Object
Returns the value of attribute egresses.
-
#ingresses ⇒ Object
Returns the value of attribute ingresses.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ SecurityGroup
constructor
A new instance of SecurityGroup.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ SecurityGroup
Returns a new instance of SecurityGroup.
6 7 8 9 10 11 12 13 14 |
# File 'lib/cfn-model/model/security_group.rb', line 6 def initialize(cfn_model) super @securityGroupIngress = [] @securityGroupEgress = [] @ingresses = [] @egresses = [] @tags = [] @resource_type = 'AWS::EC2::SecurityGroup' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ModelElement
Instance Attribute Details
#egresses ⇒ Object
Returns the value of attribute egresses.
4 5 6 |
# File 'lib/cfn-model/model/security_group.rb', line 4 def egresses @egresses end |
#ingresses ⇒ Object
Returns the value of attribute ingresses.
4 5 6 |
# File 'lib/cfn-model/model/security_group.rb', line 4 def ingresses @ingresses end |