{ "$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 AWS Lambda function provided by AWS IoT Events." } ] }, "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" ] }