# CfnConfigurationAggregatorProps

Properties for defining a `CfnConfigurationAggregator`.

Used as props by: [CfnConfigurationAggregator](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnConfigurationAggregator.html)

- Source: Generated at build time

## Example

TypeScript:

```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 cfnConfigurationAggregatorProps: config.CfnConfigurationAggregatorProps = {
  accountAggregationSources: [{
    accountIds: ['accountIds'],

    // the properties below are optional
    allAwsRegions: false,
    awsRegions: ['awsRegions'],
  }],
  configurationAggregatorName: 'configurationAggregatorName',
  organizationAggregationSource: {
    roleArn: 'roleArn',

    // the properties below are optional
    allAwsRegions: false,
    awsRegions: ['awsRegions'],
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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"
    )]
)
```

Java:

```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.*;

CfnConfigurationAggregatorProps cfnConfigurationAggregatorProps = CfnConfigurationAggregatorProps.builder()
        .accountAggregationSources(List.of(AccountAggregationSourceProperty.builder()
                .accountIds(List.of("accountIds"))

                // the properties below are optional
                .allAwsRegions(false)
                .awsRegions(List.of("awsRegions"))
                .build()))
        .configurationAggregatorName("configurationAggregatorName")
        .organizationAggregationSource(OrganizationAggregationSourceProperty.builder()
                .roleArn("roleArn")

                // the properties below are optional
                .allAwsRegions(false)
                .awsRegions(List.of("awsRegions"))
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```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 cfnConfigurationAggregatorProps = new CfnConfigurationAggregatorProps {
    AccountAggregationSources = new [] { new AccountAggregationSourceProperty {
        AccountIds = new [] { "accountIds" },

        // the properties below are optional
        AllAwsRegions = false,
        AwsRegions = new [] { "awsRegions" }
    } },
    ConfigurationAggregatorName = "configurationAggregatorName",
    OrganizationAggregationSource = new OrganizationAggregationSourceProperty {
        RoleArn = "roleArn",

        // the properties below are optional
        AllAwsRegions = false,
        AwsRegions = new [] { "awsRegions" }
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```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"

cfnConfigurationAggregatorProps := &CfnConfigurationAggregatorProps{
	AccountAggregationSources: []interface{}{
		&AccountAggregationSourceProperty{
			AccountIds: []*string{
				jsii.String("accountIds"),
			},

			// the properties below are optional
			AllAwsRegions: jsii.Boolean(false),
			AwsRegions: []*string{
				jsii.String("awsRegions"),
			},
		},
	},
	ConfigurationAggregatorName: jsii.String("configurationAggregatorName"),
	OrganizationAggregationSource: &OrganizationAggregationSourceProperty{
		RoleArn: jsii.String("roleArn"),

		// the properties below are optional
		AllAwsRegions: jsii.Boolean(false),
		AwsRegions: []*string{
			jsii.String("awsRegions"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `accountAggregationSources`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfigurationAggregator.AccountAggregationSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnConfigurationAggregator.AccountAggregationSourceProperty.html)[] — Provides a list of source accounts and regions to be aggregated.

- `configurationAggregatorName`: string — The name of the aggregator.

- `organizationAggregationSource`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfigurationAggregator.OrganizationAggregationSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnConfigurationAggregator.OrganizationAggregationSourceProperty.html) — Provides an organization and list of regions to be aggregated.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of tag object.
