Amazon IoT Events · Schema

OnEnterLifecycle

When entering this state, perform these actions if the condition is TRUE.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
events object
View JSON Schema on GitHub

JSON Schema

iot-events-on-enter-lifecycle-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-on-enter-lifecycle-schema.json",
  "title": "OnEnterLifecycle",
  "description": "When entering this state, perform these <code>actions</code> if the <code>condition</code> is TRUE.",
  "type": "object",
  "properties": {
    "events": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Events"
        },
        {
          "description": "Specifies the actions that are performed when the state is entered and the <code>condition</code> is <code>TRUE</code>."
        }
      ]
    }
  }
}