DetectorModelIotTopicPublishArgs

data class DetectorModelIotTopicPublishArgs(val mqttTopic: Output<String>, val payload: Output<DetectorModelPayloadArgs>? = null) : ConvertibleToJava<DetectorModelIotTopicPublishArgs>

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

Constructors

Link copied to clipboard
constructor(mqttTopic: Output<String>, payload: Output<DetectorModelPayloadArgs>? = null)

Properties

Link copied to clipboard
val mqttTopic: Output<String>

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.

Link copied to clipboard
val payload: Output<DetectorModelPayloadArgs>? = null

You can configure the action payload when you publish a message to an IoTCore topic.

Functions

Link copied to clipboard
open override fun toJava(): DetectorModelIotTopicPublishArgs