Class: Aws::Organizations::Types::DescribePolicyRequest

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

Overview

Note:

When making an API call, you may pass DescribePolicyRequest data as a hash:

{
  policy_id: "PolicyId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_idString

The unique identifier (ID) of the policy that you want details about. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

The [regex pattern] for a policy ID string requires “p-” followed by from 8 to 128 lower-case letters or digits.

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


869
870
871
872
# File 'lib/aws-sdk-organizations/types.rb', line 869

class DescribePolicyRequest < Struct.new(
  :policy_id)
  include Aws::Structure
end