Skip to main content

compliance_summaries

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

Overview

Namecompliance_summaries
TypeResource
Idaws.ssm.compliance_summaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
compliance_typestringThe type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string. (pattern: <code>[A-Za-z0-9_-]\w+|Custom:[a-zA-Z0-9_-]\w+</code>)
compliant_summaryobjectA list of COMPLIANT items for the specified compliance type.
non_compliant_summaryobjectA list of NON_COMPLIANT items for the specified compliance type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_compliance_summariesselectregionReturns a summary count of compliant and non-compliant resources for a compliance type. For example, this call can return State Manager associations, patches, or custom compliance types according to the filter criteria that you specify.

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 summary count of compliant and non-compliant resources for a compliance type. For example, this call can return State Manager associations, patches, or custom compliance types according to the filter criteria that you specify.

SELECT
compliance_type,
compliant_summary,
non_compliant_summary
FROM aws.ssm.compliance_summaries
WHERE region = '{{ region }}' -- required
;