CompositeAlarm
¶
Source code in docs_src/capo_cloudwatch/types/composite_alarm.py
actions_enabled
instance-attribute
¶
actions_enabled: NotRequired[ActionsEnabled]
Indicates whether actions should be executed during any changes to the alarm state.
actions_suppressed_by
instance-attribute
¶
actions_suppressed_by: NotRequired[ActionsSuppressedBy]
When the value is ALARM, it means that the actions are suppressed because the suppressor alarm is in ALARM When the value is WaitPeriod, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the ALARM state. The maximum waiting time is as specified in ActionsSuppressorWaitPeriod. After this time, the composite alarm performs its actions. When the value is ExtensionPeriod, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the ALARM state. The maximum waiting time is as specified in ActionsSuppressorExtensionPeriod. After this time, the composite alarm performs its actions.
actions_suppressed_reason
instance-attribute
¶
actions_suppressed_reason: NotRequired[ActionsSuppressedReason]
Captures the reason for action suppression.
actions_suppressor
instance-attribute
¶
actions_suppressor: NotRequired[AlarmArn]
Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
actions_suppressor_extension_period
instance-attribute
¶
actions_suppressor_extension_period: NotRequired[SuppressorPeriod]
The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions.
ExtensionPeriod is required only when ActionsSuppressor is specified.
actions_suppressor_wait_period
instance-attribute
¶
actions_suppressor_wait_period: NotRequired[SuppressorPeriod]
The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions.
WaitPeriod is required only when ActionsSuppressor is specified.
alarm_actions
instance-attribute
¶
alarm_actions: NotRequired[ResourceList]
The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
alarm_arn
instance-attribute
¶
alarm_arn: NotRequired[AlarmArn]
The Amazon Resource Name (ARN) of the alarm.
alarm_configuration_updated_timestamp
instance-attribute
¶
alarm_configuration_updated_timestamp: NotRequired[Timestamp]
The time stamp of the last update to the alarm configuration.
alarm_description
instance-attribute
¶
alarm_description: NotRequired[AlarmDescription]
The description of the alarm.
alarm_rule
instance-attribute
¶
alarm_rule: NotRequired[AlarmRule]
The rule that this alarm uses to evaluate its alarm state.
insufficient_data_actions
instance-attribute
¶
insufficient_data_actions: NotRequired[ResourceList]
The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
ok_actions
instance-attribute
¶
ok_actions: NotRequired[ResourceList]
The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
state_reason
instance-attribute
¶
state_reason: NotRequired[StateReason]
An explanation for the alarm state, in text format.
state_reason_data
instance-attribute
¶
state_reason_data: NotRequired[StateReasonData]
An explanation for the alarm state, in JSON format.
state_transitioned_timestamp
instance-attribute
¶
state_transitioned_timestamp: NotRequired[Timestamp]
The timestamp of the last change to the alarm's StateValue.
state_updated_timestamp
instance-attribute
¶
state_updated_timestamp: NotRequired[Timestamp]
Tracks the timestamp of any state update, even if StateValue doesn't change.
state_value
instance-attribute
¶
state_value: NotRequired[StateValue]
The state value for the alarm.