Amazon IoT Events · Schema

NotificationAction

Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
action object
smsConfigurations object
emailConfigurations object
View JSON Schema on GitHub

JSON Schema

iot-events-notification-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-notification-action-schema.json",
  "title": "NotificationAction",
  "description": "Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.",
  "type": "object",
  "properties": {
    "action": {
      "allOf": [
        {
          "$ref": "#/components/schemas/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>."
        }
      ]
    },
    "smsConfigurations": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SMSConfigurations"
        },
        {
          "description": "Contains the configuration information of SMS notifications."
        }
      ]
    },
    "emailConfigurations": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EmailConfigurations"
        },
        {
          "description": "Contains the configuration information of email notifications."
        }
      ]
    }
  },
  "required": [
    "action"
  ]
}