Optional ReadonlyactionsOptional ReadonlyalarmDescription for the alarm
Optional ReadonlyalarmName of the alarm
Optional ReadonlycomparisonComparison to use to check if metric is breaching
Optional ReadonlydatapointsThe 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.
Optional ReadonlyevaluateSpecifies 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.
ReadonlyevaluationThe number of periods over which data is compared to the specified threshold.
ReadonlymetricThe metric to add the alarm on
Metric objects can be obtained from most resources, or you can construct custom Metric objects by instantiating one.
OptionalokReadonlythresholdThe value against which the specified statistic is compared.
Optional ReadonlytreatSets how this alarm is to handle missing data points.
Whether the actions for this alarm are enabled