Skip to main content

aggregate_compliance_by_conformance_packs

Creates, updates, deletes, gets or lists an aggregate_compliance_by_conformance_packs resource.

Overview

Nameaggregate_compliance_by_conformance_packs
TypeResource
Idaws.config.aggregate_compliance_by_conformance_packs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe 12-digit Amazon Web Services account ID of the source account. (pattern: <code>\d{12}</code>)
aws_regionstringThe source Amazon Web Services Region from where the data is aggregated.
complianceobjectThe compliance status of the conformance pack.
conformance_pack_namestringThe name of the conformance pack. (pattern: <code>[a-zA-Z][-a-zA-Z0-9]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_aggregate_compliance_by_conformance_packsselectregionReturns a list of the existing and deleted conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each conformance pack. Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of the existing and deleted conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each conformance pack. Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.

SELECT
account_id,
aws_region,
compliance,
conformance_pack_name
FROM aws.config.aggregate_compliance_by_conformance_packs
WHERE region = '{{ region }}' -- required
;