CfnConfigurationAggregatorProps

class aws_cdk.aws_config.CfnConfigurationAggregatorProps(*, account_aggregation_sources=None, configuration_aggregator_name=None, organization_aggregation_source=None, tags=None)

Bases: object

Properties for defining a CfnConfigurationAggregator.

Parameters:
  • account_aggregation_sources (Union[IResolvable, Sequence[Union[IResolvable, AccountAggregationSourceProperty, Dict[str, Any]]], None]) – Provides a list of source accounts and regions to be aggregated.

  • configuration_aggregator_name (Optional[str]) – The name of the aggregator.

  • organization_aggregation_source (Union[IResolvable, OrganizationAggregationSourceProperty, Dict[str, Any], None]) – Provides an organization and list of regions to be aggregated.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of tag object.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html

ExampleMetadata:

fixture=_generated

Example:

# 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

cfn_configuration_aggregator_props = config.CfnConfigurationAggregatorProps(
    account_aggregation_sources=[config.CfnConfigurationAggregator.AccountAggregationSourceProperty(
        account_ids=["accountIds"],

        # the properties below are optional
        all_aws_regions=False,
        aws_regions=["awsRegions"]
    )],
    configuration_aggregator_name="configurationAggregatorName",
    organization_aggregation_source=config.CfnConfigurationAggregator.OrganizationAggregationSourceProperty(
        role_arn="roleArn",

        # the properties below are optional
        all_aws_regions=False,
        aws_regions=["awsRegions"]
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

account_aggregation_sources

Provides a list of source accounts and regions to be aggregated.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-accountaggregationsources

configuration_aggregator_name

The name of the aggregator.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-configurationaggregatorname

organization_aggregation_source

Provides an organization and list of regions to be aggregated.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-organizationaggregationsource

tags

An array of tag object.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-tags