AwsCloudWatchAlarmDetails
¶
Source code in docs_src/capo_securityhub/types/aws_cloud_watch_alarm_details.py
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_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.