Uses of Class
software.amazon.awscdk.services.lightsail.CfnAlarm.Builder
-
Uses of CfnAlarm.Builder in software.amazon.awscdk.services.lightsail
Modifier and TypeMethodDescriptionThe name of the alarm.CfnAlarm.Builder.comparisonOperator
(String comparisonOperator) The arithmetic operation to use when comparing the specified statistic and threshold.CfnAlarm.Builder.contactProtocols
(List<String> contactProtocols) The contact protocols for the alarm, such asEmail
,SMS
(text messaging), or both.static 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 theALARM
state.CfnAlarm.Builder.evaluationPeriods
(Number evaluationPeriods) The number of periods over which data is compared to the specified threshold.CfnAlarm.Builder.metricName
(String metricName) The name of the metric associated with the alarm.CfnAlarm.Builder.monitoredResourceName
(String monitoredResourceName) The name of the Lightsail resource that the alarm monitors.CfnAlarm.Builder.notificationEnabled
(Boolean notificationEnabled) A Boolean value indicating whether the alarm is enabled.CfnAlarm.Builder.notificationEnabled
(IResolvable notificationEnabled) A Boolean value indicating whether the alarm is enabled.CfnAlarm.Builder.notificationTriggers
(List<String> notificationTriggers) The alarm states that trigger a notification.The value against which the specified statistic is compared.CfnAlarm.Builder.treatMissingData
(String treatMissingData) Specifies how the alarm handles missing data points.