Class: AwsIamRole

Inherits:
Object
  • Object
show all
Includes:
AwsSingularResourceMixin
Defined in:
lib/resources/aws/aws_iam_role.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_iam_role.rb', line 12

def description
  @description
end

#role_nameObject (readonly)

Returns the value of attribute role_name.



12
13
14
# File 'lib/resources/aws/aws_iam_role.rb', line 12

def role_name
  @role_name
end

Instance Method Details

#to_sObject



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

def to_s
  "IAM Role #{role_name}"
end