class Aws::Organizations::Types::PolicyTargetSummary

Contains information about a root, OU, or account that a policy is attached to.

@!attribute [rw] target_id

The unique identifier (ID) of the policy target.

The [regex pattern][1] for a target ID string requires one of the
following:

* **Root** - A string that begins with "r-" followed by from 4 to
  32 lowercase letters or digits.

* **Account** - A string that consists of exactly 12 digits.

* **Organizational unit (OU)** - A string that begins with "ou-"
  followed by from 4 to 32 lowercase letters or digits (the ID of
  the root that the OU is in). This string is followed by a second
  "-" dash and from 8 to 32 additional lowercase letters or
  digits.

[1]: http://wikipedia.org/wiki/regex
@return [String]

@!attribute [rw] arn

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see [ARN Formats
Supported by Organizations][1] in the *AWS Service Authorization
Reference*.

[1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
@return [String]

@!attribute [rw] name

The friendly name of the policy target.

The [regex pattern][1] that is used to validate this parameter is a
string of any of the characters in the ASCII character range.

[1]: http://wikipedia.org/wiki/regex
@return [String]

@!attribute [rw] type

The type of the policy target.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicyTargetSummary AWS API Documentation

Constants

SENSITIVE