OrganizationAggregationSourceProperty Struct
This object contains regions to set up the aggregator and an IAM role to retrieve organization details.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const organizationAggregationSourceProperty: config.CfnConfigurationAggregator.OrganizationAggregationSourceProperty = {
roleArn: 'roleArn',
// the properties below are optional
allAwsRegions: false,
awsRegions: ['awsRegions'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config
organization_aggregation_source_property = config.CfnConfigurationAggregator.OrganizationAggregationSourceProperty(
role_arn="roleArn",
# the properties below are optional
all_aws_regions=False,
aws_regions=["awsRegions"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
OrganizationAggregationSourceProperty organizationAggregationSourceProperty = OrganizationAggregationSourceProperty.builder()
.roleArn("roleArn")
// the properties below are optional
.allAwsRegions(false)
.awsRegions(List.of("awsRegions"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;
var organizationAggregationSourceProperty = new OrganizationAggregationSourceProperty {
RoleArn = "roleArn",
// the properties below are optional
AllAwsRegions = false,
AwsRegions = new [] { "awsRegions" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
organizationAggregationSourceProperty := &OrganizationAggregationSourceProperty{
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AllAwsRegions: jsii.Boolean(false),
AwsRegions: []*string{
jsii.String("awsRegions"),
},
}
Properties
allAwsRegionsoptionalboolean | IResolvableall_aws_regionsoptionaltyping.Union[bool, IResolvable]allAwsRegionsoptionalBooleanAllAwsRegionsoptionalboolAllAwsRegionsoptionalinterface{} #If true, aggregate existing AWS Config regions and future regions.
awsRegionsoptionalstring[]aws_regionsoptionaltyping.List[str]awsRegionsoptionalList<String>AwsRegionsoptionalstring[]AwsRegionsoptional*[]*string #The source regions being aggregated.
ARN of the IAM role used to retrieve AWS Organizations details associated with the aggregator account.