Resource
aws.organizations.Organization
Contains details about an organization. An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies .
Example
aws.organizations.Organization {
# Run this resource from a standalone AWS account that is not already in an
# organization. Enabling all features cannot be reverted to consolidated
# billing features.
feature_set = aws.organizations.Organization.FeatureSet.all
}
Argument Reference
feature_set
- Type: FeatureSet
- Required: No
Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality. CONSOLIDATED_BILLING: All member accounts have their bills consolidated to and paid by the management account. For more information, see Consolidated billing in the Organizations User Guide. The consolidated billing feature subset isn't available for organizations in the Amazon Web Services GovCloud (US) Region. ALL: In addition to all the features supported by the consolidated billing feature set, the management account can also apply any policy type to any member account in the organization. For more information, see All features in the Organizations User Guide.
Enum Values
feature_set (FeatureSet)
| Value | DSL Identifier |
|---|---|
ALL |
aws.organizations.Organization.FeatureSet.all |
CONSOLIDATED_BILLING |
aws.organizations.Organization.FeatureSet.consolidated_billing |
Shorthand formats: all or FeatureSet.all
Attribute Reference
arn
- Type:
OrganizationsOrganizationArn (identity constraints: pattern: /^arn:(?:aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):organizations::[0-9]{12}:organization/o-[a-z0-9]{10,32}\z/ (Full), member constraints: pattern: /^arn:(?:aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):organizations::[0-9]{12}:organization\/o-[a-z0-9]{10,32}$/ (Full)); Partition widened from the Smithy model to all partitions supported by this provider. - Read-only
The Amazon Resource Name (ARN) of an organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
id
- Type:
String (pattern: /^o-[a-z0-9]{10,32}$/ (Full)) - Read-only
The unique identifier (ID) of an organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.
master_account_arn
- Type:
OrganizationsAccountArn (identity constraints: pattern: /^arn:(?:aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):organizations::[0-9]{12}:account/o-[a-z0-9]{10,32}/[0-9]{12}\z/ (Full), member constraints: pattern: /^arn:(?:aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):organizations::[0-9]{12}:account\/o-[a-z0-9]{10,32}\/[0-9]{12}$/ (Full)); Partition widened from the Smithy model to all partitions supported by this provider. - Read-only
The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
master_account_email
- Type:
OrganizationsAccountEmail (identity constraints: len: 6..=64, member constraints: pattern: /^[^\x09-\x0D \u{00A0}\u{1680}\u{2000}-\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{FEFF}@]+@[^\x09-\x0D \u{00A0}\u{1680}\u{2000}-\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{FEFF}@]+\.[^\x09-\x0D \u{00A0}\u{1680}\u{2000}-\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{FEFF}@]+$/ (Full), len: 6..=64, custom validator) - Read-only
The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.
master_account_id
- Type:
AwsAccountId (identity constraints: pattern: /^[0-9]{12}$/ (Full), len: 12..=12, member constraints: pattern: /^[0-9]{12}$/ (Full), len: 0..=12) - Read-only
The unique identifier (ID) of the management account of an organization. The regex pattern for an account ID string requires exactly 12 digits.