interface AlarmRuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTEvents.CfnAlarmModel.AlarmRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnAlarmModel_AlarmRuleProperty |
Java | software.amazon.awscdk.services.iotevents.CfnAlarmModel.AlarmRuleProperty |
Python | aws_cdk.aws_iotevents.CfnAlarmModel.AlarmRuleProperty |
TypeScript | aws-cdk-lib » aws_iotevents » CfnAlarmModel » AlarmRuleProperty |
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 { aws_iotevents as iotevents } from 'aws-cdk-lib';
const alarmRuleProperty: iotevents.CfnAlarmModel.AlarmRuleProperty = {
simpleRule: {
comparisonOperator: 'comparisonOperator',
inputProperty: 'inputProperty',
threshold: 'threshold',
},
};
Properties
Name | Type | Description |
---|---|---|
simple | IResolvable | Simple | A rule that compares an input property value to a threshold value with a comparison operator. |
simpleRule?
Type:
IResolvable
|
Simple
(optional)
A rule that compares an input property value to a threshold value with a comparison operator.