class
Amazonite::Iam::GetUserPolicyResponse
- Amazonite::Iam::GetUserPolicyResponse
- Reference
- Object
Overview
Contains the response to a successful GetUserPolicy request.
Defined in:
iam/get_user_policy_response.crConstructors
- .from_xml(node : XML::Node) : self
- .new(user_name : String, policy_name : String, policy_document : String)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#policy_document : String
The policy document.
-
#policy_document=(policy_document : String)
The policy document.
-
#policy_name : String
The name of the policy.
-
#policy_name=(policy_name : String)
The name of the policy.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#user_name : String
The user the policy is associated with.
-
#user_name=(user_name : String)
The user the policy is associated with.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.