Interface CfnAlarmModel.AlarmRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmModel.AlarmRuleProperty.Jsii$Proxy
- Enclosing class:
CfnAlarmModel
@Stability(Stable)
public static interface CfnAlarmModel.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.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 forCfnAlarmModel.AlarmRulePropertystatic final classAn implementation forCfnAlarmModel.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
IResolvableorCfnAlarmModel.SimpleRuleProperty- See Also:
-
builder
-