AWS::IoTEvents::AlarmModel SimpleRule - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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