Amazon IoT Events · JSON Structure

Iot Events Iot Events Action Structure

Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.

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

IotEventsAction 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

inputName 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-iot-events-action-structure.json",
  "name": "IotEventsAction",
  "description": "Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.",
  "type": "object",
  "properties": {
    "inputName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InputName"
        },
        {
          "description": "The name of the AWS IoT Events input where the data is sent."
        }
      ]
    },
    "payload": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Payload"
        },
        {
          "description": "You can configure the action payload when you send a message to an AWS IoT Events input."
        }
      ]
    }
  },
  "required": [
    "inputName"
  ]
}