Skip to main content

compliance_summary_by_resource_types

Creates, updates, deletes, gets or lists a compliance_summary_by_resource_types resource.

Overview

Namecompliance_summary_by_resource_types
TypeResource
Idaws.config.compliance_summary_by_resource_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
compliance_summaries_by_resource_typearrayThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_compliance_summary_by_resource_typeselectregionReturns 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.

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

SELECT examples

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
;