AWS::IoTEvents::DetectorModel IotTopicPublish - 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::DetectorModel IotTopicPublish

Information required to publish the MQTT message through the Amazon IoT message broker.

Syntax

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

JSON

{ "MqttTopic" : String, "Payload" : Payload }

YAML

MqttTopic: String Payload: Payload

Properties

MqttTopic

The MQTT topic of the message. You can use a string expression that includes variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>) as the topic string.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption

Payload

You can configure the action payload when you publish a message to an Amazon IoT Core topic.

Required: No

Type: Payload

Update requires: No interruption