| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudwatch |
Amazon CloudWatch Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
CfnAlarm.Builder |
CfnAlarm.Builder.actionsEnabled(Boolean actionsEnabled)
Indicates whether actions should be executed during any changes to the alarm state.
|
CfnAlarm.Builder |
CfnAlarm.Builder.actionsEnabled(IResolvable actionsEnabled)
Indicates whether actions should be executed during any changes to the alarm state.
|
CfnAlarm.Builder |
CfnAlarm.Builder.alarmActions(List<String> alarmActions)
The list of actions to execute when this alarm transitions into an ALARM state from any other state.
|
CfnAlarm.Builder |
CfnAlarm.Builder.alarmDescription(String alarmDescription)
The description of the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.alarmName(String alarmName)
The name of the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.comparisonOperator(String comparisonOperator)
The arithmetic operation to use when comparing the specified statistic and threshold.
|
static CfnAlarm.Builder |
CfnAlarm.Builder.create(software.constructs.Construct scope,
String id) |
CfnAlarm.Builder |
CfnAlarm.Builder.datapointsToAlarm(Number datapointsToAlarm)
The number of datapoints that must be breaching to trigger the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.dimensions(IResolvable dimensions)
The dimensions for the metric associated with the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.dimensions(List<? extends Object> dimensions)
The dimensions for the metric associated with the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.evaluateLowSampleCountPercentile(String evaluateLowSampleCountPercentile)
Used only for alarms based on percentiles.
|
CfnAlarm.Builder |
CfnAlarm.Builder.evaluationPeriods(Number evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
CfnAlarm.Builder |
CfnAlarm.Builder.extendedStatistic(String extendedStatistic)
The percentile statistic for the metric associated with the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.insufficientDataActions(List<String> insufficientDataActions)
The actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state.
|
CfnAlarm.Builder |
CfnAlarm.Builder.metricName(String metricName)
The name of the metric associated with the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.metrics(IResolvable metrics)
An array that enables you to create an alarm based on the result of a metric math expression.
|
CfnAlarm.Builder |
CfnAlarm.Builder.metrics(List<? extends Object> metrics)
An array that enables you to create an alarm based on the result of a metric math expression.
|
CfnAlarm.Builder |
CfnAlarm.Builder.namespace(String namespace)
The namespace of the metric associated with the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.okActions(List<String> okActions)
The actions to execute when this alarm transitions to the `OK` state from any other state.
|
CfnAlarm.Builder |
CfnAlarm.Builder.period(Number period)
The period, in seconds, over which the statistic is applied.
|
CfnAlarm.Builder |
CfnAlarm.Builder.statistic(String statistic)
The statistic for the metric associated with the alarm, other than percentile.
|
CfnAlarm.Builder |
CfnAlarm.Builder.threshold(Number threshold)
The value to compare with the specified statistic.
|
CfnAlarm.Builder |
CfnAlarm.Builder.thresholdMetricId(String thresholdMetricId)
In 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.
|
CfnAlarm.Builder |
CfnAlarm.Builder.treatMissingData(String treatMissingData)
Sets how this alarm is to handle missing data points.
|
CfnAlarm.Builder |
CfnAlarm.Builder.unit(String unit)
The unit of the metric associated with the alarm.
|
Copyright © 2022. All rights reserved.