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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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)


7933
7934
7935
7936
7937
7938
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 7933

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

#policy_nameString

The name of the policy.

Returns:

  • (String)


7933
7934
7935
7936
7937
7938
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 7933

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