AWS::DataSync::TaskResource schema for AWS::DataSync::Task.
12 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DestinationLocationArn | string | RequiredCreate-only |
SourceLocationArn | string | RequiredCreate-only |
CloudWatchLogGroupArn | string | |
Excludes | Array<FilterRule> | |
Includes | Array<FilterRule> | |
ManifestConfig | ManifestConfig | |
Name | string | |
Options | Options | |
Schedule | TaskSchedule | |
Tags | Array<Tag> | |
TaskMode | string | Create-only |
TaskReportConfig | TaskReportConfig |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
DestinationNetworkInterfaceArns | array | - |
SourceNetworkInterfaceArns | array | - |
Status | string | The status of the task that was described. |
TaskArn | string | The ARN of the task. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DataSync::Task
Resources:
MyResource:
Type: AWS::DataSync::Task
Properties:
DestinationLocationArn: "arn:aws:service:region:account:resource"
SourceLocationArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
datasync:CreateTaskdatasync:DescribeTaskdatasync:ListTagsForResourcedatasync:TagResources3:ListAllMyBucketss3:ListBuckets3:GetObjects3:GetObjectVersiondatasync:DescribeTaskdatasync:ListTagsForResourcedatasync:UpdateTaskdatasync:DescribeTaskdatasync:ListTagsForResourcedatasync:TagResourcedatasync:UntagResourcelogs:DescribeLogGroupsiam:PassRoledatasync:DeleteTaskec2:DescribeNetworkInterfacesec2:DeleteNetworkInterfaceec2:DescribeSecurityGroupsec2:DescribeSubnetsfsx:DescribeFileSystemselasticfilesystem:DescribeFileSystemselasticfilesystem:DescribeMountTargetsdatasync:ListTasksOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterTaskArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DestinationLocationArnSourceLocationArnTaskMode