Skip to main content

association_executions

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

Overview

Nameassociation_executions
TypeResource
Idaws.ssm.association_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
alarm_configurationobjectThe details for the CloudWatch alarm you want to apply to an automation or command.
association_idstringThe association ID. (pattern: <code>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}</code>)
association_versionstringThe association version. (pattern: <code>([$]LATEST)|([1-9][0-9]*)</code>)
created_timestring (date-time)The time the execution started.
detailed_statusstringDetailed status information about the execution.
execution_idstringThe execution ID for the association. (pattern: <code>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}</code>)
last_execution_datestring (date-time)The date of the last execution.
resource_count_by_statusstringAn aggregate status of the resources in the execution based on the status type.
statusstringThe status of the association execution.
triggered_alarmsarrayThe CloudWatch alarms that were invoked by the association.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_association_executionsselectregionViews all executions for a specific association ID.

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

Views all executions for a specific association ID.

SELECT
alarm_configuration,
association_id,
association_version,
created_time,
detailed_status,
execution_id,
last_execution_date,
resource_count_by_status,
status,
triggered_alarms
FROM aws.ssm.association_executions
WHERE region = '{{ region }}' -- required
;