EffectivePolicy - AWS Organizations

EffectivePolicy

Contains rules to be applied to the affected accounts. The effective policy is the aggregation of any policies the account inherits, plus any policy directly attached to the account.

Contents

LastUpdatedTimestamp

The time of the last update to this policy.

Type: Timestamp

Required: No

PolicyContent

The text content of the policy.

Type: String

Length Constraints: Minimum length of 1.

Pattern: [\s\S]*

Required: No

PolicyType

The policy type.

Type: String

Valid Values: TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY | CHATBOT_POLICY | DECLARATIVE_POLICY_EC2

Required: No

TargetId

The account ID of the policy target.

Type: String

Length Constraints: Maximum length of 100.

Pattern: ^(r-[0-9a-z]{4,32})|(\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: