Alert
¶
Source code in docs_src/capo_cloudwatchomni/types/alert.py
alert_id
instance-attribute
¶
alert_id: NotRequired[AlertId]
The stable alert identifier (see {@link AlertId}), minted on create and immutable across updates. Use it (not {@code name}) to address the alert on GetAlert/UpdateAlert/DeleteAlert; it is also the ARN's resource id.
description
instance-attribute
¶
description: NotRequired[str]
An optional description of the alert.
notification_rules
instance-attribute
¶
notification_rules: NotRequired[NotificationRuleList]
The notification rules for the alert.
notification_status
instance-attribute
¶
notification_status: NotRequired[NotificationStatus]
Whether notifications are enabled.
profile_id
instance-attribute
¶
profile_id: NotRequired[ProfileId]
The ID of the access profile associated with the alert.
space_id
instance-attribute
¶
space_id: NotRequired[SpaceId]
The ID of the space the alert belongs to.
state
instance-attribute
¶
state: NotRequired[AlertStateInfo]
Live evaluation state (read-only, system-managed). Populated by GetAlert. ListAlerts reports state on AlertSummary instead, where it stays required. Absent on CreateAlert: a newly created alert has never been evaluated, so any state reported there would be a default rather than an observation. Call GetAlert for live state. Not @required for that reason — GetAlert always populates it. contributorSummary is nested inside this member, so it too is absent on CreateAlert.