interface TaskReference
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.DataSync.TaskReference | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#TaskReference | 
|  Java | software.amazon.awscdk.services.datasync.TaskReference | 
|  Python | aws_cdk.aws_datasync.TaskReference | 
|  TypeScript | aws-cdk-lib»aws_datasync»TaskReference | 
A reference to a Task resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const taskReference: datasync.TaskReference = {
  taskArn: 'taskArn',
};
Properties
| Name | Type | Description | 
|---|---|---|
| task | string | The TaskArn of the Task resource. | 
taskArn
Type:
string
The TaskArn of the Task resource.
