Optional
Readonly
actionstrue
Optional
Readonly
alarmDescription for the alarm
No description
Optional
Readonly
alarmName of the alarm
Automatically generated name
Optional
Readonly
comparisonComparison to use to check if metric is breaching
GreaterThanOrEqualToThreshold
Optional
Readonly
datapointsThe number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an "M out of N" alarm. In that case, this value is the M. For more information, see Evaluating an Alarm in the Amazon CloudWatch User Guide.
evaluationPeriods
Optional
Readonly
evaluateSpecifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.
Used only for alarms that are based on percentiles.
- Not configured.
Readonly
evaluationThe number of periods over which data is compared to the specified threshold.
Readonly
metricThe metric to add the alarm on
Metric objects can be obtained from most resources, or you can construct custom Metric objects by instantiating one.
Optional
okReadonly
thresholdThe value against which the specified statistic is compared.
Optional
Readonly
treatSets how this alarm is to handle missing data points.
TreatMissingData.Missing
Generated using TypeDoc
Whether the actions for this alarm are enabled