public static final class CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder |
allAwsRegions(java.lang.Boolean allAwsRegions)
|
CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder |
allAwsRegions(IResolvable allAwsRegions)
|
CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder |
awsRegions(java.util.List<java.lang.String> awsRegions)
|
CfnConfigurationAggregator.OrganizationAggregationSourceProperty |
build()
Builds the configured instance.
|
CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder |
roleArn(java.lang.String roleArn)
|
public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder roleArn(java.lang.String roleArn)
roleArn
- ARN of the IAM role used to retrieve AWS Organizations details associated with the aggregator account. This parameter is required.this
public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder allAwsRegions(java.lang.Boolean allAwsRegions)
CfnConfigurationAggregator.OrganizationAggregationSourceProperty.getAllAwsRegions()
allAwsRegions
- If true, aggregate existing AWS Config regions and future regions.this
public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder allAwsRegions(IResolvable allAwsRegions)
CfnConfigurationAggregator.OrganizationAggregationSourceProperty.getAllAwsRegions()
allAwsRegions
- If true, aggregate existing AWS Config regions and future regions.this
public CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Builder awsRegions(java.util.List<java.lang.String> awsRegions)
awsRegions
- The source regions being aggregated.this
public CfnConfigurationAggregator.OrganizationAggregationSourceProperty build()
CfnConfigurationAggregator.OrganizationAggregationSourceProperty
java.lang.NullPointerException
- if any required attribute was not provided