Skip to content

IotTopicPublishAction

Source code in docs_src/capo_iot_events/types/iot_topic_publish_action.py
class IotTopicPublishAction(TypedDict, closed=True):
    mqtt_topic: "capo_iot_events.types.mqtt_topic.MQTTTopic"
    """<p>The MQTT topic of the message. You can use a string expression that includes variables (<code>$variable.<variable-name></code>) and input values (<code>$input.<input-name>.<path-to-datum></code>) as the topic string.</p>"""
    payload: NotRequired["capo_iot_events.types.payload.Payload"]
    """<p>You can configure the action payload when you publish a message to an AWS IoT Core topic.</p>"""

mqtt_topic instance-attribute

mqtt_topic: MQTTTopic

The MQTT topic of the message. You can use a string expression that includes variables ($variable.) and input values ($input..) as the topic string.

payload instance-attribute

payload: NotRequired[Payload]

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