AWS::IoTEvents::AlarmModel SimpleRule - AWS CloudFormation

AWS::IoTEvents::AlarmModel SimpleRule

A rule that compares an input property value to a threshold value with a comparison operator.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "ComparisonOperator" : String, "InputProperty" : String, "Threshold" : String }

YAML

ComparisonOperator: String InputProperty: String Threshold: String

Properties

ComparisonOperator

The comparison operator.

Required: Yes

Type: String

Allowed values: GREATER | GREATER_OR_EQUAL | LESS | LESS_OR_EQUAL | EQUAL | NOT_EQUAL

Update requires: No interruption

InputProperty

The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.

Required: Yes

Type: String

Minimum: 1

Maximum: 512

Update requires: No interruption

Threshold

The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.

Required: Yes

Type: String

Minimum: 1

Maximum: 512

Update requires: No interruption