Class: Aws::IoTEvents::Types::IotTopicPublishAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb

Overview

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
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mqtt_topicString

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.

Returns:

  • (String)


2460
2461
2462
2463
2464
2465
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2460

class IotTopicPublishAction < Struct.new(
  :mqtt_topic,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#payloadTypes::Payload

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

Returns:



2460
2461
2462
2463
2464
2465
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2460

class IotTopicPublishAction < Struct.new(
  :mqtt_topic,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end