Amazon IoT Events · Schema

LambdaAction

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
functionArn object
payload object
View JSON Schema on GitHub

JSON Schema

iot-events-lambda-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-lambda-action-schema.json",
  "title": "LambdaAction",
  "description": "Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.",
  "type": "object",
  "properties": {
    "functionArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AmazonResourceName"
        },
        {
          "description": "The ARN of the Lambda function that is executed."
        }
      ]
    },
    "payload": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Payload"
        },
        {
          "description": "You can configure the action payload when you send a message to a Lambda function."
        }
      ]
    }
  },
  "required": [
    "functionArn"
  ]
}