Expand description
Validation of AWS::Events::Rule ScheduleExpression values (rate(...) / cron(...)).
The service accepts a rate(Value Unit) where Value is a positive integer and Unit agrees
in number with it (minute/hour/day when the value is 1, plural otherwise), or a
cron(...) of exactly six space-separated fields that does not pin both day-of-month and
day-of-week. Each returned string is a complete, human-readable reason a value is invalid.
Functionsยง
- schedule_
expression_ errors - Return every reason
expressionis an invalidScheduleExpression, or an empty vector when it is valid. More than one reason can apply at once (e.g. a zero value with a mismatched unit).