403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.216.170
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ssm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ssm/update-maintenance-window.rst
**Example 1: To update a maintenance window**

The following ``update-maintenance-window`` example updates the name of a maintenance window. ::

    aws ssm update-maintenance-window \
        --window-id "mw-1a2b3c4d5e6f7g8h9" \
        --name "My-Renamed-MW"

Output::

    {
        "Cutoff": 1,
        "Name": "My-Renamed-MW",
        "Schedule": "cron(0 16 ? * TUE *)",
        "Enabled": true,
        "AllowUnassociatedTargets": true,
        "WindowId": "mw-1a2b3c4d5e6f7g8h9",
        "Duration": 4
    }
  
**Example 2: To disable a maintenance window**
  
The following ``update-maintenance-window`` example disables a maintenance window. ::

    aws ssm update-maintenance-window \
        --window-id "mw-1a2b3c4d5e6f7g8h9" \
        --no-enabled
        
**Example 3: To enable a maintenance window**

The following ``update-maintenance-window`` example enables a maintenance window. ::

    aws ssm update-maintenance-window \
        --window-id "mw-1a2b3c4d5e6f7g8h9" \
        --enabled

For more information, see `Update a Maintenance Window (AWS CLI)  <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-cli-tutorials-update.html>`__ in the *AWS Systems Manager User Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit