Class: AwsSecurityGroup
- Inherits:
-
Object
- Object
- AwsSecurityGroup
- Includes:
- AwsSingularResourceMixin
- Defined in:
- lib/resources/aws/aws_security_group.rb
Defined Under Namespace
Classes: Backend
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#group_id ⇒ Object
readonly
Returns the value of attribute group_id.
-
#group_name ⇒ Object
readonly
Returns the value of attribute group_name.
-
#vpc_id ⇒ Object
readonly
Returns the value of attribute vpc_id.
Instance Method Summary collapse
Methods included from AwsSingularResourceMixin
Methods included from AwsResourceMixin
#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
12 13 14 |
# File 'lib/resources/aws/aws_security_group.rb', line 12 def description @description end |
#group_id ⇒ Object (readonly)
Returns the value of attribute group_id.
12 13 14 |
# File 'lib/resources/aws/aws_security_group.rb', line 12 def group_id @group_id end |
#group_name ⇒ Object (readonly)
Returns the value of attribute group_name.
12 13 14 |
# File 'lib/resources/aws/aws_security_group.rb', line 12 def group_name @group_name end |
#vpc_id ⇒ Object (readonly)
Returns the value of attribute vpc_id.
12 13 14 |
# File 'lib/resources/aws/aws_security_group.rb', line 12 def vpc_id @vpc_id end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/resources/aws/aws_security_group.rb', line 14 def to_s "EC2 Security Group #{@group_id}" end |