Amazon IoT Events · JSON Structure

Iot Events S N S Topic Publish Action Structure

Information required to publish the Amazon SNS message.

Type: object Properties: 2 Required: 1
Event DetectionIoTState MachineAutomation

SNSTopicPublishAction is a JSON Structure definition published by Amazon IoT Events, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

targetArn payload

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-structure/iot-events-s-n-s-topic-publish-action-structure.json",
  "name": "SNSTopicPublishAction",
  "description": "Information required to publish the Amazon SNS message.",
  "type": "object",
  "properties": {
    "targetArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AmazonResourceName"
        },
        {
          "description": "The ARN of the Amazon SNS target where the message is sent."
        }
      ]
    },
    "payload": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Payload"
        },
        {
          "description": "You can configure the action payload when you send a message as an Amazon SNS push notification."
        }
      ]
    }
  },
  "required": [
    "targetArn"
  ]
}