Amazon IoT Events · JSON Structure

Iot Events Events Structure

Events schema

Type: array Properties: 0
Event DetectionIoTState MachineAutomation

Events is a JSON Structure definition published by Amazon IoT Events. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

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-events-structure.json",
  "name": "Events",
  "description": "Events schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "eventName"
    ],
    "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."
          }
        ]
      }
    },
    "description": "Specifies the <code>actions</code> to be performed when the <code>condition</code> evaluates to TRUE."
  }
}