Class CfnOrganizationProps.Builder
java.lang.Object
software.amazon.awscdk.services.organizations.CfnOrganizationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationProps>
- Enclosing interface:
CfnOrganizationProps
@Stability(Stable)
public static final class CfnOrganizationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationProps>
A builder for
CfnOrganizationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.featureSet
(String featureSet) Sets the value ofCfnOrganizationProps.getFeatureSet()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
featureSet
Sets the value ofCfnOrganizationProps.getFeatureSet()
- Parameters:
featureSet
- Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.ALL
In 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 theFeatureSet
property 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_BILLING
All 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
ALL
provides 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
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationProps>
- Returns:
- a new instance of
CfnOrganizationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-