Amazon IoT Events · Schema

SetVariableAction

Information about the variable and its new value.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
variableName object
value object
View JSON Schema on GitHub

JSON Schema

iot-events-set-variable-action-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-set-variable-action-schema.json",
  "title": "SetVariableAction",
  "description": "Information about the variable and its new value.",
  "type": "object",
  "properties": {
    "variableName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/VariableName"
        },
        {
          "description": "The name of the variable."
        }
      ]
    },
    "value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/VariableValue"
        },
        {
          "description": "The new value of the variable."
        }
      ]
    }
  },
  "required": [
    "variableName",
    "value"
  ]
}