Amazon IoT Events · JSON Structure

Iot Events Notification Target Actions Structure

Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.

Type: object Properties: 1
Event DetectionIoTState MachineAutomation

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

Properties

lambdaAction

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-notification-target-actions-structure.json",
  "name": "NotificationTargetActions",
  "description": "Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html\">AWS Lambda function provided by AWS IoT Events</a>.",
  "type": "object",
  "properties": {
    "lambdaAction": {
      "type": "object",
      "required": [
        "functionArn"
      ],
      "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."
            }
          ]
        }
      },
      "description": "Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action."
    }
  }
}