TaskArgs

data class TaskArgs(val cloudWatchLogGroupArn: Output<String>? = null, val destinationLocationArn: Output<String>? = null, val excludes: Output<List<TaskFilterRuleArgs>>? = null, val includes: Output<List<TaskFilterRuleArgs>>? = null, val manifestConfig: Output<TaskManifestConfigArgs>? = null, val name: Output<String>? = null, val options: Output<TaskOptionsArgs>? = null, val schedule: Output<TaskScheduleArgs>? = null, val sourceLocationArn: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val taskReportConfig: Output<TaskReportConfigArgs>? = null) : ConvertibleToJava<TaskArgs>

Resource schema for AWS::DataSync::Task.

Example Usage

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(cloudWatchLogGroupArn: Output<String>? = null, destinationLocationArn: Output<String>? = null, excludes: Output<List<TaskFilterRuleArgs>>? = null, includes: Output<List<TaskFilterRuleArgs>>? = null, manifestConfig: Output<TaskManifestConfigArgs>? = null, name: Output<String>? = null, options: Output<TaskOptionsArgs>? = null, schedule: Output<TaskScheduleArgs>? = null, sourceLocationArn: Output<String>? = null, tags: Output<List<TagArgs>>? = null, taskReportConfig: Output<TaskReportConfigArgs>? = null)

Properties

Link copied to clipboard
val cloudWatchLogGroupArn: Output<String>? = null

The ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task.

Link copied to clipboard
val destinationLocationArn: Output<String>? = null

The ARN of an AWS storage resource's location.

Link copied to clipboard
val excludes: Output<List<TaskFilterRuleArgs>>? = null

Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters .

Link copied to clipboard
val includes: Output<List<TaskFilterRuleArgs>>? = null

Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters .

Link copied to clipboard

The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see Specifying what DataSync transfers by using a manifest .

Link copied to clipboard
val name: Output<String>? = null

The name of a task. This value is a text reference that is used to identify the task in the console.

Link copied to clipboard
val options: Output<TaskOptionsArgs>? = null

Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.

Link copied to clipboard
val schedule: Output<TaskScheduleArgs>? = null

Specifies a schedule for when you want your task to run. For more information, see Scheduling your task .

Link copied to clipboard
val sourceLocationArn: Output<String>? = null

The ARN of the source location for the task.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Link copied to clipboard

Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports . When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess policy includes this permission.

Functions

Link copied to clipboard
open override fun toJava(): TaskArgs