Skip to main content

maintenance_window_execution_task_invocations

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

Overview

Namemaintenance_window_execution_task_invocations
TypeResource
Idaws.ssm.maintenance_window_execution_task_invocations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
end_timestring (date-time)The time that the task finished running on the target.
execution_idstringThe execution ID.
invocation_idstringThe invocation 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>)
owner_informationstringUser-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while running tasks for these targets in this maintenance window.
parametersstringThe parameters used at the time that the task ran.
start_timestring (date-time)The time that the task started running on the target.
statusstringThe task status for an invocation. (PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, CANCELLING, CANCELLED, SKIPPED_OVERLAPPING)
status_detailsstringThe details explaining the status. Details are only available for certain status values.
task_execution_idstringThe task execution 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>)
task_typestringRetrieves the task type for a maintenance window. (RUN_COMMAND, AUTOMATION, STEP_FUNCTIONS, LAMBDA)
window_execution_idstringThe maintenance window execution 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>)
window_target_idstringThe maintenance window target ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_maintenance_window_execution_task_invocationselectregionRetrieves information about a specific task running on a specific target.
describe_maintenance_window_execution_task_invocationsselectregionRetrieves the individual task executions (one per target) for a particular task run as part of 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

Retrieves information about a specific task running on a specific target.

SELECT
end_time,
execution_id,
invocation_id,
owner_information,
parameters,
start_time,
status,
status_details,
task_execution_id,
task_type,
window_execution_id,
window_target_id
FROM aws.ssm.maintenance_window_execution_task_invocations
WHERE region = '{{ region }}' -- required
;