Class CfnAlarmProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lightsail.CfnAlarmProps.Jsii$Proxy
- All Implemented Interfaces:
CfnAlarmProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnAlarmProps
@Stability(Stable)
@Internal
public static final class CfnAlarmProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAlarmProps
An implementation for
CfnAlarmProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnAlarmProps
CfnAlarmProps.Builder, CfnAlarmProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnAlarmProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAlarmProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe name of the alarm.final StringThe arithmetic operation to use when comparing the specified statistic and threshold.The contact protocols for the alarm, such asEmail,SMS(text messaging), or both.final NumberThe number of data points within the evaluation periods that must be breaching to cause the alarm to go to theALARMstate.final NumberThe number of periods over which data is compared to the specified threshold.final StringThe name of the metric associated with the alarm.final StringThe name of the Lightsail resource that the alarm monitors.final ObjectA Boolean value indicating whether the alarm is enabled.The alarm states that trigger a notification.final NumberThe value against which the specified statistic is compared.final StringSpecifies how the alarm handles missing data points.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAlarmProps.Builder.
-
-
Method Details
-
getAlarmName
Description copied from interface:CfnAlarmPropsThe name of the alarm.- Specified by:
getAlarmNamein interfaceCfnAlarmProps
-
getComparisonOperator
Description copied from interface:CfnAlarmPropsThe arithmetic operation to use when comparing the specified statistic and threshold.- Specified by:
getComparisonOperatorin interfaceCfnAlarmProps
-
getEvaluationPeriods
Description copied from interface:CfnAlarmPropsThe number of periods over which data is compared to the specified threshold.- Specified by:
getEvaluationPeriodsin interfaceCfnAlarmProps
-
getMetricName
Description copied from interface:CfnAlarmPropsThe name of the metric associated with the alarm.- Specified by:
getMetricNamein interfaceCfnAlarmProps
-
getMonitoredResourceName
Description copied from interface:CfnAlarmPropsThe name of the Lightsail resource that the alarm monitors.- Specified by:
getMonitoredResourceNamein interfaceCfnAlarmProps
-
getThreshold
Description copied from interface:CfnAlarmPropsThe value against which the specified statistic is compared.- Specified by:
getThresholdin interfaceCfnAlarmProps
-
getContactProtocols
Description copied from interface:CfnAlarmPropsThe contact protocols for the alarm, such asEmail,SMS(text messaging), or both.Allowed Values :
Email|SMS- Specified by:
getContactProtocolsin interfaceCfnAlarmProps
-
getDatapointsToAlarm
Description copied from interface:CfnAlarmPropsThe number of data points within the evaluation periods that must be breaching to cause the alarm to go to theALARMstate.- Specified by:
getDatapointsToAlarmin interfaceCfnAlarmProps
-
getNotificationEnabled
Description copied from interface:CfnAlarmPropsA Boolean value indicating whether the alarm is enabled.- Specified by:
getNotificationEnabledin interfaceCfnAlarmProps
-
getNotificationTriggers
Description copied from interface:CfnAlarmPropsThe alarm states that trigger a notification.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- Specified by:
getNotificationTriggersin interfaceCfnAlarmProps
-
getTreatMissingData
Description copied from interface:CfnAlarmPropsSpecifies how the alarm handles missing data points.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.
- Specified by:
getTreatMissingDatain interfaceCfnAlarmProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-