MaintenanceWindowTaskState constructor
- Input<
String?> ? arn, - Input<
String?> ? cutoffBehavior, - Input<
String?> ? description, - Input<
String?> ? maxConcurrency, - Input<
String?> ? maxErrors, - Input<
String?> ? name, - Input<
int?> ? priority, - Input<
String?> ? region, - Input<
String?> ? serviceRoleArn, - Input<
List< ? targets,MaintenanceWindowTaskTarget> ?> - Input<
String?> ? taskArn, - Input<
MaintenanceWindowTaskTaskInvocationParameters?> ? taskInvocationParameters, - Input<
String?> ? taskType, - Input<
String?> ? windowId, - Input<
String?> ? windowTaskId,
Creates a new MaintenanceWindowTaskState.
arn The ARN of the maintenance window task.
cutoffBehavior Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values are CONTINUE_TASK and CANCEL_TASK.
description The description of the maintenance window task.
maxConcurrency The maximum number of targets this task can be run for in parallel.
maxErrors The maximum number of errors allowed before this task stops being scheduled.
name The name of the maintenance window task.
priority The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
serviceRoleArn The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you.
targets The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
taskArn The ARN of the task to execute.
taskInvocationParameters Configuration block with parameters for task execution.
taskType The type of task being registered. Valid values: AUTOMATION, LAMBDA, RUN_COMMAND or STEP_FUNCTIONS.
windowId The Id of the maintenance window to register the task with.
windowTaskId The ID of the maintenance window task.
Implementation
const MaintenanceWindowTaskState({
this.arn,
this.cutoffBehavior,
this.description,
this.maxConcurrency,
this.maxErrors,
this.name,
this.priority,
this.region,
this.serviceRoleArn,
this.targets,
this.taskArn,
this.taskInvocationParameters,
this.taskType,
this.windowId,
this.windowTaskId,
});