Amazon IoT Events · Schema

SNSTopicPublishAction

Information required to publish the Amazon SNS message.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
targetArn object
payload object
View JSON Schema on GitHub

JSON Schema

iot-events-s-n-s-topic-publish-action-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-schema/iot-events-s-n-s-topic-publish-action-schema.json",
  "title": "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"
  ]
}