Class: Aws::MWAAServerless::Types::ScheduleConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::MWAAServerless::Types::ScheduleConfiguration
- Defined in:
- gems/aws-sdk-mwaaserverless/lib/aws-sdk-mwaaserverless/types.rb
Overview
Contains the configuration used to schedule automated workflow execution. Only one version of a workflow can have an active schedule at any time.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cron_expression ⇒ String
The schedule expression that determines when the workflow runs, as specified in the
scheduleparameter of the workflow's YAML definition.
Instance Attribute Details
#cron_expression ⇒ String
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.
1144 1145 1146 1147 1148 |
# File 'gems/aws-sdk-mwaaserverless/lib/aws-sdk-mwaaserverless/types.rb', line 1144 class ScheduleConfiguration < Struct.new( :cron_expression) SENSITIVE = [] include Aws::Structure end |