compliance_summary_by_resource_types
Creates, updates, deletes, gets or lists a compliance_summary_by_resource_types resource.
Overview
| Name | compliance_summary_by_resource_types |
| Type | Resource |
| Id | aws.config.compliance_summary_by_resource_types |
Fields
The following fields are returned by SELECT queries:
- get_compliance_summary_by_resource_type
| Name | Datatype | Description |
|---|---|---|
compliance_summaries_by_resource_type | array | The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_compliance_summary_by_resource_type | select | region | Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100. |
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_compliance_summary_by_resource_type
Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
SELECT
compliance_summaries_by_resource_type
FROM aws.config.compliance_summary_by_resource_types
WHERE region = '{{ region }}' -- required
;