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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The policy document.

Returns:

  • (String)

8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-iam/types.rb', line 8673

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

#policy_nameString

The name of the policy.

Returns:

  • (String)

8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-iam/types.rb', line 8673

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