| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Organizations.Types.PolicyTargetSummary
Description
Synopsis
- data PolicyTargetSummary = PolicyTargetSummary' {}
- newPolicyTargetSummary :: PolicyTargetSummary
- policyTargetSummary_targetId :: Lens' PolicyTargetSummary (Maybe Text)
- policyTargetSummary_arn :: Lens' PolicyTargetSummary (Maybe Text)
- policyTargetSummary_name :: Lens' PolicyTargetSummary (Maybe Text)
- policyTargetSummary_type :: Lens' PolicyTargetSummary (Maybe TargetType)
Documentation
data PolicyTargetSummary Source #
Contains information about a root, OU, or account that a policy is attached to.
See: newPolicyTargetSummary smart constructor.
Constructors
| PolicyTargetSummary' | |
Fields
| |
Instances
newPolicyTargetSummary :: PolicyTargetSummary Source #
Create a value of PolicyTargetSummary with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetId:PolicyTargetSummary', policyTargetSummary_targetId - The unique identifier (ID) of the policy target.
The regex pattern 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.
$sel:arn:PolicyTargetSummary', policyTargetSummary_arn - The Amazon Resource Name (ARN) of the policy target.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.
$sel:name:PolicyTargetSummary', policyTargetSummary_name - The friendly name of the policy target.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
$sel:type':PolicyTargetSummary', policyTargetSummary_type - The type of the policy target.
policyTargetSummary_targetId :: Lens' PolicyTargetSummary (Maybe Text) Source #
The unique identifier (ID) of the policy target.
The regex pattern 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.
policyTargetSummary_arn :: Lens' PolicyTargetSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the policy target.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.
policyTargetSummary_name :: Lens' PolicyTargetSummary (Maybe Text) Source #
The friendly name of the policy target.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
policyTargetSummary_type :: Lens' PolicyTargetSummary (Maybe TargetType) Source #
The type of the policy target.