Class: AwsSecurityGroup

Inherits:
Object
  • Object
show all
Includes:
AwsSingularResourceMixin
Defined in:
lib/resources/aws/aws_security_group.rb

Defined Under Namespace

Classes: Backend

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AwsSingularResourceMixin

#exists?, included

Methods included from AwsResourceMixin

#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner

Instance Attribute Details

#descriptionObject (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_idObject (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_nameObject (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_idObject (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_sObject



14
15
16
# File 'lib/resources/aws/aws_security_group.rb', line 14

def to_s
  "EC2 Security Group #{@group_id}"
end