CfnScheduleProps
- class aws_cdk.aws_databrew.CfnScheduleProps(*, cron_expression, name, job_names=None, tags=None)
Bases:
objectProperties for defining a
CfnSchedule.- Parameters:
cron_expression (
str) – 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 .name (
str) – The name of the schedule.job_names (
Optional[Sequence[str]]) – A list of jobs to be run, according to the schedule.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Metadata tags that have been applied to the schedule.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-schedule.html
- ExampleMetadata:
fixture=_generated
Example:
# 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" )] )
Attributes
- cron_expression
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 .
- job_names
A list of jobs to be run, according to the schedule.
- name
The name of the schedule.
- tags
Metadata tags that have been applied to the schedule.