AwsCloudWatchAlarmDetails
import type { AwsCloudWatchAlarmDetails } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";
Specifies an alarm and associates it with the specified metric or metric math expression.
§Properties
Indicates whether actions should be executed during any changes to the alarm state.
The list of actions, specified as Amazon Resource Names (ARNs) to execute when this alarm transitions into an ALARM
state from any other state.
The time stamp of the last update to the alarm configuration.
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.
The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
The number of datapoints that must be breaching to trigger the alarm.
The dimensions for the metric associated with the alarm.
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.
The number of periods over which data is compared to the specified threshold.
The percentile statistic for the metric associated with the alarm.
The actions to execute when this alarm transitions to the INSUFFICIENT_DATA
state from any other state.
Each action is specified as an ARN.
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
.
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.
The actions to execute when this alarm transitions to the OK
state from any other state.
Each action is specified as an ARN.
The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric.
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
.