You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IAM::Types::GetRolePolicyResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Contains the response to a successful GetRolePolicy request.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The policy document.

Returns:

  • (String)


3169
3170
3171
3172
3173
3174
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3169

class GetRolePolicyResponse < Struct.new(
  :role_name,
  :policy_name,
  :policy_document)
  include Aws::Structure
end

#policy_nameString

The name of the policy.

Returns:

  • (String)


3169
3170
3171
3172
3173
3174
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3169

class GetRolePolicyResponse < Struct.new(
  :role_name,
  :policy_name,
  :policy_document)
  include Aws::Structure
end

#role_nameString

The role the policy is associated with.

Returns:

  • (String)


3169
3170
3171
3172
3173
3174
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3169

class GetRolePolicyResponse < Struct.new(
  :role_name,
  :policy_name,
  :policy_document)
  include Aws::Structure
end