interface SimpleRuleProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.IoTEvents.CfnAlarmModel.SimpleRuleProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnAlarmModel_SimpleRuleProperty | 
  Java | software.amazon.awscdk.services.iotevents.CfnAlarmModel.SimpleRuleProperty | 
  Python | aws_cdk.aws_iotevents.CfnAlarmModel.SimpleRuleProperty | 
  TypeScript  | aws-cdk-lib » 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 { aws_iotevents as iotevents } from 'aws-cdk-lib';
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
 Go
 Java
 Python
 TypeScript