AWS::IoTEvents::AlarmModel SimpleRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon 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 Amazon 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 Amazon IoT Events input attribute.

Required: Yes

Type: String

Minimum: 1

Maximum: 512

Update requires: No interruption