ScheduleCondition
¶
Source code in docs_src/capo_devops_agent/types/schedule_condition.py
expression
instance-attribute
¶
expression: NotRequired[ScheduleExpression]
EventBridge cron or rate expression. Required for existing request and response compatibility. For a structured schedule response, this is the expression derived by Backlog.
spec
instance-attribute
¶
spec: NotRequired[ScheduleSpec]
Structured schedule source of truth (cron | timeRange). On CreateTrigger supply exactly one of spec or expression. Present in responses together with the derived expression for structured triggers.