Skip to content

ScheduleConfiguration

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

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.