MaintenanceWindowTask

Information about a task defined for a maintenance window.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The details for the CloudWatch alarm applied to your maintenance window task.

Link copied to clipboard

The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.

Link copied to clipboard

A description of the task.

Link copied to clipboard

Information about an S3 bucket to write task-level logs to.

Link copied to clipboard

The maximum number of targets this task can be run for, in parallel.

Link copied to clipboard

The maximum number of errors allowed before this task stops being scheduled.

Link copied to clipboard
val name: String?

The task name.

Link copied to clipboard

The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.

Link copied to clipboard

The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow.

Link copied to clipboard

The targets (either managed nodes or tags). Managed nodes are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.

Link copied to clipboard

The resource that the task uses during execution. For RUN_COMMAND and AUTOMATION task types, TaskArn is the Amazon Web Services Systems Manager (SSM document) name or ARN. For LAMBDA tasks, it's the function name or ARN. For STEP_FUNCTIONS tasks, it's the state machine ARN.

Link copied to clipboard

The parameters that should be passed to the task when it is run.

Link copied to clipboard

The type of task.

Link copied to clipboard

The ID of the maintenance window where the task is registered.

Link copied to clipboard

The task ID.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String