Updates an existing maintenance window. Only specified parameters are modified.
ssm_update_maintenance_window(WindowId, Name, Description, StartDate,
EndDate, Schedule, ScheduleTimezone, Duration, Cutoff,
AllowUnassociatedTargets, Enabled, Replace)
[required] The ID of the maintenance window to update.
The name of the maintenance window.
An optional description for the update request.
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: \"America/Los\_Angeles\", \"etc/UTC\", or \"Asia/Seoul\". For more information, see the Time Zone Database on the IANA website.
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive. EndDate allows you to set a date and time in the future when the maintenance window will no longer run.
The schedule of the maintenance window in the form of a cron or rate expression.
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: \"America/Los\_Angeles\", \"etc/UTC\", or \"Asia/Seoul\". For more information, see the Time Zone Database on the IANA website.
The duration of the maintenance window in hours.
The number of hours before the end of the maintenance window that Systems Manager stops scheduling new tasks for execution.
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
Whether the maintenance window is enabled.
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
svc$update_maintenance_window( WindowId = "string", Name = "string", Description = "string", StartDate = "string", EndDate = "string", Schedule = "string", ScheduleTimezone = "string", Duration = 123, Cutoff = 123, AllowUnassociatedTargets = TRUE|FALSE, Enabled = TRUE|FALSE, Replace = TRUE|FALSE )
The value you specify for Duration
determines the specific end time
for the maintenance window based on the time it begins. No maintenance
window tasks are permitted to start after the resulting endtime minus
the number of hours you specify for Cutoff
. For example, if the
maintenance window starts at 3 PM, the duration is three hours, and the
value you specify for Cutoff
is one hour, no maintenance window tasks
can start after 5 PM.