Skip to main content

execution_previews

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

Overview

Nameexecution_previews
TypeResource
Idaws.ssm.execution_previews

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ended_atstring (date-time)A UTC timestamp indicating when the execution preview operation ended.
execution_previewobjectInformation about the changes that would be made if an execution were run.
execution_preview_idstringThe generated ID for the existing execution preview. (pattern: <code>[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}</code>)
statusstringThe current status of the execution preview operation. (Pending, InProgress, Success, Failed)
status_messagestringSupplemental information about the current status of the execution preview.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_execution_previewselectregionInitiates the process of retrieving an existing preview that shows the effects that running a specified Automation runbook would have on the targeted resources.

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

Initiates the process of retrieving an existing preview that shows the effects that running a specified Automation runbook would have on the targeted resources.

SELECT
ended_at,
execution_preview,
execution_preview_id,
status,
status_message
FROM aws.ssm.execution_previews
WHERE region = '{{ region }}' -- required
;