Class: Aws::IAM::Types::PolicyDetail

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

Overview

Contains information about an IAM policy, including the policy document.

This data type is used as a response element in the GetAccountAuthorizationDetails operation.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The policy document.

Returns:

  • (String)


6386
6387
6388
6389
6390
# File 'lib/aws-sdk-iam/types.rb', line 6386

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

#policy_nameString

The name of the policy.

Returns:

  • (String)


6386
6387
6388
6389
6390
# File 'lib/aws-sdk-iam/types.rb', line 6386

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