TaskArgs class
The set of arguments for Task. The set of arguments for Task.
Constructors
-
TaskArgs({Input<
String?> ? cloudwatchLogGroupArn, required Input<String> destinationLocationArn, Input<TaskExcludes?> ? excludes, Input<TaskIncludes?> ? includes, Input<String?> ? name, Input<TaskOptions?> ? options, Input<String?> ? region, Input<TaskSchedule?> ? schedule, required Input<String> sourceLocationArn, Input<Map< ? tags, Input<String, String> ?>String?> ? taskMode, Input<TaskTaskReportConfig?> ? taskReportConfig}) -
Creates a new TaskArgs.
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.taskModeOne of the following task modes for your data transfer:taskReportConfigConfiguration block containing the configuration of a DataSync Task Report. SeetaskReportConfigbelow.const -
TaskArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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 -
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