Carina

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

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

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

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

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

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

The unique identifier (ID) of the management account of an organization. The regex pattern for an account ID string requires exactly 12 digits.