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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? taskMode, Input<TaskTaskReportConfig?> ? taskReportConfig}) -
Creates a new TaskState.
arnARN of the DataSync Task.cloudwatchLogGroupArnARN of the CloudWatch Log Group that is used to monitor and log events in the sync task.destinationLocationArnARN of destination DataSync Location.excludesFilter rules that determines which files to exclude from a task.includesFilter rules that determines which files to include in a task.nameName of the DataSync Task.optionsConfiguration 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.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.scheduleSpecifies a schedule used to periodically transfer files from a source to a destination location.sourceLocationArnARN of source DataSync Location.tagsKey-value pairs of resource tags to assign to the DataSync Task. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.taskModeOne of the following task modes for your data transfer:taskReportConfigConfiguration block containing the configuration of a DataSync Task Report. SeetaskReportConfigbelow.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
-
Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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
taskReportConfigbelow.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