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

SimpleRule

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

Contents

comparisonOperator

The comparison operator.

Type: String

Valid Values: GREATER | GREATER_OR_EQUAL | LESS | LESS_OR_EQUAL | EQUAL | NOT_EQUAL

Required: Yes

inputProperty

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: Yes

threshold

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: