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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribePolicyRequest as input to an Aws::Client method, you can use a vanilla 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.

Returns:

  • (String)

    The unique identifier (ID) of the policy that you want details about.