Skip to content

AwsCloudWatchAlarmDetails

Source code in docs_src/capo_securityhub/types/aws_cloud_watch_alarm_details.py
class AwsCloudWatchAlarmDetails(TypedDict, closed=True):
    actions_enabled: NotRequired["capo_securityhub.types.boolean.Boolean"]
    """<p>Indicates whether actions should be executed during any changes to the alarm state. </p>"""
    alarm_actions: NotRequired[
        "capo_securityhub.types.non_empty_string_list.NonEmptyStringList"
    ]
    """<p>The list of actions, specified as Amazon Resource Names (ARNs) to execute when this alarm transitions into an <code>ALARM</code> state from any other state. </p>"""
    alarm_arn: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The ARN of the alarm. </p>"""
    alarm_configuration_updated_timestamp: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The time stamp of the last update to the alarm configuration. </p>"""
    alarm_description: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The description of the alarm. </p>"""
    alarm_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the alarm. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the alarm name. </p>"""
    comparison_operator: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand. </p>"""
    datapoints_to_alarm: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The number of datapoints that must be breaching to trigger the alarm. </p>"""
    dimensions: NotRequired[
        "capo_securityhub.types.aws_cloud_watch_alarm_dimensions_list.AwsCloudWatchAlarmDimensionsList"
    ]
    """<p>The dimensions for the metric associated with the alarm. </p>"""
    evaluate_low_sample_count_percentile: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>Used only for alarms based on percentiles. If <code>ignore</code>, the alarm state does not change during periods with too few data points to be statistically significant. If <code>evaluate</code> or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. </p>"""
    evaluation_periods: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The number of periods over which data is compared to the specified threshold. </p>"""
    extended_statistic: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The percentile statistic for the metric associated with the alarm. </p>"""
    insufficient_data_actions: NotRequired[
        "capo_securityhub.types.non_empty_string_list.NonEmptyStringList"
    ]
    """<p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state. Each action is specified as an ARN. </p>"""
    metric_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use <code>Metrics</code> instead and you can't specify <code>MetricName</code>. </p>"""
    namespace: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify <code>Namespace</code> and you use <code>Metrics</code> instead. </p>"""
    ok_actions: NotRequired[
        "capo_securityhub.types.non_empty_string_list.NonEmptyStringList"
    ]
    """<p>The actions to execute when this alarm transitions to the <code>OK</code> state from any other state. Each action is specified as an ARN. </p>"""
    period: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. </p>"""
    statistic: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use <code>ExtendedStatistic</code>.</p> <p>For an alarm based on a metric, you must specify either <code>Statistic</code> or <code>ExtendedStatistic</code> but not both.</p> <p>For an alarm based on a math expression, you can't specify <code>Statistic</code>. Instead, you use <code>Metrics</code>.</p>"""
    threshold: NotRequired["capo_securityhub.types.double.Double"]
    """<p>The value to compare with the specified statistic. </p>"""
    threshold_metric_id: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>n an alarm based on an anomaly detection model, this is the ID of the <code>ANOMALY_DETECTION_BAND</code> function used as the threshold for the alarm. </p>"""
    treat_missing_data: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>Sets how this alarm is to handle missing data points. </p>"""
    unit: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The unit of the metric associated with the alarm. </p>"""

actions_enabled instance-attribute

actions_enabled: NotRequired[Boolean]

Indicates whether actions should be executed during any changes to the alarm state.

alarm_actions instance-attribute

alarm_actions: NotRequired[NonEmptyStringList]

The list of actions, specified as Amazon Resource Names (ARNs) to execute when this alarm transitions into an ALARM state from any other state.

alarm_arn instance-attribute

alarm_arn: NotRequired[NonEmptyString]

The ARN of the alarm.

alarm_configuration_updated_timestamp instance-attribute

alarm_configuration_updated_timestamp: NotRequired[NonEmptyString]

The time stamp of the last update to the alarm configuration.

alarm_description instance-attribute

alarm_description: NotRequired[NonEmptyString]

The description of the alarm.

alarm_name instance-attribute

alarm_name: NotRequired[NonEmptyString]

The name of the alarm. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the alarm name.

comparison_operator instance-attribute

comparison_operator: NotRequired[NonEmptyString]

The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.

datapoints_to_alarm instance-attribute

datapoints_to_alarm: NotRequired[Integer]

The number of datapoints that must be breaching to trigger the alarm.

dimensions instance-attribute

dimensions: NotRequired[AwsCloudWatchAlarmDimensionsList]

The dimensions for the metric associated with the alarm.

evaluate_low_sample_count_percentile instance-attribute

evaluate_low_sample_count_percentile: NotRequired[NonEmptyString]

Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.

evaluation_periods instance-attribute

evaluation_periods: NotRequired[Integer]

The number of periods over which data is compared to the specified threshold.

extended_statistic instance-attribute

extended_statistic: NotRequired[NonEmptyString]

The percentile statistic for the metric associated with the alarm.

insufficient_data_actions instance-attribute

insufficient_data_actions: NotRequired[NonEmptyStringList]

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an ARN.

metric_name instance-attribute

metric_name: NotRequired[NonEmptyString]

The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metrics instead and you can't specify MetricName.

namespace instance-attribute

namespace: NotRequired[NonEmptyString]

The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespace and you use Metrics instead.

ok_actions instance-attribute

ok_actions: NotRequired[NonEmptyStringList]

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an ARN.

period instance-attribute

period: NotRequired[Integer]

The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric.

statistic instance-attribute

statistic: NotRequired[NonEmptyString]

The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic.

For an alarm based on a metric, you must specify either Statistic or ExtendedStatistic but not both.

For an alarm based on a math expression, you can't specify Statistic. Instead, you use Metrics.

threshold instance-attribute

threshold: NotRequired[Double]

The value to compare with the specified statistic.

threshold_metric_id instance-attribute

threshold_metric_id: NotRequired[NonEmptyString]

n an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND function used as the threshold for the alarm.

treat_missing_data instance-attribute

treat_missing_data: NotRequired[NonEmptyString]

Sets how this alarm is to handle missing data points.

unit instance-attribute

unit: NotRequired[NonEmptyString]

The unit of the metric associated with the alarm.