Class: ZAWS::IAM

Inherits:
Object
  • Object
show all
Defined in:
lib/zaws/services/iam.rb

Instance Method Summary collapse

Constructor Details

#initialize(shellout, aws) ⇒ IAM

Returns a new instance of IAM.



8
9
10
11
# File 'lib/zaws/services/iam.rb', line 8

def initialize(shellout,aws)
  @shellout=shellout
  @aws=aws
end

Instance Method Details

#policyObject



18
19
20
21
# File 'lib/zaws/services/iam.rb', line 18

def policy 
  @_policy ||= (ZAWS::Services::IAM::Policy.new(@shellout,@aws))
  return @_policy
end

#roleObject



13
14
15
16
# File 'lib/zaws/services/iam.rb', line 13

def role 
  @_role ||= (ZAWS::Services::IAM::Role.new(@shellout,@aws))
  return @_role
end