Snowflake · Schema

NotificationHook

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
type string Type of NotificationHook, can be QUEUE, EMAIL or WEBHOOK
View JSON Schema on GitHub

JSON Schema

snowflake-notificationhook-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NotificationHook",
  "title": "NotificationHook",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "EMAIL",
        "WEBHOOK",
        "QUEUE_AWS_SNS_OUTBOUND",
        "QUEUE_AZURE_EVENT_GRID_OUTBOUND",
        "QUEUE_GCP_PUBSUB_OUTBOUND",
        "QUEUE_AZURE_EVENT_GRID_INBOUND",
        "QUEUE_GCP_PUBSUB_INBOUND"
      ],
      "description": "Type of NotificationHook, can be QUEUE, EMAIL or WEBHOOK",
      "example": "EMAIL"
    }
  },
  "required": [
    "type"
  ],
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "EMAIL": "NotificationEmail",
      "WEBHOOK": "NotificationWebhook",
      "QUEUE_AWS_SNS_OUTBOUND": "NotificationQueueAwsSnsOutbound",
      "QUEUE_AZURE_EVENT_GRID_OUTBOUND": "NotificationQueueAzureEventGridOutbound",
      "QUEUE_GCP_PUBSUB_OUTBOUND": "NotificationQueueGcpPubsubOutbound",
      "QUEUE_AZURE_EVENT_GRID_INBOUND": "NotificationQueueAzureEventGridInbound",
      "QUEUE_GCP_PUBSUB_INBOUND": "NotificationQueueGcpPubsubInbound"
    }
  }
}