published on Tuesday, Mar 10, 2026 by Pulumi
published on Tuesday, Mar 10, 2026 by Pulumi
Manages an AWS DataSync Task, which represents a configuration for synchronization. Starting an execution of these DataSync Tasks (actually synchronizing files) is performed outside of this resource.
Example Usage
With Scheduling
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataSync.Task("example", new()
{
DestinationLocationArn = aws_datasync_location_s3.Destination.Arn,
SourceLocationArn = aws_datasync_location_nfs.Source.Arn,
Schedule = new Aws.DataSync.Inputs.TaskScheduleArgs
{
ScheduleExpression = "cron(0 12 ? * SUN,WED *)",
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/datasync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasync.NewTask(ctx, "example", &datasync.TaskArgs{
DestinationLocationArn: pulumi.Any(aws_datasync_location_s3.Destination.Arn),
SourceLocationArn: pulumi.Any(aws_datasync_location_nfs.Source.Arn),
Schedule: &datasync.TaskScheduleArgs{
ScheduleExpression: pulumi.String("cron(0 12 ? * SUN,WED *)"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datasync.Task;
import com.pulumi.aws.datasync.TaskArgs;
import com.pulumi.aws.datasync.inputs.TaskScheduleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Task("example", TaskArgs.builder()
.destinationLocationArn(aws_datasync_location_s3.destination().arn())
.sourceLocationArn(aws_datasync_location_nfs.source().arn())
.schedule(TaskScheduleArgs.builder()
.scheduleExpression("cron(0 12 ? * SUN,WED *)")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datasync.Task("example", {
destinationLocationArn: aws_datasync_location_s3.destination.arn,
sourceLocationArn: aws_datasync_location_nfs.source.arn,
schedule: {
scheduleExpression: "cron(0 12 ? * SUN,WED *)",
},
});
import pulumi
import pulumi_aws as aws
example = aws.datasync.Task("example",
destination_location_arn=aws_datasync_location_s3["destination"]["arn"],
source_location_arn=aws_datasync_location_nfs["source"]["arn"],
schedule=aws.datasync.TaskScheduleArgs(
schedule_expression="cron(0 12 ? * SUN,WED *)",
))
resources:
example:
type: aws:datasync:Task
properties:
destinationLocationArn: ${aws_datasync_location_s3.destination.arn}
sourceLocationArn: ${aws_datasync_location_nfs.source.arn}
schedule:
scheduleExpression: cron(0 12 ? * SUN,WED *)
With Filtering
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataSync.Task("example", new()
{
DestinationLocationArn = aws_datasync_location_s3.Destination.Arn,
SourceLocationArn = aws_datasync_location_nfs.Source.Arn,
Excludes = new Aws.DataSync.Inputs.TaskExcludesArgs
{
FilterType = "SIMPLE_PATTERN",
Value = "/folder1|/folder2",
},
Includes = new Aws.DataSync.Inputs.TaskIncludesArgs
{
FilterType = "SIMPLE_PATTERN",
Value = "/folder1|/folder2",
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/datasync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasync.NewTask(ctx, "example", &datasync.TaskArgs{
DestinationLocationArn: pulumi.Any(aws_datasync_location_s3.Destination.Arn),
SourceLocationArn: pulumi.Any(aws_datasync_location_nfs.Source.Arn),
Excludes: &datasync.TaskExcludesArgs{
FilterType: pulumi.String("SIMPLE_PATTERN"),
Value: pulumi.String("/folder1|/folder2"),
},
Includes: &datasync.TaskIncludesArgs{
FilterType: pulumi.String("SIMPLE_PATTERN"),
Value: pulumi.String("/folder1|/folder2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datasync.Task;
import com.pulumi.aws.datasync.TaskArgs;
import com.pulumi.aws.datasync.inputs.TaskExcludesArgs;
import com.pulumi.aws.datasync.inputs.TaskIncludesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Task("example", TaskArgs.builder()
.destinationLocationArn(aws_datasync_location_s3.destination().arn())
.sourceLocationArn(aws_datasync_location_nfs.source().arn())
.excludes(TaskExcludesArgs.builder()
.filterType("SIMPLE_PATTERN")
.value("/folder1|/folder2")
.build())
.includes(TaskIncludesArgs.builder()
.filterType("SIMPLE_PATTERN")
.value("/folder1|/folder2")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datasync.Task("example", {
destinationLocationArn: aws_datasync_location_s3.destination.arn,
sourceLocationArn: aws_datasync_location_nfs.source.arn,
excludes: {
filterType: "SIMPLE_PATTERN",
value: "/folder1|/folder2",
},
includes: {
filterType: "SIMPLE_PATTERN",
value: "/folder1|/folder2",
},
});
import pulumi
import pulumi_aws as aws
example = aws.datasync.Task("example",
destination_location_arn=aws_datasync_location_s3["destination"]["arn"],
source_location_arn=aws_datasync_location_nfs["source"]["arn"],
excludes=aws.datasync.TaskExcludesArgs(
filter_type="SIMPLE_PATTERN",
value="/folder1|/folder2",
),
includes=aws.datasync.TaskIncludesArgs(
filter_type="SIMPLE_PATTERN",
value="/folder1|/folder2",
))
resources:
example:
type: aws:datasync:Task
properties:
destinationLocationArn: ${aws_datasync_location_s3.destination.arn}
sourceLocationArn: ${aws_datasync_location_nfs.source.arn}
excludes:
filterType: SIMPLE_PATTERN
value: /folder1|/folder2
includes:
filterType: SIMPLE_PATTERN
value: /folder1|/folder2
Create Task Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Task(name: string, args: TaskArgs, opts?: CustomResourceOptions);@overload
def Task(resource_name: str,
args: TaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Task(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_location_arn: Optional[str] = None,
source_location_arn: Optional[str] = None,
cloudwatch_log_group_arn: Optional[str] = None,
excludes: Optional[TaskExcludesArgs] = None,
includes: Optional[TaskIncludesArgs] = None,
name: Optional[str] = None,
options: Optional[TaskOptionsArgs] = None,
schedule: Optional[TaskScheduleArgs] = None,
tags: Optional[Mapping[str, str]] = None)func NewTask(ctx *Context, name string, args TaskArgs, opts ...ResourceOption) (*Task, error)public Task(string name, TaskArgs args, CustomResourceOptions? opts = null)type: aws:datasync:Task
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var taskResource = new Aws.DataSync.Task("taskResource", new()
{
DestinationLocationArn = "string",
SourceLocationArn = "string",
CloudwatchLogGroupArn = "string",
Excludes = new Aws.DataSync.Inputs.TaskExcludesArgs
{
FilterType = "string",
Value = "string",
},
Includes = new Aws.DataSync.Inputs.TaskIncludesArgs
{
FilterType = "string",
Value = "string",
},
Name = "string",
Options = new Aws.DataSync.Inputs.TaskOptionsArgs
{
Atime = "string",
BytesPerSecond = 0,
Gid = "string",
LogLevel = "string",
Mtime = "string",
OverwriteMode = "string",
PosixPermissions = "string",
PreserveDeletedFiles = "string",
PreserveDevices = "string",
SecurityDescriptorCopyFlags = "string",
TaskQueueing = "string",
TransferMode = "string",
Uid = "string",
VerifyMode = "string",
},
Schedule = new Aws.DataSync.Inputs.TaskScheduleArgs
{
ScheduleExpression = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := datasync.NewTask(ctx, "taskResource", &datasync.TaskArgs{
DestinationLocationArn: pulumi.String("string"),
SourceLocationArn: pulumi.String("string"),
CloudwatchLogGroupArn: pulumi.String("string"),
Excludes: &datasync.TaskExcludesArgs{
FilterType: pulumi.String("string"),
Value: pulumi.String("string"),
},
Includes: &datasync.TaskIncludesArgs{
FilterType: pulumi.String("string"),
Value: pulumi.String("string"),
},
Name: pulumi.String("string"),
Options: &datasync.TaskOptionsArgs{
Atime: pulumi.String("string"),
BytesPerSecond: pulumi.Int(0),
Gid: pulumi.String("string"),
LogLevel: pulumi.String("string"),
Mtime: pulumi.String("string"),
OverwriteMode: pulumi.String("string"),
PosixPermissions: pulumi.String("string"),
PreserveDeletedFiles: pulumi.String("string"),
PreserveDevices: pulumi.String("string"),
SecurityDescriptorCopyFlags: pulumi.String("string"),
TaskQueueing: pulumi.String("string"),
TransferMode: pulumi.String("string"),
Uid: pulumi.String("string"),
VerifyMode: pulumi.String("string"),
},
Schedule: &datasync.TaskScheduleArgs{
ScheduleExpression: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var taskResource = new Task("taskResource", TaskArgs.builder()
.destinationLocationArn("string")
.sourceLocationArn("string")
.cloudwatchLogGroupArn("string")
.excludes(TaskExcludesArgs.builder()
.filterType("string")
.value("string")
.build())
.includes(TaskIncludesArgs.builder()
.filterType("string")
.value("string")
.build())
.name("string")
.options(TaskOptionsArgs.builder()
.atime("string")
.bytesPerSecond(0)
.gid("string")
.logLevel("string")
.mtime("string")
.overwriteMode("string")
.posixPermissions("string")
.preserveDeletedFiles("string")
.preserveDevices("string")
.securityDescriptorCopyFlags("string")
.taskQueueing("string")
.transferMode("string")
.uid("string")
.verifyMode("string")
.build())
.schedule(TaskScheduleArgs.builder()
.scheduleExpression("string")
.build())
.tags(Map.of("string", "string"))
.build());
task_resource = aws.datasync.Task("taskResource",
destination_location_arn="string",
source_location_arn="string",
cloudwatch_log_group_arn="string",
excludes={
"filter_type": "string",
"value": "string",
},
includes={
"filter_type": "string",
"value": "string",
},
name="string",
options={
"atime": "string",
"bytes_per_second": 0,
"gid": "string",
"log_level": "string",
"mtime": "string",
"overwrite_mode": "string",
"posix_permissions": "string",
"preserve_deleted_files": "string",
"preserve_devices": "string",
"security_descriptor_copy_flags": "string",
"task_queueing": "string",
"transfer_mode": "string",
"uid": "string",
"verify_mode": "string",
},
schedule={
"schedule_expression": "string",
},
tags={
"string": "string",
})
const taskResource = new aws.datasync.Task("taskResource", {
destinationLocationArn: "string",
sourceLocationArn: "string",
cloudwatchLogGroupArn: "string",
excludes: {
filterType: "string",
value: "string",
},
includes: {
filterType: "string",
value: "string",
},
name: "string",
options: {
atime: "string",
bytesPerSecond: 0,
gid: "string",
logLevel: "string",
mtime: "string",
overwriteMode: "string",
posixPermissions: "string",
preserveDeletedFiles: "string",
preserveDevices: "string",
securityDescriptorCopyFlags: "string",
taskQueueing: "string",
transferMode: "string",
uid: "string",
verifyMode: "string",
},
schedule: {
scheduleExpression: "string",
},
tags: {
string: "string",
},
});
type: aws:datasync:Task
properties:
cloudwatchLogGroupArn: string
destinationLocationArn: string
excludes:
filterType: string
value: string
includes:
filterType: string
value: string
name: string
options:
atime: string
bytesPerSecond: 0
gid: string
logLevel: string
mtime: string
overwriteMode: string
posixPermissions: string
preserveDeletedFiles: string
preserveDevices: string
securityDescriptorCopyFlags: string
taskQueueing: string
transferMode: string
uid: string
verifyMode: string
schedule:
scheduleExpression: string
sourceLocationArn: string
tags:
string: string
Task Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Task resource accepts the following input properties:
- Destination
Location stringArn - Amazon Resource Name (ARN) of destination DataSync Location.
- Source
Location stringArn - Amazon Resource Name (ARN) of source DataSync Location.
- Cloudwatch
Log stringGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- Excludes
Task
Excludes - Filter rules that determines which files to exclude from a task.
- Includes
Task
Includes - Filter rules that determines which files to include in a task.
- Name string
- Name of the DataSync Task.
- Options
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.
- Schedule
Task
Schedule - Specifies a schedule used to periodically transfer files from a source to a destination location.
- Dictionary<string, string>
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Destination
Location stringArn - Amazon Resource Name (ARN) of destination DataSync Location.
- Source
Location stringArn - Amazon Resource Name (ARN) of source DataSync Location.
- Cloudwatch
Log stringGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- Excludes
Task
Excludes Args - Filter rules that determines which files to exclude from a task.
- Includes
Task
Includes Args - Filter rules that determines which files to include in a task.
- Name string
- Name of the DataSync Task.
- Options
Task
Options Args - 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.
- Schedule
Task
Schedule Args - Specifies a schedule used to periodically transfer files from a source to a destination location.
- map[string]string
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- destination
Location StringArn - Amazon Resource Name (ARN) of destination DataSync Location.
- source
Location StringArn - Amazon Resource Name (ARN) of source DataSync Location.
- cloudwatch
Log StringGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- excludes
Task
Excludes - Filter rules that determines which files to exclude from a task.
- includes
Task
Includes - Filter rules that determines which files to include in a task.
- name String
- Name of the DataSync Task.
- options
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.
- schedule
Task
Schedule - Specifies a schedule used to periodically transfer files from a source to a destination location.
- Map<String,String>
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- destination
Location ARNArn - Amazon Resource Name (ARN) of destination DataSync Location.
- source
Location ARNArn - Amazon Resource Name (ARN) of source DataSync Location.
- cloudwatch
Log ARNGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- excludes
Task
Excludes - Filter rules that determines which files to exclude from a task.
- includes
Task
Includes - Filter rules that determines which files to include in a task.
- name string
- Name of the DataSync Task.
- options
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.
- schedule
Task
Schedule - Specifies a schedule used to periodically transfer files from a source to a destination location.
- {[key: string]: string}
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- destination_
location_ strarn - Amazon Resource Name (ARN) of destination DataSync Location.
- source_
location_ strarn - Amazon Resource Name (ARN) of source DataSync Location.
- cloudwatch_
log_ strgroup_ arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- excludes
Task
Excludes Args - Filter rules that determines which files to exclude from a task.
- includes
Task
Includes Args - Filter rules that determines which files to include in a task.
- name str
- Name of the DataSync Task.
- options
Task
Options Args - 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.
- schedule
Task
Schedule Args - Specifies a schedule used to periodically transfer files from a source to a destination location.
- Mapping[str, str]
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- destination
Location Arn - Amazon Resource Name (ARN) of destination DataSync Location.
- source
Location Arn - Amazon Resource Name (ARN) of source DataSync Location.
- cloudwatch
Log Group Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- excludes Property Map
- Filter rules that determines which files to exclude from a task.
- includes Property Map
- Filter rules that determines which files to include in a task.
- name String
- Name of the DataSync Task.
- options Property Map
- 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.
- schedule Property Map
- Specifies a schedule used to periodically transfer files from a source to a destination location.
- Map<String>
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Task resource produces the following output properties:
Look up Existing Task Resource
Get an existing Task resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TaskState, opts?: CustomResourceOptions): Task@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
cloudwatch_log_group_arn: Optional[str] = None,
destination_location_arn: Optional[str] = None,
excludes: Optional[TaskExcludesArgs] = None,
includes: Optional[TaskIncludesArgs] = None,
name: Optional[str] = None,
options: Optional[TaskOptionsArgs] = None,
schedule: Optional[TaskScheduleArgs] = None,
source_location_arn: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> Taskfunc GetTask(ctx *Context, name string, id IDInput, state *TaskState, opts ...ResourceOption) (*Task, error)public static Task Get(string name, Input<string> id, TaskState? state, CustomResourceOptions? opts = null)public static Task get(String name, Output<String> id, TaskState state, CustomResourceOptions options)resources: _: type: aws:datasync:Task get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the DataSync Task.
- Cloudwatch
Log stringGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- Destination
Location stringArn - Amazon Resource Name (ARN) of destination DataSync Location.
- Excludes
Task
Excludes - Filter rules that determines which files to exclude from a task.
- Includes
Task
Includes - Filter rules that determines which files to include in a task.
- Name string
- Name of the DataSync Task.
- Options
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.
- Schedule
Task
Schedule - Specifies a schedule used to periodically transfer files from a source to a destination location.
- Source
Location stringArn - Amazon Resource Name (ARN) of source DataSync Location.
- Dictionary<string, string>
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Arn string
- Amazon Resource Name (ARN) of the DataSync Task.
- Cloudwatch
Log stringGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- Destination
Location stringArn - Amazon Resource Name (ARN) of destination DataSync Location.
- Excludes
Task
Excludes Args - Filter rules that determines which files to exclude from a task.
- Includes
Task
Includes Args - Filter rules that determines which files to include in a task.
- Name string
- Name of the DataSync Task.
- Options
Task
Options Args - 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.
- Schedule
Task
Schedule Args - Specifies a schedule used to periodically transfer files from a source to a destination location.
- Source
Location stringArn - Amazon Resource Name (ARN) of source DataSync Location.
- map[string]string
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the DataSync Task.
- cloudwatch
Log StringGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- destination
Location StringArn - Amazon Resource Name (ARN) of destination DataSync Location.
- excludes
Task
Excludes - Filter rules that determines which files to exclude from a task.
- includes
Task
Includes - Filter rules that determines which files to include in a task.
- name String
- Name of the DataSync Task.
- options
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.
- schedule
Task
Schedule - Specifies a schedule used to periodically transfer files from a source to a destination location.
- source
Location StringArn - Amazon Resource Name (ARN) of source DataSync Location.
- Map<String,String>
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn string
- Amazon Resource Name (ARN) of the DataSync Task.
- cloudwatch
Log ARNGroup Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- destination
Location ARNArn - Amazon Resource Name (ARN) of destination DataSync Location.
- excludes
Task
Excludes - Filter rules that determines which files to exclude from a task.
- includes
Task
Includes - Filter rules that determines which files to include in a task.
- name string
- Name of the DataSync Task.
- options
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.
- schedule
Task
Schedule - Specifies a schedule used to periodically transfer files from a source to a destination location.
- source
Location ARNArn - Amazon Resource Name (ARN) of source DataSync Location.
- {[key: string]: string}
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn str
- Amazon Resource Name (ARN) of the DataSync Task.
- cloudwatch_
log_ strgroup_ arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- destination_
location_ strarn - Amazon Resource Name (ARN) of destination DataSync Location.
- excludes
Task
Excludes Args - Filter rules that determines which files to exclude from a task.
- includes
Task
Includes Args - Filter rules that determines which files to include in a task.
- name str
- Name of the DataSync Task.
- options
Task
Options Args - 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.
- schedule
Task
Schedule Args - Specifies a schedule used to periodically transfer files from a source to a destination location.
- source_
location_ strarn - Amazon Resource Name (ARN) of source DataSync Location.
- Mapping[str, str]
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the DataSync Task.
- cloudwatch
Log Group Arn - Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
- destination
Location Arn - Amazon Resource Name (ARN) of destination DataSync Location.
- excludes Property Map
- Filter rules that determines which files to exclude from a task.
- includes Property Map
- Filter rules that determines which files to include in a task.
- name String
- Name of the DataSync Task.
- options Property Map
- 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.
- schedule Property Map
- Specifies a schedule used to periodically transfer files from a source to a destination location.
- source
Location Arn - Amazon Resource Name (ARN) of source DataSync Location.
- Map<String>
- Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Supporting Types
TaskExcludes, TaskExcludesArgs
- Filter
Type string - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - Value string
- A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- Filter
Type string - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - Value string
- A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter
Type String - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value String
- A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter
Type string - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value string
- A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter_
type str - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value str
- A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter
Type String - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value String
- A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
TaskIncludes, TaskIncludesArgs
- Filter
Type string - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - Value string
- A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- Filter
Type string - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - Value string
- A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter
Type String - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value String
- A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter
Type string - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value string
- A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter_
type str - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value str
- A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
- filter
Type String - The type of filter rule to apply. Valid values:
SIMPLE_PATTERN. - value String
- A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2
TaskOptions, TaskOptionsArgs
- Atime string
- A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to
BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before syncPREPARINGphase)atimeattribute on all source files. Valid values:BEST_EFFORT,NONE. Default:BEST_EFFORT. - Bytes
Per intSecond - Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to
1048576. Value values:-1or greater. Default:-1(unlimited). - Gid string
- Group identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - Log
Level string - Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values:
OFF,BASIC,TRANSFER. Default:OFF. - Mtime string
- A file metadata that indicates the last time a file was modified (written to) before the sync
PREPARINGphase. Value values:NONE,PRESERVE. Default:PRESERVE. - Overwrite
Mode string - Determines whether files at the destination should be overwritten or preserved when copying files. Valid values:
ALWAYS,NEVER. Default:ALWAYS. - Posix
Permissions string - Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values:
NONE,PRESERVE. Default:PRESERVE. - Preserve
Deleted stringFiles - Whether files deleted in the source should be removed or preserved in the destination file system. Valid values:
PRESERVE,REMOVE. Default:PRESERVE. - Preserve
Devices string - Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values:
NONE,PRESERVE. Default:NONE(ignore special devices). - Security
Descriptor stringCopy Flags - Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values:
NONE,OWNER_DACL,OWNER_DACL_SACL. - Task
Queueing string - Determines whether tasks should be queued before executing the tasks. Valid values:
ENABLED,DISABLED. DefaultENABLED. - Transfer
Mode string - Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values:
CHANGED,ALL. Default:CHANGED - Uid string
- User identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - Verify
Mode string - Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values:
NONE,POINT_IN_TIME_CONSISTENT,ONLY_FILES_TRANSFERRED. Default:POINT_IN_TIME_CONSISTENT.
- Atime string
- A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to
BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before syncPREPARINGphase)atimeattribute on all source files. Valid values:BEST_EFFORT,NONE. Default:BEST_EFFORT. - Bytes
Per intSecond - Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to
1048576. Value values:-1or greater. Default:-1(unlimited). - Gid string
- Group identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - Log
Level string - Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values:
OFF,BASIC,TRANSFER. Default:OFF. - Mtime string
- A file metadata that indicates the last time a file was modified (written to) before the sync
PREPARINGphase. Value values:NONE,PRESERVE. Default:PRESERVE. - Overwrite
Mode string - Determines whether files at the destination should be overwritten or preserved when copying files. Valid values:
ALWAYS,NEVER. Default:ALWAYS. - Posix
Permissions string - Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values:
NONE,PRESERVE. Default:PRESERVE. - Preserve
Deleted stringFiles - Whether files deleted in the source should be removed or preserved in the destination file system. Valid values:
PRESERVE,REMOVE. Default:PRESERVE. - Preserve
Devices string - Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values:
NONE,PRESERVE. Default:NONE(ignore special devices). - Security
Descriptor stringCopy Flags - Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values:
NONE,OWNER_DACL,OWNER_DACL_SACL. - Task
Queueing string - Determines whether tasks should be queued before executing the tasks. Valid values:
ENABLED,DISABLED. DefaultENABLED. - Transfer
Mode string - Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values:
CHANGED,ALL. Default:CHANGED - Uid string
- User identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - Verify
Mode string - Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values:
NONE,POINT_IN_TIME_CONSISTENT,ONLY_FILES_TRANSFERRED. Default:POINT_IN_TIME_CONSISTENT.
- atime String
- A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to
BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before syncPREPARINGphase)atimeattribute on all source files. Valid values:BEST_EFFORT,NONE. Default:BEST_EFFORT. - bytes
Per IntegerSecond - Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to
1048576. Value values:-1or greater. Default:-1(unlimited). - gid String
- Group identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - log
Level String - Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values:
OFF,BASIC,TRANSFER. Default:OFF. - mtime String
- A file metadata that indicates the last time a file was modified (written to) before the sync
PREPARINGphase. Value values:NONE,PRESERVE. Default:PRESERVE. - overwrite
Mode String - Determines whether files at the destination should be overwritten or preserved when copying files. Valid values:
ALWAYS,NEVER. Default:ALWAYS. - posix
Permissions String - Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values:
NONE,PRESERVE. Default:PRESERVE. - preserve
Deleted StringFiles - Whether files deleted in the source should be removed or preserved in the destination file system. Valid values:
PRESERVE,REMOVE. Default:PRESERVE. - preserve
Devices String - Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values:
NONE,PRESERVE. Default:NONE(ignore special devices). - security
Descriptor StringCopy Flags - Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values:
NONE,OWNER_DACL,OWNER_DACL_SACL. - task
Queueing String - Determines whether tasks should be queued before executing the tasks. Valid values:
ENABLED,DISABLED. DefaultENABLED. - transfer
Mode String - Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values:
CHANGED,ALL. Default:CHANGED - uid String
- User identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - verify
Mode String - Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values:
NONE,POINT_IN_TIME_CONSISTENT,ONLY_FILES_TRANSFERRED. Default:POINT_IN_TIME_CONSISTENT.
- atime string
- A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to
BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before syncPREPARINGphase)atimeattribute on all source files. Valid values:BEST_EFFORT,NONE. Default:BEST_EFFORT. - bytes
Per numberSecond - Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to
1048576. Value values:-1or greater. Default:-1(unlimited). - gid string
- Group identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - log
Level string - Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values:
OFF,BASIC,TRANSFER. Default:OFF. - mtime string
- A file metadata that indicates the last time a file was modified (written to) before the sync
PREPARINGphase. Value values:NONE,PRESERVE. Default:PRESERVE. - overwrite
Mode string - Determines whether files at the destination should be overwritten or preserved when copying files. Valid values:
ALWAYS,NEVER. Default:ALWAYS. - posix
Permissions string - Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values:
NONE,PRESERVE. Default:PRESERVE. - preserve
Deleted stringFiles - Whether files deleted in the source should be removed or preserved in the destination file system. Valid values:
PRESERVE,REMOVE. Default:PRESERVE. - preserve
Devices string - Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values:
NONE,PRESERVE. Default:NONE(ignore special devices). - security
Descriptor stringCopy Flags - Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values:
NONE,OWNER_DACL,OWNER_DACL_SACL. - task
Queueing string - Determines whether tasks should be queued before executing the tasks. Valid values:
ENABLED,DISABLED. DefaultENABLED. - transfer
Mode string - Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values:
CHANGED,ALL. Default:CHANGED - uid string
- User identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - verify
Mode string - Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values:
NONE,POINT_IN_TIME_CONSISTENT,ONLY_FILES_TRANSFERRED. Default:POINT_IN_TIME_CONSISTENT.
- atime str
- A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to
BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before syncPREPARINGphase)atimeattribute on all source files. Valid values:BEST_EFFORT,NONE. Default:BEST_EFFORT. - bytes_
per_ intsecond - Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to
1048576. Value values:-1or greater. Default:-1(unlimited). - gid str
- Group identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - log_
level str - Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values:
OFF,BASIC,TRANSFER. Default:OFF. - mtime str
- A file metadata that indicates the last time a file was modified (written to) before the sync
PREPARINGphase. Value values:NONE,PRESERVE. Default:PRESERVE. - overwrite_
mode str - Determines whether files at the destination should be overwritten or preserved when copying files. Valid values:
ALWAYS,NEVER. Default:ALWAYS. - posix_
permissions str - Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values:
NONE,PRESERVE. Default:PRESERVE. - preserve_
deleted_ strfiles - Whether files deleted in the source should be removed or preserved in the destination file system. Valid values:
PRESERVE,REMOVE. Default:PRESERVE. - preserve_
devices str - Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values:
NONE,PRESERVE. Default:NONE(ignore special devices). - security_
descriptor_ strcopy_ flags - Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values:
NONE,OWNER_DACL,OWNER_DACL_SACL. - task_
queueing str - Determines whether tasks should be queued before executing the tasks. Valid values:
ENABLED,DISABLED. DefaultENABLED. - transfer_
mode str - Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values:
CHANGED,ALL. Default:CHANGED - uid str
- User identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - verify_
mode str - Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values:
NONE,POINT_IN_TIME_CONSISTENT,ONLY_FILES_TRANSFERRED. Default:POINT_IN_TIME_CONSISTENT.
- atime String
- A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to
BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before syncPREPARINGphase)atimeattribute on all source files. Valid values:BEST_EFFORT,NONE. Default:BEST_EFFORT. - bytes
Per NumberSecond - Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to
1048576. Value values:-1or greater. Default:-1(unlimited). - gid String
- Group identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - log
Level String - Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values:
OFF,BASIC,TRANSFER. Default:OFF. - mtime String
- A file metadata that indicates the last time a file was modified (written to) before the sync
PREPARINGphase. Value values:NONE,PRESERVE. Default:PRESERVE. - overwrite
Mode String - Determines whether files at the destination should be overwritten or preserved when copying files. Valid values:
ALWAYS,NEVER. Default:ALWAYS. - posix
Permissions String - Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values:
NONE,PRESERVE. Default:PRESERVE. - preserve
Deleted StringFiles - Whether files deleted in the source should be removed or preserved in the destination file system. Valid values:
PRESERVE,REMOVE. Default:PRESERVE. - preserve
Devices String - Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values:
NONE,PRESERVE. Default:NONE(ignore special devices). - security
Descriptor StringCopy Flags - Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values:
NONE,OWNER_DACL,OWNER_DACL_SACL. - task
Queueing String - Determines whether tasks should be queued before executing the tasks. Valid values:
ENABLED,DISABLED. DefaultENABLED. - transfer
Mode String - Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values:
CHANGED,ALL. Default:CHANGED - uid String
- User identifier of the file's owners. Valid values:
BOTH,INT_VALUE,NAME,NONE. Default:INT_VALUE(preserve integer value of the ID). - verify
Mode String - Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values:
NONE,POINT_IN_TIME_CONSISTENT,ONLY_FILES_TRANSFERRED. Default:POINT_IN_TIME_CONSISTENT.
TaskSchedule, TaskScheduleArgs
- Schedule
Expression string - Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
- Schedule
Expression string - Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
- schedule
Expression String - Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
- schedule
Expression string - Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
- schedule_
expression str - Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
- schedule
Expression String - Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
Import
aws_datasync_task can be imported by using the DataSync Task Amazon Resource Name (ARN), e.g.,
$ pulumi import aws:datasync/task:Task example arn:aws:datasync:us-east-1:123456789012:task/task-12345678901234567
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Tuesday, Mar 10, 2026 by Pulumi
