You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::Types::GetUserPolicyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::GetUserPolicyResponse
- Defined in:
- (unknown)
Overview
Instance Attribute Summary collapse
-
#policy_document ⇒ String
The policy document.
-
#policy_name ⇒ String
The name of the policy.
-
#user_name ⇒ String
The user the policy is associated with.
Instance Attribute Details
#policy_document ⇒ String
The policy document.
IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
#policy_name ⇒ String
The name of the policy.
#user_name ⇒ String
The user the policy is associated with.