Class CfnAlarmModel.SimpleRuleProperty
A rule that compares an input property value to a threshold value with a comparison operator.
Inheritance
System.Object
CfnAlarmModel.SimpleRuleProperty
Implements
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SimpleRuleProperty : Object, CfnAlarmModel.ISimpleRuleProperty
Syntax (vb)
Public Class SimpleRuleProperty
Inherits Object
Implements CfnAlarmModel.ISimpleRuleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTEvents;
var simpleRuleProperty = new SimpleRuleProperty {
ComparisonOperator = "comparisonOperator",
InputProperty = "inputProperty",
Threshold = "threshold"
};
Synopsis
Constructors
SimpleRuleProperty() |
Properties
ComparisonOperator | The comparison operator. |
InputProperty | The value on the left side of the comparison operator. |
Threshold | The value on the right side of the comparison operator. |
Constructors
SimpleRuleProperty()
public SimpleRuleProperty()
Properties
ComparisonOperator
The comparison operator.
public string ComparisonOperator { get; set; }
Property Value
System.String
Remarks
InputProperty
The value on the left side of the comparison operator.
public string InputProperty { get; set; }
Property Value
System.String
Remarks
You can specify an AWS IoT Events input attribute as an input property.
Threshold
The value on the right side of the comparison operator.
public string Threshold { get; set; }
Property Value
System.String
Remarks
You can enter a number or specify an AWS IoT Events input attribute.