Skip to main content

maintenance_windows_for_targets

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

Overview

Namemaintenance_windows_for_targets
TypeResource
Idaws.ssm.maintenance_windows_for_targets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the maintenance window. (pattern: <code>^[a-zA-Z0-9_-.]{3,128}$</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_windows_for_targetselectregionRetrieves information about the maintenance window targets or tasks that a managed node is associated with.

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 the maintenance window targets or tasks that a managed node is associated with.

SELECT
name,
window_id
FROM aws.ssm.maintenance_windows_for_targets
WHERE region = '{{ region }}' -- required
;