aws ssm register-task-with-maintenance-window
Adds a new task to a maintenance window. AWS CLI reference
16 options Its page in the AWS CLI reference
Options
--alarm-configurationThe CloudWatch alarm you want to apply to your maintenance window task.--client-tokenUser-provided idempotency token.--cutoff-behaviorIndicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.--descriptionAn optional description for the task.--logging-infoA structure containing information about an Amazon Simple Storage Service (Amazon S3) bucket to write managed node-level logs to.--max-concurrencyThe maximum number of targets this task can be run for, in parallel.--max-errorsThe maximum number of errors allowed before this task stops being scheduled.--nameAn optional name for the task.--priorityThe priority of the task in the maintenance window, the lower the number the higher the priority.--service-role-arnThe Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task.--targetsThe targets (either managed nodes or maintenance window targets).--task-arnThe ARN of the task to run.--task-invocation-parametersThe parameters that the task should use during execution.--task-parametersThe parameters that should be passed to the task when it is run.--task-typeThe type of task being registered.--window-idThe ID of the maintenance window the task should be added to.