Class: Swa::IAM::Role

Inherits:
Resource show all
Defined in:
lib/swa/iam/role.rb

Instance Attribute Summary

Attributes inherited from Resource

#aws_resource

Instance Method Summary collapse

Methods inherited from Resource

#data, delegate, #initialize, list

Constructor Details

This class inherits a constructor from Swa::Resource

Instance Method Details

#arnObject



13
14
15
# File 'lib/swa/iam/role.rb', line 13

def arn
  role.arn
end

#idObject



9
10
11
# File 'lib/swa/iam/role.rb', line 9

def id
  role.role_id
end

#summaryObject



17
18
19
# File 'lib/swa/iam/role.rb', line 17

def summary
  role.name
end