Skip to content

AlertStateInfo

Source code in docs_src/capo_cloudwatchomni/types/alert_state_info.py
class AlertStateInfo(TypedDict, closed=True):
    value: "capo_cloudwatchomni.types.alert_state.AlertState"
    """Current flat state."""
    transitioned_at: NotRequired["datetime.datetime"]
    """When the alert transitioned to its current state."""
    contributor_summary: NotRequired[
        "capo_cloudwatchomni.types.contributor_summary.ContributorSummary"
    ]
    """Counts of contributors currently breaching each severity threshold. Present only when contributor-level tracking is active; absent until the first contributor breaches a {@code WARNING} or {@code CRITICAL} threshold."""
    data: NotRequired["capo_cloudwatchomni.types.alert_state_data.AlertStateData"]
    """Structured detail about why the alert is in its current state."""

contributor_summary instance-attribute

contributor_summary: NotRequired[ContributorSummary]

Counts of contributors currently breaching each severity threshold. Present only when contributor-level tracking is active; absent until the first contributor breaches a {@code WARNING} or {@code CRITICAL} threshold.

data instance-attribute

data: NotRequired[AlertStateData]

Structured detail about why the alert is in its current state.

transitioned_at instance-attribute

transitioned_at: NotRequired[datetime]

When the alert transitioned to its current state.

value instance-attribute

value: AlertState

Current flat state.