Skip to main content

maintenance_window_executions

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

Overview

Namemaintenance_window_executions
TypeResource
Idaws.ssm.maintenance_window_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
end_timestring (date-time)The time the execution finished.
start_timestring (date-time)The time the execution started.
statusstringThe status of the execution. (PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, CANCELLING, CANCELLED, SKIPPED_OVERLAPPING)
status_detailsstringThe details explaining the status. Not available for all status values.
window_execution_idstringThe ID of the maintenance window execution. (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>)
window_idstringThe ID of the maintenance window. (pattern: <code>^mw-[0-9a-f]{17}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_maintenance_window_executionsselectregionLists the executions of a maintenance window. This includes information about when the maintenance window was scheduled to be active, and information about tasks registered and run with the maintenance window.
get_maintenance_window_executionselectregionRetrieves details about a specific a maintenance window execution.

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

Lists the executions of a maintenance window. This includes information about when the maintenance window was scheduled to be active, and information about tasks registered and run with the maintenance window.

SELECT
end_time,
start_time,
status,
status_details,
window_execution_id,
window_id
FROM aws.ssm.maintenance_window_executions
WHERE region = '{{ region }}' -- required
;