MaintenanceWindowTask class
Information about a task defined for a maintenance window.
Constructors
-
MaintenanceWindowTask.new({String? description, LoggingInfo? loggingInfo, String? maxConcurrency, String? maxErrors, String? name, int? priority, String? serviceRoleArn, List<
Target> ? targets, String? taskArn, Map<String, MaintenanceWindowTaskParameterValueExpression> ? taskParameters, MaintenanceWindowTaskType? type, String? windowId, String? windowTaskId}) -
MaintenanceWindowTask.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description → String?
-
A description of the task.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loggingInfo → LoggingInfo?
-
Information about an S3 bucket to write task-level logs to.
final
- maxConcurrency → String?
-
The maximum number of targets this task can be run for, in parallel.
final
- maxErrors → String?
-
The maximum number of errors allowed before this task stops being scheduled.
final
- name → String?
-
The task name.
final
- priority → int?
-
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceRoleArn → String?
-
The ARN of the IAM service role to use to publish Amazon Simple Notification
Service (Amazon SNS) notifications for maintenance window Run Command tasks.
final
-
targets
→ List<
Target> ? -
The targets (either instances or tags). Instances are specified using
Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are
specified using Key=<tag name>,Values=<tag value>.
final
- taskArn → String?
-
The resource that the task uses during execution. For RUN_COMMAND and
AUTOMATION task types,
TaskArn
is the Systems Manager document name or ARN. For LAMBDA tasks, it's the function name or ARN. For STEP_FUNCTIONS tasks, it's the state machine ARN.final -
taskParameters
→ Map<
String, MaintenanceWindowTaskParameterValueExpression> ? -
The parameters that should be passed to the task when it is run.
final
- type → MaintenanceWindowTaskType?
-
The type of task. The type can be one of the following: RUN_COMMAND,
AUTOMATION, LAMBDA, or STEP_FUNCTIONS.
final
- windowId → String?
-
The ID of the maintenance window where the task is registered.
final
- windowTaskId → String?
-
The task ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited