Skip to content

TelemetryRule

Source code in docs_src/capo_cloudwatchomni/types/telemetry_rule.py
class TelemetryRule(TypedDict, closed=True):
    query: NotRequired["capo_cloudwatchomni.types.alert_rule_query.AlertRuleQuery"]
    """The query expression to evaluate."""
    condition: NotRequired["capo_cloudwatchomni.types.alert_condition.AlertCondition"]
    """The condition that determines when the alert fires."""
    evaluation: NotRequired[
        "capo_cloudwatchomni.types.alert_evaluation.AlertEvaluation"
    ]
    """The evaluation cadence and durations."""
    no_data: NotRequired["capo_cloudwatchomni.types.no_data.NoData"]
    """How the alert behaves when a query produces no data."""

condition instance-attribute

condition: NotRequired[AlertCondition]

The condition that determines when the alert fires.

evaluation instance-attribute

evaluation: NotRequired[AlertEvaluation]

The evaluation cadence and durations.

no_data instance-attribute

no_data: NotRequired[NoData]

How the alert behaves when a query produces no data.

query instance-attribute

query: NotRequired[AlertRuleQuery]

The query expression to evaluate.