CmdID

CmdID / aws / aws ssm

aws ssm cancel-maintenance-window-execution

Stops a maintenance window execution that is already in progress and cancels any tasks in the window that haven't already starting running. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To cancel a maintenance window execution

The following cancel-maintenance-window-execution example stops the specified maintenance window execution that is already in progress.

aws ssm cancel-maintenance-window-execution --window-execution-id j2l8d5b5c-mw66-tk4d-r3g9-1d4d1EXAMPLEIdentify
--window-execution-idThe ID of the maintenance window execution to stop.
Its output
{
    "WindowExecutionId": "j2l8d5b5c-mw66-tk4d-r3g9-1d4d1EXAMPLE"
}

For more information, see Systems Manager Maintenance Windows Tutorials (AWS CLI) in the AWS Systems Manager User Guide.

Options

1 in the AWS CLI reference
--window-execution-idThe ID of the maintenance window execution to stop.