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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnAlarmProps
CfnAlarmProps.Builder, CfnAlarmProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnAlarmProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAlarmProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The name of the alarm.final String
The 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 Number
The number of data points within the evaluation periods that must be breaching to cause the alarm to go to theALARM
state.final Number
The number of periods over which data is compared to the specified threshold.final String
The name of the metric associated with the alarm.final String
The name of the Lightsail resource that the alarm monitors.final Object
A Boolean value indicating whether the alarm is enabled.The alarm states that trigger a notification.final Number
The value against which the specified statistic is compared.final String
Specifies how the alarm handles missing data points.final int
hashCode()
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:CfnAlarmProps
The name of the alarm.- Specified by:
getAlarmName
in interfaceCfnAlarmProps
- See Also:
-
getComparisonOperator
Description copied from interface:CfnAlarmProps
The arithmetic operation to use when comparing the specified statistic and threshold.- Specified by:
getComparisonOperator
in interfaceCfnAlarmProps
- See Also:
-
getEvaluationPeriods
Description copied from interface:CfnAlarmProps
The number of periods over which data is compared to the specified threshold.- Specified by:
getEvaluationPeriods
in interfaceCfnAlarmProps
- See Also:
-
getMetricName
Description copied from interface:CfnAlarmProps
The name of the metric associated with the alarm.- Specified by:
getMetricName
in interfaceCfnAlarmProps
- See Also:
-
getMonitoredResourceName
Description copied from interface:CfnAlarmProps
The name of the Lightsail resource that the alarm monitors.- Specified by:
getMonitoredResourceName
in interfaceCfnAlarmProps
- See Also:
-
getThreshold
Description copied from interface:CfnAlarmProps
The value against which the specified statistic is compared.- Specified by:
getThreshold
in interfaceCfnAlarmProps
- See Also:
-
getContactProtocols
Description copied from interface:CfnAlarmProps
The contact protocols for the alarm, such asEmail
,SMS
(text messaging), or both.Allowed Values :
Email
|SMS
- Specified by:
getContactProtocols
in interfaceCfnAlarmProps
- See Also:
-
getDatapointsToAlarm
Description copied from interface:CfnAlarmProps
The number of data points within the evaluation periods that must be breaching to cause the alarm to go to theALARM
state.- Specified by:
getDatapointsToAlarm
in interfaceCfnAlarmProps
- See Also:
-
getNotificationEnabled
Description copied from interface:CfnAlarmProps
A Boolean value indicating whether the alarm is enabled.- Specified by:
getNotificationEnabled
in interfaceCfnAlarmProps
- See Also:
-
getNotificationTriggers
Description copied from interface:CfnAlarmProps
The alarm states that trigger a notification.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
- Specified by:
getNotificationTriggers
in interfaceCfnAlarmProps
- See Also:
-
getTreatMissingData
Description copied from interface:CfnAlarmProps
Specifies 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:
getTreatMissingData
in interfaceCfnAlarmProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-