Interface CfnAlarmModel.SimpleRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmModel.SimpleRuleProperty.Jsii$Proxy
- Enclosing class:
- CfnAlarmModel
@Stability(Stable)
public static interface CfnAlarmModel.SimpleRuleProperty
extends software.amazon.jsii.JsiiSerializable
A rule that compares an input property value to a threshold value with a comparison operator.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotevents.*;
SimpleRuleProperty simpleRuleProperty = SimpleRuleProperty.builder()
.comparisonOperator("comparisonOperator")
.inputProperty("inputProperty")
.threshold("threshold")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlarmModel.SimpleRulePropertystatic final classAn implementation forCfnAlarmModel.SimpleRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The comparison operator.The value on the left side of the comparison operator.The value on the right side of the comparison operator.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComparisonOperator
The comparison operator. -
getInputProperty
The value on the left side of the comparison operator.You can specify an AWS IoT Events input attribute as an input property.
-
getThreshold
The value on the right side of the comparison operator.You can enter a number or specify an AWS IoT Events input attribute.
-
builder
-