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)


7881
7882
7883
7884
7885
7886
# File 'lib/aws-sdk-iam/types.rb', line 7881

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

#policy_nameString

The name of the policy.

Returns:

  • (String)


7881
7882
7883
7884
7885
7886
# File 'lib/aws-sdk-iam/types.rb', line 7881

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