ScheduleConfiguration
¶
Source code in docs_src/capo_mwaa_serverless/types/schedule_configuration.py
cron_expression
instance-attribute
¶
cron_expression: NotRequired[str]
The schedule expression that determines when the workflow runs, as specified in the schedule parameter of the workflow's YAML definition. You can specify one of the following types of schedule expressions:
-
Apache Airflow cron expression – Five fields, such as
0 12 1 * *. -
Apache Airflow schedule preset –
@hourly,@daily,@weekly,@monthly,@yearly, or@annually. -
EventBridge Scheduler rate expression – For example,
rate(5 minutes). Supported units are minutes, hours, and days. -
EventBridge Scheduler cron expression – Six fields, such as
cron(0 12 * * ? *).
In a cron expression, specify either a day-of-month or a day-of-week, not both.