| Modifier and Type | Method and Description |
|---|---|
Alarm.Builder |
Alarm.Builder.actionsEnabled(Boolean actionsEnabled)
Whether the actions for this alarm are enabled.
|
Alarm.Builder |
Alarm.Builder.alarmDescription(String alarmDescription)
Description for the alarm.
|
Alarm.Builder |
Alarm.Builder.alarmName(String alarmName)
Name of the alarm.
|
Alarm.Builder |
Alarm.Builder.comparisonOperator(ComparisonOperator comparisonOperator)
Comparison to use to check if metric is breaching.
|
static Alarm.Builder |
Alarm.Builder.create(software.constructs.Construct scope,
String id) |
Alarm.Builder |
Alarm.Builder.datapointsToAlarm(Number datapointsToAlarm)
The number of datapoints that must be breaching to trigger the alarm.
|
Alarm.Builder |
Alarm.Builder.evaluateLowSampleCountPercentile(String evaluateLowSampleCountPercentile)
Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.
|
Alarm.Builder |
Alarm.Builder.evaluationPeriods(Number evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
Alarm.Builder |
Alarm.Builder.metric(IMetric metric)
The metric to add the alarm on.
|
Alarm.Builder |
Alarm.Builder.period(Duration period)
Deprecated.
Use `metric.with({ period: ... })` to encode the period into the Metric object
|
Alarm.Builder |
Alarm.Builder.statistic(String statistic)
Deprecated.
Use `metric.with({ statistic: ... })` to encode the period into the Metric object
|
Alarm.Builder |
Alarm.Builder.threshold(Number threshold)
The value against which the specified statistic is compared.
|
Alarm.Builder |
Alarm.Builder.treatMissingData(TreatMissingData treatMissingData)
Sets how this alarm is to handle missing data points.
|
Copyright © 2023. All rights reserved.