Skip to main content

configuration_aggregators

Creates, updates, deletes or gets a configuration_aggregator resource or lists configuration_aggregators in a region

Overview

Nameconfiguration_aggregators
TypeResource
DescriptionResource Type definition for AWS::Config::ConfigurationAggregator
Idaws.config.configuration_aggregators

Fields

NameDatatypeDescription
account_aggregation_sourcesarray
configuration_aggregator_namestringThe name of the aggregator.
configuration_aggregator_arnstringThe Amazon Resource Name (ARN) of the aggregator.
organization_aggregation_sourceobject
tagsarrayThe tags for the configuration aggregator.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all configuration_aggregators in a region.

SELECT
region,
account_aggregation_sources,
configuration_aggregator_name,
configuration_aggregator_arn,
organization_aggregation_source,
tags
FROM aws.config.configuration_aggregators
WHERE region = 'us-east-1';

Gets all properties from an individual configuration_aggregator.

SELECT
region,
account_aggregation_sources,
configuration_aggregator_name,
configuration_aggregator_arn,
organization_aggregation_source,
tags
FROM aws.config.configuration_aggregators
WHERE region = 'us-east-1' AND data__Identifier = '<ConfigurationAggregatorName>';

INSERT example

Use the following StackQL query and manifest file to create a new configuration_aggregator resource, using stack-deploy.

/*+ create */
INSERT INTO aws.config.configuration_aggregators (
AccountAggregationSources,
ConfigurationAggregatorName,
OrganizationAggregationSource,
Tags,
region
)
SELECT
'{{ AccountAggregationSources }}',
'{{ ConfigurationAggregatorName }}',
'{{ OrganizationAggregationSource }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.config.configuration_aggregators
WHERE data__Identifier = '<ConfigurationAggregatorName>'
AND region = 'us-east-1';

Permissions

To operate on the configuration_aggregators resource, the following permissions are required:

Create

config:PutConfigurationAggregator,
config:DescribeConfigurationAggregators,
config:TagResource,
iam:PassRole,
organizations:EnableAWSServiceAccess,
organizations:ListDelegatedAdministrators

Read

config:DescribeConfigurationAggregators,
config:ListTagsForResource

Update

config:PutConfigurationAggregator,
config:DescribeConfigurationAggregators,
config:TagResource,
config:UntagResource,
config:ListTagsForResource,
iam:PassRole,
organizations:EnableAWSServiceAccess,
organizations:ListDelegatedAdministrators

Delete

config:DeleteConfigurationAggregator,
config:UntagResource

List

config:DescribeConfigurationAggregators