@Stability(value=Stable) @Internal public static final class CfnAlarmProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAlarmProps
CfnAlarmPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnAlarmProps.Builder, CfnAlarmProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnAlarmProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnAlarmProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAlarmName()
The name of the alarm.
|
String |
getComparisonOperator()
The arithmetic operation to use when comparing the specified statistic and threshold.
|
List<String> |
getContactProtocols()
The contact protocols for the alarm, such as `Email` , `SMS` (text messaging), or both.
|
Number |
getDatapointsToAlarm()
The number of data points within the evaluation periods that must be breaching to cause the alarm to go to the `ALARM` state.
|
Number |
getEvaluationPeriods()
The number of periods over which data is compared to the specified threshold.
|
String |
getMetricName()
The name of the metric associated with the alarm.
|
String |
getMonitoredResourceName()
The name of the Lightsail resource that the alarm monitors.
|
Object |
getNotificationEnabled()
A Boolean value indicating whether the alarm is enabled.
|
List<String> |
getNotificationTriggers()
The alarm states that trigger a notification.
|
Number |
getThreshold()
The value against which the specified statistic is compared.
|
String |
getTreatMissingData()
Specifies how the alarm handles missing data points.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnAlarmProps.Builder builder)
CfnAlarmProps.Builder.public final String getAlarmName()
CfnAlarmPropsgetAlarmName in interface CfnAlarmPropspublic final String getComparisonOperator()
CfnAlarmPropsgetComparisonOperator in interface CfnAlarmPropspublic final Number getEvaluationPeriods()
CfnAlarmPropsgetEvaluationPeriods in interface CfnAlarmPropspublic final String getMetricName()
CfnAlarmPropsgetMetricName in interface CfnAlarmPropspublic final String getMonitoredResourceName()
CfnAlarmPropsgetMonitoredResourceName in interface CfnAlarmPropspublic final Number getThreshold()
CfnAlarmPropsgetThreshold in interface CfnAlarmPropspublic final List<String> getContactProtocols()
CfnAlarmProps
Allowed Values : Email | SMS
getContactProtocols in interface CfnAlarmPropspublic final Number getDatapointsToAlarm()
CfnAlarmPropsgetDatapointsToAlarm in interface CfnAlarmPropspublic final Object getNotificationEnabled()
CfnAlarmPropsgetNotificationEnabled in interface CfnAlarmPropspublic final List<String> getNotificationTriggers()
CfnAlarmProps
To specify the
OKandINSUFFICIENT_DATAvalues, you must also specifyContactProtocolsvalues. Otherwise, theOKandINSUFFICIENT_DATAvalues will not take effect and the stack will drift.
Allowed Values : OK | ALARM | INSUFFICIENT_DATA
getNotificationTriggers in interface CfnAlarmPropspublic final String getTreatMissingData()
CfnAlarmPropsAn alarm can treat missing data in the following ways:
breaching - Assumes the missing data is not within the threshold. Missing data counts towards the number of times that the metric is not within the threshold.notBreaching - Assumes the missing data is within the threshold. Missing data does not count towards the number of times that the metric is not within the threshold.ignore - Ignores the missing data. Maintains the current alarm state.missing - Missing data is treated as missing.getTreatMissingData in interface CfnAlarmProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.