AlarmPromQLCriteria
¶
Source code in docs_src/capo_cloudwatch/types/alarm_prom_ql_criteria.py
pending_period
instance-attribute
¶
pending_period: NotRequired[PendingPeriod]
The duration, in seconds, that a contributor must be continuously breaching before it transitions to the ALARM state.
query
instance-attribute
¶
query: NotRequired[Query]
The PromQL query that the alarm evaluates. The query must return a result of vector type. Each entry in the vector result represents an alarm contributor.
recovery_period
instance-attribute
¶
recovery_period: NotRequired[RecoveryPeriod]
The duration, in seconds, that a contributor must continuously not be breaching before it transitions back to the OK state.