aggregate_config_rule_compliance_summaries
Creates, updates, deletes, gets or lists an aggregate_config_rule_compliance_summaries resource.
Overview
| Name | aggregate_config_rule_compliance_summaries |
| Type | Resource |
| Id | aws.config.aggregate_config_rule_compliance_summaries |
Fields
The following fields are returned by SELECT queries:
- get_aggregate_config_rule_compliance_summary
| Name | Datatype | Description |
|---|---|---|
aggregate_compliance_counts | array | Returns a list of AggregateComplianceCounts object. |
group_by_key | string | Groups the result based on ACCOUNT_ID or AWS_REGION. |
next_token | string | The nextToken string returned on a previous page that you use to get the next page of results in a paginated response. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_aggregate_config_rule_compliance_summary | select | region | Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_aggregate_config_rule_compliance_summary
Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
SELECT
aggregate_compliance_counts,
group_by_key,
next_token
FROM aws.config.aggregate_config_rule_compliance_summaries
WHERE region = '{{ region }}' -- required
;