Skip to content

CompositeAlarm

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

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_name instance-attribute

alarm_name: NotRequired[AlarmName]

The name 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.