Interface CfnAlarmModelPropsMixin.AlarmRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmModelPropsMixin.AlarmRuleProperty.Jsii$Proxy
- Enclosing class:
CfnAlarmModelPropsMixin
@Stability(Stable)
public static interface CfnAlarmModelPropsMixin.AlarmRuleProperty
extends software.amazon.jsii.JsiiSerializable
Defines when your alarm is invoked.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iotevents.*;
AlarmRuleProperty alarmRuleProperty = AlarmRuleProperty.builder()
.simpleRule(SimpleRuleProperty.builder()
.comparisonOperator("comparisonOperator")
.inputProperty("inputProperty")
.threshold("threshold")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlarmModelPropsMixin.AlarmRulePropertystatic final classAn implementation forCfnAlarmModelPropsMixin.AlarmRuleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSimpleRule
A rule that compares an input property value to a threshold value with a comparison operator.Returns union: either
IResolvableorCfnAlarmModelPropsMixin.SimpleRuleProperty- See Also:
-
builder
-