Amazon IoT Events · Schema

TransitionEvent

Specifies the actions performed and the next state entered when a condition evaluates to TRUE.

Event DetectionIoTState MachineAutomation

Properties

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

JSON Schema

iot-events-transition-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-transition-event-schema.json",
  "title": "TransitionEvent",
  "description": "Specifies the actions performed and the next state entered when a <code>condition</code> evaluates to TRUE.",
  "type": "object",
  "properties": {
    "eventName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventName"
        },
        {
          "description": "The name of the transition event."
        }
      ]
    },
    "condition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Condition"
        },
        {
          "description": "Required. A Boolean expression that when TRUE causes the actions to be performed and the <code>nextState</code> to be entered."
        }
      ]
    },
    "actions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Actions"
        },
        {
          "description": "The actions to be performed."
        }
      ]
    },
    "nextState": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StateName"
        },
        {
          "description": "The next state to enter."
        }
      ]
    }
  },
  "required": [
    "eventName",
    "condition",
    "nextState"
  ]
}