TaskState constructor
- 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,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - 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.
Implementation
const TaskState({
this.arn,
this.cloudwatchLogGroupArn,
this.destinationLocationArn,
this.excludes,
this.includes,
this.name,
this.options,
this.region,
this.schedule,
this.sourceLocationArn,
this.tags,
this.tagsAll,
this.taskMode,
this.taskReportConfig,
});