Amazon IoT Events · Schema

Event

Specifies the actions to be performed when the condition evaluates to TRUE.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
eventName object
condition object
actions object
View JSON Schema on GitHub

JSON Schema

iot-events-event-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-event-schema.json",
  "title": "Event",
  "description": "Specifies the <code>actions</code> to be performed when the <code>condition</code> evaluates to TRUE.",
  "type": "object",
  "properties": {
    "eventName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventName"
        },
        {
          "description": "The name of the event."
        }
      ]
    },
    "condition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Condition"
        },
        {
          "description": "Optional. The Boolean expression that, when TRUE, causes the <code>actions</code> to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE)."
        }
      ]
    },
    "actions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Actions"
        },
        {
          "description": "The actions to be performed."
        }
      ]
    }
  },
  "required": [
    "eventName"
  ]
}