Root
¶
Source code in docs_src/capo_organizations/types/root.py
arn
instance-attribute
¶
arn: NotRequired[RootArn]
The Amazon Resource Name (ARN) of the root.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
id
instance-attribute
¶
id: NotRequired[RootId]
The unique identifier (ID) for the root. The ID is unique to the organization only.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
name
instance-attribute
¶
name: NotRequired[RootName]
The friendly name of the root.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
policy_types
instance-attribute
¶
policy_types: NotRequired[PolicyTypes]
The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.
Even if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see the availability of the policy types in that organization.