aws-cdk-lib.aws_datasync.CfnTask.TaskScheduleProperty

interface TaskScheduleProperty

LanguageType name
.NETAmazon.CDK.AWS.DataSync.CfnTask.TaskScheduleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnTask_TaskScheduleProperty
Javasoftware.amazon.awscdk.services.datasync.CfnTask.TaskScheduleProperty
Pythonaws_cdk.aws_datasync.CfnTask.TaskScheduleProperty
TypeScript aws-cdk-lib » aws_datasync » CfnTask » TaskScheduleProperty

Specifies the schedule you want your task to use for repeated executions.

For more information, see Schedule Expressions for Rules .

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 taskScheduleProperty: datasync.CfnTask.TaskScheduleProperty = {
  scheduleExpression: 'scheduleExpression',
};

Properties

NameTypeDescription
scheduleExpressionstringA cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location.

scheduleExpression

Type: string

A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location.