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.
-
#groupDescription ⇒ Object
Returns the value of attribute groupDescription.
-
#ingresses ⇒ Object
Returns the value of attribute ingresses.
-
#securityGroupEgress ⇒ Object
Returns the value of attribute securityGroupEgress.
-
#securityGroupIngress ⇒ Object
Returns the value of attribute securityGroupIngress.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#vpcId ⇒ Object
Returns the value of attribute vpcId.
Attributes inherited from ModelElement
#logical_resource_id, #resource_type
Instance Method Summary collapse
-
#initialize ⇒ SecurityGroup
constructor
A new instance of SecurityGroup.
Methods inherited from ModelElement
Constructor Details
#initialize ⇒ SecurityGroup
Returns a new instance of SecurityGroup.
10 11 12 13 14 15 16 17 |
# File 'lib/cfn-model/model/security_group.rb', line 10 def initialize @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.
8 9 10 |
# File 'lib/cfn-model/model/security_group.rb', line 8 def egresses @egresses end |
#groupDescription ⇒ Object
Returns the value of attribute groupDescription.
4 5 6 |
# File 'lib/cfn-model/model/security_group.rb', line 4 def groupDescription @groupDescription end |
#ingresses ⇒ Object
Returns the value of attribute ingresses.
8 9 10 |
# File 'lib/cfn-model/model/security_group.rb', line 8 def ingresses @ingresses end |
#securityGroupEgress ⇒ Object
Returns the value of attribute securityGroupEgress.
6 7 8 |
# File 'lib/cfn-model/model/security_group.rb', line 6 def securityGroupEgress @securityGroupEgress end |
#securityGroupIngress ⇒ Object
Returns the value of attribute securityGroupIngress.
6 7 8 |
# File 'lib/cfn-model/model/security_group.rb', line 6 def securityGroupIngress @securityGroupIngress end |
#tags ⇒ Object
Returns the value of attribute tags.
5 6 7 |
# File 'lib/cfn-model/model/security_group.rb', line 5 def @tags end |
#vpcId ⇒ Object
Returns the value of attribute vpcId.
4 5 6 |
# File 'lib/cfn-model/model/security_group.rb', line 4 def vpcId @vpcId end |