import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::DataSync::Task</code> resource specifies a task. A task is a set of two locations (source and destination) and a set of <code>Options</code> that you use to control the behavior of a task. If you don’t specify <code>Options</code> when you create a task, AWS DataSync populates them with service defaults.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html">the AWS Docs</a>
*/
export function task(taskProps) {
    return new AwsResource('AWS::DataSync::Task', taskProps, { Status: 'Status', SourceNetworkInterfaceArns: 'SourceNetworkInterfaceArns', DestinationNetworkInterfaceArns: 'DestinationNetworkInterfaceArns', TaskArn: 'TaskArn' });
}
