interface SimpleRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTEvents.CfnAlarmModel.SimpleRuleProperty |
Java | software.amazon.awscdk.services.iotevents.CfnAlarmModel.SimpleRuleProperty |
Python | aws_cdk.aws_iotevents.CfnAlarmModel.SimpleRuleProperty |
TypeScript | @aws-cdk/aws-iotevents » CfnAlarmModel » SimpleRuleProperty |
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 * as iotevents from '@aws-cdk/aws-iotevents';
const simpleRuleProperty: iotevents.CfnAlarmModel.SimpleRuleProperty = {
comparisonOperator: 'comparisonOperator',
inputProperty: 'inputProperty',
threshold: 'threshold',
};
Properties
| Name | Type | Description |
|---|---|---|
| comparison | string | The comparison operator. |
| input | string | The value on the left side of the comparison operator. |
| threshold | string | The value on the right side of the comparison operator. |
comparisonOperator
Type:
string
The comparison operator.
inputProperty
Type:
string
The value on the left side of the comparison operator.
You can specify an AWS IoT Events input attribute as an input property.
threshold
Type:
string
The value on the right side of the comparison operator.
You can enter a number or specify an AWS IoT Events input attribute.

.NET
Java
Python
TypeScript