CronOptions
- class aws_cdk.aws_synthetics.CronOptions(*, day=None, hour=None, minute=None, month=None, week_day=None)
Bases:
object
(experimental) Options to configure a cron expression.
All fields are strings so you can use complex expressions. Absence of a field implies ‘*’ or ‘?’, whichever one is appropriate.
- Parameters:
day (
Optional
[str
]) – (experimental) The day of the month to run this rule at. Default: - Every day of the monthhour (
Optional
[str
]) – (experimental) The hour to run this rule at. Default: - Every hourminute (
Optional
[str
]) – (experimental) The minute to run this rule at. Default: - Every minutemonth (
Optional
[str
]) – (experimental) The month to run this rule at. Default: - Every monthweek_day (
Optional
[str
]) – (experimental) The day of the week to run this rule at. Default: - Any day of the week
- See:
- Stability:
experimental
- ExampleMetadata:
infused
Example:
schedule = synthetics.Schedule.cron( hour="0,8,16" )
Attributes
- day
(experimental) The day of the month to run this rule at.
- Default:
Every day of the month
- Stability:
experimental
- hour
(experimental) The hour to run this rule at.
- Default:
Every hour
- Stability:
experimental
- minute
(experimental) The minute to run this rule at.
- Default:
Every minute
- Stability:
experimental
- month
(experimental) The month to run this rule at.
- Default:
Every month
- Stability:
experimental
- week_day
(experimental) The day of the week to run this rule at.
- Default:
Any day of the week
- Stability:
experimental