You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The policy document.

Returns:

  • (String)


6226
6227
6228
6229
6230
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6226

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

#policy_nameString

The name of the policy.

Returns:

  • (String)


6226
6227
6228
6229
6230
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6226

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