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< ? targets, Input<MaintenanceWindowTaskTarget> ?>String?> ? taskArn, Input<MaintenanceWindowTaskTaskInvocationParameters?> ? taskInvocationParameters, Input<String?> ? taskType, Input<String?> ? windowId, Input<String?> ? windowTaskId}) -
Creates a new MaintenanceWindowTaskState.
arnThe ARN of the maintenance window task.cutoffBehaviorIndicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values areCONTINUE_TASKandCANCEL_TASK.descriptionThe description of the maintenance window task.maxConcurrencyThe maximum number of targets this task can be run for in parallel.maxErrorsThe maximum number of errors allowed before this task stops being scheduled.nameThe name of the maintenance window task.priorityThe 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.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.serviceRoleArnThe 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.targetsThe 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.taskArnThe ARN of the task to execute.taskInvocationParametersConfiguration block with parameters for task execution.taskTypeThe type of task being registered. Valid values:AUTOMATION,LAMBDA,RUN_COMMANDorSTEP_FUNCTIONS.windowIdThe Id of the maintenance window to register the task with.windowTaskIdThe 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_TASKandCANCEL_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_COMMANDorSTEP_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