TaskState class

Input properties used for looking up and filtering Task resources.

Constructors

TaskState({Input<String?>? arn, Input<String?>? cloudwatchLogGroupArn, Input<String?>? destinationLocationArn, Input<TaskExcludes?>? excludes, Input<TaskIncludes?>? includes, Input<String?>? name, Input<TaskOptions?>? options, Input<String?>? region, Input<TaskSchedule?>? schedule, Input<String?>? sourceLocationArn, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? taskMode, Input<TaskTaskReportConfig?>? taskReportConfig})
Creates a new TaskState. arn ARN of the DataSync Task. cloudwatchLogGroupArn ARN of the CloudWatch Log Group that is used to monitor and log events in the sync task. destinationLocationArn ARN of destination DataSync Location. excludes Filter rules that determines which files to exclude from a task. includes Filter rules that determines which files to include in a task. name Name of the DataSync Task. options Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. schedule Specifies a schedule used to periodically transfer files from a source to a destination location. sourceLocationArn ARN of source DataSync Location. tags Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. taskMode One of the following task modes for your data transfer: taskReportConfig Configuration block containing the configuration of a DataSync Task Report. See taskReportConfig below.
const
TaskState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the DataSync Task.
final
cloudwatchLogGroupArn → Input<String?>?
ARN of the CloudWatch Log Group that is used to monitor and log events in the sync task.
final
destinationLocationArn → Input<String?>?
ARN of destination DataSync Location.
final
excludes → Input<TaskExcludes?>?
Filter rules that determines which files to exclude from a task.
final
hashCode int
The hash code for this object.
no setterinherited
includes → Input<TaskIncludes?>?
Filter rules that determines which files to include in a task.
final
name → Input<String?>?
Name of the DataSync Task.
final
options → Input<TaskOptions?>?
Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.
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
schedule → Input<TaskSchedule?>?
Specifies a schedule used to periodically transfer files from a source to a destination location.
final
sourceLocationArn → Input<String?>?
ARN of source DataSync Location.
final
tags → Input<Map<String, String>?>?
Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
taskMode → Input<String?>?
One of the following task modes for your data transfer:
final
taskReportConfig → Input<TaskTaskReportConfig?>?
Configuration block containing the configuration of a DataSync Task Report. See taskReportConfig below.
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