CfnScheduleProps Struct
Properties for defining a CfnSchedule.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const cfnScheduleProps: databrew.CfnScheduleProps = {
cronExpression: 'cronExpression',
name: 'name',
// the properties below are optional
jobNames: ['jobNames'],
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew
cfn_schedule_props = databrew.CfnScheduleProps(
cron_expression="cronExpression",
name="name",
# the properties below are optional
job_names=["jobNames"],
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;
CfnScheduleProps cfnScheduleProps = CfnScheduleProps.builder()
.cronExpression("cronExpression")
.name("name")
// the properties below are optional
.jobNames(List.of("jobNames"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;
var cfnScheduleProps = new CfnScheduleProps {
CronExpression = "cronExpression",
Name = "name",
// the properties below are optional
JobNames = new [] { "jobNames" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnScheduleProps := &CfnScheduleProps{
CronExpression: jsii.String("cronExpression"),
Name: jsii.String("name"),
// the properties below are optional
JobNames: []*string{
jsii.String("jobNames"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
cronExpressionstringcron_expressionstrcronExpressionStringCronExpressionstringCronExpression*string required #The dates and times when the job is to run.
For more information, see Working with cron expressions for recipe jobs in the AWS Glue DataBrew Developer Guide .
jobNamesoptionalstring[]job_namesoptionaltyping.List[str]jobNamesoptionalList<String>JobNamesoptionalstring[]JobNamesoptional*[]*string #A list of jobs to be run, according to the schedule.
The name of the schedule.