GetMaintenanceWindowTaskResult
import type { GetMaintenanceWindowTaskResult } from "https://aws-api.deno.dev/v0.3/services/ssm.ts?docs=full";
§Properties
The action to take on tasks when the maintenance window cutoff time is reached.
CONTINUE_TASK
means that tasks continue to run.
For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that currently running task invocations continue, but no new task invocations are started.
For Run Command tasks, CANCEL_TASK
means the system attempts to stop the task by sending a CancelCommand
operation.
The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
Note:
LoggingInfo
has been deprecated.
To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure.
For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types,
see "MaintenanceWindowTaskInvocationParameters".
The maximum number of targets allowed to run this task in parallel.
Note:
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response to this command.
This value doesn't affect the running of your task and can be ignored.
The maximum number of errors allowed before the task stops being scheduled.
Note:
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response to this command.
This value doesn't affect the running of your task and can be ignored.
The priority of the task when it runs. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
The resource that the task used during execution.
For RUN_COMMAND
and AUTOMATION
task types, the value of TaskArn
is the SSM document name/ARN.
For LAMBDA
tasks, the value is the function name/ARN.
For STEP_FUNCTIONS
tasks, the value is the state machine ARN.
The parameters to pass to the task when it runs.
The parameters to pass to the task when it runs.
Note:
TaskParameters
has been deprecated.
To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure.
For information about how Systems Manager handles these options for the supported maintenance window task types,
see "MaintenanceWindowTaskInvocationParameters".
The type of task to run.