Interface CfnAlarmModel.SimpleRuleProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnAlarmModel.SimpleRuleProperty extends
A rule that compares an input property value to a threshold value with a comparison operator.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 SimpleRuleProperty simpleRuleProperty = SimpleRuleProperty.builder()
  • Method Details

    • getComparisonOperator

      @Stability(Stable) @NotNull String getComparisonOperator()
      The comparison operator.
    • getInputProperty

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) static CfnAlarmModel.SimpleRuleProperty.Builder builder()
      a CfnAlarmModel.SimpleRuleProperty.Builder of CfnAlarmModel.SimpleRuleProperty