| Package | Description |
|---|---|
| software.amazon.awscdk.services.lightsail |
AWS::Lightsail Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
CfnAlarm.Builder |
CfnAlarm.Builder.contactProtocols(List<String> contactProtocols)
The contact protocols for the alarm, such as `Email` , `SMS` (text messaging), or both.
|
static CfnAlarm.Builder |
CfnAlarm.Builder.create(software.constructs.Construct scope,
String id) |
CfnAlarm.Builder |
CfnAlarm.Builder.datapointsToAlarm(Number datapointsToAlarm)
The number of data points within the evaluation periods that must be breaching to cause the alarm to go to the `ALARM` state.
|
CfnAlarm.Builder |
CfnAlarm.Builder.evaluationPeriods(Number evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
CfnAlarm.Builder |
CfnAlarm.Builder.metricName(String metricName)
The name of the metric associated with the alarm.
|
CfnAlarm.Builder |
CfnAlarm.Builder.monitoredResourceName(String monitoredResourceName)
The name of the Lightsail resource that the alarm monitors.
|
CfnAlarm.Builder |
CfnAlarm.Builder.notificationEnabled(Boolean notificationEnabled)
A Boolean value indicating whether the alarm is enabled.
|
CfnAlarm.Builder |
CfnAlarm.Builder.notificationEnabled(IResolvable notificationEnabled)
A Boolean value indicating whether the alarm is enabled.
|
CfnAlarm.Builder |
CfnAlarm.Builder.notificationTriggers(List<String> notificationTriggers)
The alarm states that trigger a notification.
|
CfnAlarm.Builder |
CfnAlarm.Builder.threshold(Number threshold)
The value against which the specified statistic is compared.
|
CfnAlarm.Builder |
CfnAlarm.Builder.treatMissingData(String treatMissingData)
Specifies how the alarm handles missing data points.
|
Copyright © 2022. All rights reserved.