Class: Aws::IAM::Types::GetRolePolicyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::GetRolePolicyResponse
- Defined in:
- gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb
Overview
Contains the response to a successful GetRolePolicy request.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy_document ⇒ String
The policy document.
-
#policy_name ⇒ String
The name of the policy.
-
#role_name ⇒ String
The role 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.
3933 3934 3935 3936 3937 3938 3939 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3933 class GetRolePolicyResponse < Struct.new( :role_name, :policy_name, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
The name of the policy.
3933 3934 3935 3936 3937 3938 3939 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3933 class GetRolePolicyResponse < Struct.new( :role_name, :policy_name, :policy_document) SENSITIVE = [] include Aws::Structure end |
#role_name ⇒ String
The role the policy is associated with.
3933 3934 3935 3936 3937 3938 3939 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3933 class GetRolePolicyResponse < Struct.new( :role_name, :policy_name, :policy_document) SENSITIVE = [] include Aws::Structure end |