MaintenanceWindowTaskState class

Input properties used for looking up and filtering MaintenanceWindowTask resources.

Constructors

MaintenanceWindowTaskState({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<MaintenanceWindowTaskTarget>?>? targets, 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.
const
MaintenanceWindowTaskState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
The ARN of the maintenance window task.
final
cutoffBehavior → Input<String?>?
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.
final
description → Input<String?>?
The description of the maintenance window task.
final
hashCode → int
The hash code for this object.
no setterinherited
maxConcurrency → Input<String?>?
The maximum number of targets this task can be run for in parallel.
final
maxErrors → Input<String?>?
The maximum number of errors allowed before this task stops being scheduled.
final
name → Input<String?>?
The name of the maintenance window task.
final
priority → Input<int?>?
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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceRoleArn → Input<String?>?
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.
final
targets → Input<List<MaintenanceWindowTaskTarget>?>?
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.
final
taskArn → Input<String?>?
The ARN of the task to execute.
final
taskInvocationParameters → Input<MaintenanceWindowTaskTaskInvocationParameters?>?
Configuration block with parameters for task execution.
final
taskType → Input<String?>?
The type of task being registered. Valid values: AUTOMATION, LAMBDA, RUN_COMMAND or STEP_FUNCTIONS.
final
windowId → Input<String?>?
The Id of the maintenance window to register the task with.
final
windowTaskId → Input<String?>?
The ID of the maintenance window task.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited