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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3304
3305
3306
3307
3308
3309
# File 'lib/aws-sdk-iam/types.rb', line 3304

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

#policy_nameString

The name of the policy.

Returns:

  • (String)


3304
3305
3306
3307
3308
3309
# File 'lib/aws-sdk-iam/types.rb', line 3304

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)


3304
3305
3306
3307
3308
3309
# File 'lib/aws-sdk-iam/types.rb', line 3304

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