View a markdown version of this page

OrganizationTarget - AWS Compute Optimizer

OrganizationTarget

An account, organizational unit (OU), or organization root to which an organization enrollment configuration applies. The management account can't be specified as an account target.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

accountId

The ID of the member account to target. You can't specify the management account.

Type: String

Pattern: [0-9]{12}

Required: No

organizationalUnitId

The ID of the organizational unit (OU) or organization root to target.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 68.

Pattern: (r-[0-9a-z]{4,32}|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: