AWS SSM Maintenance window shortcuts
To list all enabled maintance windows
- aws ssm describe-maintenance-windows --filters "Key=Enabled,Values=true" --region <region name>
To disable a maintenance window
- aws ssm update-maintenance-window --window-id <"window-id"> --no-enabled --region <region name>
To enable a maintenance window
- aws ssm update-maintenance-window --window-id <"window-id"> --enabled --region <region name>
Comments
Post a Comment