Skip to content
v2.275.0

AlarmRuleProperty Struct ​

Defines when your alarm is invoked.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotevents as iotevents } from 'aws-cdk-lib';
const alarmRuleProperty: iotevents.CfnAlarmModel.AlarmRuleProperty = {
  simpleRule: {
    comparisonOperator: 'comparisonOperator',
    inputProperty: 'inputProperty',
    threshold: 'threshold',
  },
};

Properties ​

simpleRuleoptionalIResolvable | CfnAlarmModel.SimpleRulePropertysimple_ruleoptionaltyping.Union[IResolvable, SimpleRuleProperty]simpleRuleoptionalIResolvableSimpleRuleoptionalIResolvableSimpleRuleoptionalinterface{}#
A rule that compares an input property value to a threshold value with a comparison operator.