class ZAWS::AWSCLI::Commands::IAM
Public Class Methods
new(shellout,aws)
click to toggle source
# File lib/zaws/external/awscli/commands/iam.rb, line 5 def initialize(shellout,aws) @shellout=shellout @aws=aws end
Public Instance Methods
getPolicy()
click to toggle source
# File lib/zaws/external/awscli/commands/iam.rb, line 16 def getPolicy @_getPolicy ||= (ZAWS::AWSCLI::Commands::IAM::GetPolicy.new(@shellout,@aws)) return @_getPolicy end
getPolicyVersion()
click to toggle source
# File lib/zaws/external/awscli/commands/iam.rb, line 21 def getPolicyVersion # http://docs.aws.amazon.com/cli/latest/reference/iam/get-role-policy.html @_getPolicyVersion ||= (ZAWS::AWSCLI::Commands::IAM::GetPolicyVersion.new(@shellout,@aws)) return @_getPolicyVersion end
getRolePolicy()
click to toggle source
# File lib/zaws/external/awscli/commands/iam.rb, line 10 def getRolePolicy # http://docs.aws.amazon.com/cli/latest/reference/iam/get-role-policy.html @_getRolePolicy ||= (ZAWS::AWSCLI::Commands::IAM::GetRolePolicy.new(@shellout,@aws)) return @_getRolePolicy end