AWS::IoT::TopicRule TopicRulePayload - AWS CloudFormation

AWS::IoT::TopicRule TopicRulePayload

Describes a rule.

Syntax

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

JSON

{ "Actions" : [ Action, ... ], "AwsIotSqlVersion" : String, "Description" : String, "ErrorAction" : Action, "RuleDisabled" : Boolean, "Sql" : String }

YAML

Actions: - Action AwsIotSqlVersion: String Description: String ErrorAction: Action RuleDisabled: Boolean Sql: String

Properties

Actions

The actions associated with the rule.

Required: Yes

Type: Array of Action

Minimum: 0

Maximum: 10

Update requires: No interruption

AwsIotSqlVersion

The version of the SQL rules engine to use when evaluating the rule.

The default value is 2015-10-08.

Required: No

Type: String

Update requires: No interruption

Description

The description of the rule.

Required: No

Type: String

Update requires: No interruption

ErrorAction

The action to take when an error occurs.

Required: No

Type: Action

Update requires: No interruption

RuleDisabled

Specifies whether the rule is disabled.

Required: No

Type: Boolean

Update requires: No interruption

Sql

The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide.

Required: Yes

Type: String

Update requires: No interruption