class Aws::IoTEvents::Types::IotTopicPublishAction

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

@note When making an API call, you may pass IotTopicPublishAction

data as a hash:

    {
      mqtt_topic: "MQTTTopic", # required
      payload: {
        content_expression: "ContentExpression", # required
        type: "STRING", # required, accepts STRING, JSON
      },
    }

@!attribute [rw] mqtt_topic

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.
@return [String]

@!attribute [rw] payload

You can configure the action payload when you publish a message to
an AWS IoT Core topic.
@return [Types::Payload]

Constants

SENSITIVE