Sha256: 1660fded1307e639e5bca810b8c77e655a35aacae609fe1890e871b82deb762f
Contents?: true
Size: 490 Bytes
Versions: 9
Compression:
Stored size: 490 Bytes
Contents
require "swa/resource" require "swa/iam/credentials" require "swa/iam/role_policy" module Swa module IAM class Role < Resource def id role.role_id end def arn role.arn end def summary role.name end def policies RolePolicy.list(role.policies) end def policy(name) RolePolicy.new(role.policy(name)) end private alias_method :role, :aws_resource end end end
Version data entries
9 entries across 9 versions & 1 rubygems