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

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

Syntax

To declare this entity in your 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 AWS IoT Core topic.

Required: No

Type: Payload

Update requires: No interruption