Module: AWS::IAM::UserPolicy::PolicyProxy

Defined in:
lib/aws/iam/user_policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_policyObject

Returns the value of attribute user_policy.



39
40
41
# File 'lib/aws/iam/user_policy.rb', line 39

def user_policy
  @user_policy
end

Instance Method Details

#change {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



41
42
43
44
# File 'lib/aws/iam/user_policy.rb', line 41

def change
  yield(self)
  user_policy.policy = self
end