public static final class CfnAlarmProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAlarmProps
CfnAlarmProps
CfnAlarmProps.Builder, CfnAlarmProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getAlarmName()
The name of the alarm.
|
java.lang.String |
getComparisonOperator()
The arithmetic operation to use when comparing the specified statistic and threshold.
|
java.util.List<java.lang.String> |
getContactProtocols()
The contact protocols for the alarm, such as `Email` , `SMS` (text messaging), or both.
|
java.lang.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.
|
java.lang.Number |
getEvaluationPeriods()
The number of periods over which data is compared to the specified threshold.
|
java.lang.String |
getMetricName()
The name of the metric associated with the alarm.
|
java.lang.String |
getMonitoredResourceName()
The name of the Lightsail resource that the alarm monitors.
|
java.lang.Object |
getNotificationEnabled()
A Boolean value indicating whether the alarm is enabled.
|
java.util.List<java.lang.String> |
getNotificationTriggers()
The alarm states that trigger a notification.
|
java.lang.Number |
getThreshold()
The value against which the specified statistic is compared.
|
java.lang.String |
getTreatMissingData()
Specifies how the alarm handles missing data points.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getAlarmName()
CfnAlarmProps
getAlarmName
in interface CfnAlarmProps
public final java.lang.String getComparisonOperator()
CfnAlarmProps
getComparisonOperator
in interface CfnAlarmProps
public final java.lang.Number getEvaluationPeriods()
CfnAlarmProps
getEvaluationPeriods
in interface CfnAlarmProps
public final java.lang.String getMetricName()
CfnAlarmProps
getMetricName
in interface CfnAlarmProps
public final java.lang.String getMonitoredResourceName()
CfnAlarmProps
getMonitoredResourceName
in interface CfnAlarmProps
public final java.lang.Number getThreshold()
CfnAlarmProps
getThreshold
in interface CfnAlarmProps
public final java.util.List<java.lang.String> getContactProtocols()
CfnAlarmProps
Allowed Values : Email
| SMS
getContactProtocols
in interface CfnAlarmProps
public final java.lang.Number getDatapointsToAlarm()
CfnAlarmProps
getDatapointsToAlarm
in interface CfnAlarmProps
public final java.lang.Object getNotificationEnabled()
CfnAlarmProps
getNotificationEnabled
in interface CfnAlarmProps
public final java.util.List<java.lang.String> getNotificationTriggers()
CfnAlarmProps
To specify the
OK
andINSUFFICIENT_DATA
values, you must also specifyContactProtocols
values. Otherwise, theOK
andINSUFFICIENT_DATA
values will not take effect and the stack will drift.
Allowed Values : OK
| ALARM
| INSUFFICIENT_DATA
getNotificationTriggers
in interface CfnAlarmProps
public final java.lang.String getTreatMissingData()
CfnAlarmProps
An 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()