---
type: resource-type
title: Task
description: aws resource type AWS::DataSync::Task
name: Task
lexicon: aws
resource_type: AWS::DataSync::Task
---
`AWS::DataSync::Task`, a resource type of the aws lexicon.

## Properties

- `DestinationLocationArn` (`string`, required): The ARN of an AWS storage resource's location.
- `SourceLocationArn` (`string`, required): The ARN of the source location for the task.
- `CloudWatchLogGroupArn` (`string`, optional): The ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task.
- `DestinationNetworkInterfaceArns` (`any`, optional)
- `Excludes` (`Task_FilterRule[]`, optional)
- `Includes` (`Task_FilterRule[]`, optional)
- `ManifestConfig` (`Task_ManifestConfig`, optional)
- `Name` (`string`, optional): The name of a task. This value is a text reference that is used to identify the task in the console.
- `Options` (`Task_Options`, optional)
- `Schedule` (`Task_TaskSchedule`, optional)
- `SourceNetworkInterfaceArns` (`any`, optional)
- `Status` (`"AVAILABLE" | "CREATING" | "QUEUED" | "RUNNING" | "UNAVAILABLE"`, optional): The status of the task that was described.
- `Tags` (`Task_Tag[]`, optional): An array of key-value pairs to apply to this resource.
- `TaskArn` (`string`, optional): The ARN of the task.
- `TaskMode` (`"BASIC" | "ENHANCED"`, optional): Specifies the task mode for the task.
- `TaskReportConfig` (`Task_TaskReportConfig`, optional)

## Attributes

- `DestinationNetworkInterfaceArns`
- `SourceNetworkInterfaceArns`
- `Status`
- `TaskArn`
