Skip to content

AlarmStateChangeDetail

Source code in docs_src/capo_resiliencehubv2/types/alarm_state_change_detail.py
class AlarmStateChangeDetail(TypedDict, closed=True):
    state: "capo_resiliencehubv2.types.alarm_state.AlarmState"
    """<p>The state the alarm transitioned to.</p>"""
    previous_state: NotRequired["capo_resiliencehubv2.types.alarm_state.AlarmState"]
    """<p>The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.</p>"""
    reason: NotRequired["str"]
    """<p>A human-readable explanation of the state change, as reported by CloudWatch.</p>"""

previous_state instance-attribute

previous_state: NotRequired[AlarmState]

The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.

reason instance-attribute

reason: NotRequired[str]

A human-readable explanation of the state change, as reported by CloudWatch.

state instance-attribute

state: AlarmState

The state the alarm transitioned to.