Class: Aws::IAM::Types::GetUserPolicyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::GetUserPolicyResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
Contains the response to a successful GetUserPolicy request.
Constant Summary collapse
- SENSITIVE =
[]
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 CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
4443 4444 4445 4446 4447 4448 4449 |
# File 'lib/aws-sdk-iam/types.rb', line 4443 class GetUserPolicyResponse < Struct.new( :user_name, :policy_name, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
The name of the policy.
4443 4444 4445 4446 4447 4448 4449 |
# File 'lib/aws-sdk-iam/types.rb', line 4443 class GetUserPolicyResponse < Struct.new( :user_name, :policy_name, :policy_document) SENSITIVE = [] include Aws::Structure end |
#user_name ⇒ String
The user the policy is associated with.
4443 4444 4445 4446 4447 4448 4449 |
# File 'lib/aws-sdk-iam/types.rb', line 4443 class GetUserPolicyResponse < Struct.new( :user_name, :policy_name, :policy_document) SENSITIVE = [] include Aws::Structure end |