CmdID / aws / aws datasync
aws datasync create-task
Configures a task, which defines where and how DataSync transfers your data. AWS CLI reference
12 options Its page in the AWS CLI reference
Options
--cloud-watch-log-group-arnSpecifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.--destination-location-arnSpecifies the ARN of your transfer's destination location.--excludesSpecifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.--includesSpecifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.--manifest-configConfigures a manifest, which is a list of files or objects that you want DataSync to transfer.--nameSpecifies the name of your task.--optionsSpecifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.--scheduleSpecifies a schedule for when you want your task to run.--source-location-arnSpecifies the ARN of your transfer's source location.--tagsSpecifies the tags that you want to apply to your task.--task-modeSpecifies one of the following task modes for your data transfer: ENHANCED - Transfer virtually unlimited numbers of objects with higher performance than Basic mode.--task-report-configSpecifies how you want to configure a task report, which provides detailed information about your DataSync transfer.