Class CfnAlarmMixinProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnAlarmMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnAlarmMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAlarmMixinProps
@Stability(Stable)
@Internal
public static final class CfnAlarmMixinProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAlarmMixinProps
An implementation for
CfnAlarmMixinProps-
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.cfnpropertymixins.services.lightsail.CfnAlarmMixinProps
CfnAlarmMixinProps.Builder, CfnAlarmMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnAlarmMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAlarmMixinProps.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 theCfnAlarmMixinProps.Builder.
-
-
Method Details
-
getAlarmName
Description copied from interface:CfnAlarmMixinPropsThe name of the alarm.- Specified by:
getAlarmNamein interfaceCfnAlarmMixinProps- See Also:
-
getComparisonOperator
Description copied from interface:CfnAlarmMixinPropsThe arithmetic operation to use when comparing the specified statistic and threshold.- Specified by:
getComparisonOperatorin interfaceCfnAlarmMixinProps- See Also:
-
getContactProtocols
Description copied from interface:CfnAlarmMixinPropsThe contact protocols for the alarm, such asEmail,SMS(text messaging), or both.Allowed Values :
Email|SMS- Specified by:
getContactProtocolsin interfaceCfnAlarmMixinProps- See Also:
-
getDatapointsToAlarm
Description copied from interface:CfnAlarmMixinPropsThe number of data points within the evaluation periods that must be breaching to cause the alarm to go to theALARMstate.- Specified by:
getDatapointsToAlarmin interfaceCfnAlarmMixinProps- See Also:
-
getEvaluationPeriods
Description copied from interface:CfnAlarmMixinPropsThe number of periods over which data is compared to the specified threshold.- Specified by:
getEvaluationPeriodsin interfaceCfnAlarmMixinProps- See Also:
-
getMetricName
Description copied from interface:CfnAlarmMixinPropsThe name of the metric associated with the alarm.- Specified by:
getMetricNamein interfaceCfnAlarmMixinProps- See Also:
-
getMonitoredResourceName
Description copied from interface:CfnAlarmMixinPropsThe name of the Lightsail resource that the alarm monitors.- Specified by:
getMonitoredResourceNamein interfaceCfnAlarmMixinProps- See Also:
-
getNotificationEnabled
Description copied from interface:CfnAlarmMixinPropsA Boolean value indicating whether the alarm is enabled.Returns union: either
BooleanorIResolvable- Specified by:
getNotificationEnabledin interfaceCfnAlarmMixinProps- See Also:
-
getNotificationTriggers
Description copied from interface:CfnAlarmMixinPropsThe 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 interfaceCfnAlarmMixinProps- See Also:
-
getThreshold
Description copied from interface:CfnAlarmMixinPropsThe value against which the specified statistic is compared.- Specified by:
getThresholdin interfaceCfnAlarmMixinProps- See Also:
-
getTreatMissingData
Description copied from interface:CfnAlarmMixinPropsSpecifies 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 interfaceCfnAlarmMixinProps- See Also:
-
$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()
-