Class CfnOrganization.Builder
java.lang.Object
software.amazon.awscdk.services.organizations.CfnOrganization.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganization>
- Enclosing class:
CfnOrganization
@Stability(Stable)
public static final class CfnOrganization.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganization>
A fluent builder for
CfnOrganization.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnOrganization.BuilderfeatureSet(String featureSet) Specifies the feature set supported by the new organization.
-
Method Details
-
create
@Stability(Stable) public static CfnOrganization.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOrganization.Builder.
-
featureSet
Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.ALLIn addition to all the features supported by the consolidated billing feature set, the management account gains access to advanced features that give you more control over accounts in your organization. By default or if you set theFeatureSetproperty toALL, the new organization is created with all features enabled and service control policies automatically enabled in the root . For more information, see All features in the AWS Organizations User Guide .CONSOLIDATED_BILLINGAll member accounts have their bills consolidated to and paid by the management account. For more information, see Consolidated billing in the AWS Organizations User Guide .
The consolidated billing feature subset isn't available for organizations in the AWS GovCloud (US) Region.
Feature set
ALLprovides the following advanced features:- Apply any policy type to any member account in the organization.
- Apply service control policies (SCPs) to member accounts that restrict the services and actions that users (including the root user) and roles in an account can access. Using SCPs you can prevent member accounts from leaving the organization.
- Enable integration with supported AWS services to let those services provide functionality across all of the accounts in your organization.
If you don't specify this property, the default value is
ALL.Default: - "ALL"
- Parameters:
featureSet- Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganization>- Returns:
- a newly built instance of
CfnOrganization.
-