interface TaskScheduleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DataSync.CfnTask.TaskScheduleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnTask_TaskScheduleProperty |
Java | software.amazon.awscdk.services.datasync.CfnTask.TaskScheduleProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
schedule | string | A 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.