Class CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationAggregator.OrganizationAggregationSourceProperty>
- Enclosing interface:
CfnConfigurationAggregator.OrganizationAggregationSourceProperty
@Stability(Stable)
public static final class CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationAggregator.OrganizationAggregationSourceProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallAwsRegions(Boolean allAwsRegions) allAwsRegions(IResolvable allAwsRegions) awsRegions(List<String> awsRegions) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
@Stability(Stable) public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- ARN of the IAM role used to retrieve AWS Organizations details associated with the aggregator account. This parameter is required.- Returns:
this
-
allAwsRegions
@Stability(Stable) public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder allAwsRegions(Boolean allAwsRegions) Sets the value ofCfnConfigurationAggregator.OrganizationAggregationSourceProperty.getAllAwsRegions()- Parameters:
allAwsRegions- If true, aggregate existing AWS Config regions and future regions.- Returns:
this
-
allAwsRegions
@Stability(Stable) public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder allAwsRegions(IResolvable allAwsRegions) Sets the value ofCfnConfigurationAggregator.OrganizationAggregationSourceProperty.getAllAwsRegions()- Parameters:
allAwsRegions- If true, aggregate existing AWS Config regions and future regions.- Returns:
this
-
awsRegions
@Stability(Stable) public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder awsRegions(List<String> awsRegions) - Parameters:
awsRegions- The source regions being aggregated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationAggregator.OrganizationAggregationSourceProperty>- Returns:
- a new instance of
CfnConfigurationAggregator.OrganizationAggregationSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-