Skip to content

TestRunSourceEvent

Source code in docs_src/capo_resiliencehubv2/types/test_run_source_event.py
class TestRunSourceEvent(TypedDict, closed=True):
    timestamp: "datetime.datetime"
    """<p>The timestamp when the event occurred.</p>"""
    source_arn: "capo_resiliencehubv2.types.test_run_source_arn.TestRunSourceArn"
    """<p>The ARN of the monitoring source the event belongs to.</p>"""
    event_type: (
        "capo_resiliencehubv2.types.test_run_source_event_type.TestRunSourceEventType"
    )
    """<p>The type of the event. ALARM indicates an event from a CloudWatch alarm source; the detail member carries either the alarm state change or a collection error.</p>"""
    detail: "capo_resiliencehubv2.types.test_run_source_event_detail.TestRunSourceEventDetail"
    """<p>The event payload.</p>"""

detail instance-attribute

The event payload.

event_type instance-attribute

The type of the event. ALARM indicates an event from a CloudWatch alarm source; the detail member carries either the alarm state change or a collection error.

source_arn instance-attribute

source_arn: TestRunSourceArn

The ARN of the monitoring source the event belongs to.

timestamp instance-attribute

timestamp: datetime

The timestamp when the event occurred.