published on Sunday, Nov 15, 2026 by Pulumiverse
published on Sunday, Nov 15, 2026 by Pulumiverse
Manages a link between a Vercel monitor and one existing account webhook.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumiverse/vercel";
const alerts = new vercel.Webhook("alerts", {
endpoint: "https://example.com/vercel-alerts",
events: ["alerts.triggered"],
});
const alertsMonitorWebhookNotification = new vercel.MonitorWebhookNotification("alerts", {
monitorId: "ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
webhookId: alerts.id,
});
import pulumi
import pulumiverse_vercel as vercel
alerts = vercel.Webhook("alerts",
endpoint="https://example.com/vercel-alerts",
events=["alerts.triggered"])
alerts_monitor_webhook_notification = vercel.MonitorWebhookNotification("alerts",
monitor_id="ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
webhook_id=alerts.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
alerts, err := vercel.NewWebhook(ctx, "alerts", &vercel.WebhookArgs{
Endpoint: pulumi.String("https://example.com/vercel-alerts"),
Events: pulumi.StringArray{
pulumi.String("alerts.triggered"),
},
})
if err != nil {
return err
}
_, err = vercel.NewMonitorWebhookNotification(ctx, "alerts", &vercel.MonitorWebhookNotificationArgs{
MonitorId: pulumi.String("ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
WebhookId: alerts.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vercel = Pulumiverse.Vercel;
return await Deployment.RunAsync(() =>
{
var alerts = new Vercel.Webhook("alerts", new()
{
Endpoint = "https://example.com/vercel-alerts",
Events = new[]
{
"alerts.triggered",
},
});
var alertsMonitorWebhookNotification = new Vercel.MonitorWebhookNotification("alerts", new()
{
MonitorId = "ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
WebhookId = alerts.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumiverse.vercel.Webhook;
import com.pulumiverse.vercel.WebhookArgs;
import com.pulumiverse.vercel.MonitorWebhookNotification;
import com.pulumiverse.vercel.MonitorWebhookNotificationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var alerts = new Webhook("alerts", WebhookArgs.builder()
.endpoint("https://example.com/vercel-alerts")
.events("alerts.triggered")
.build());
var alertsMonitorWebhookNotification = new MonitorWebhookNotification("alertsMonitorWebhookNotification", MonitorWebhookNotificationArgs.builder()
.monitorId("ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
.webhookId(alerts.id())
.build());
}
}
resources:
alerts:
type: vercel:Webhook
properties:
endpoint: https://example.com/vercel-alerts
events:
- alerts.triggered
alertsMonitorWebhookNotification:
type: vercel:MonitorWebhookNotification
name: alerts
properties:
monitorId: ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
webhookId: ${alerts.id}
Example coming soon!
Destination requirements
Each resource owns one link. Do not manage the same monitor and webhook pair in multiple Terraform resources or states.
The webhook must subscribe to alerts.triggered, must not set project_ids, and must be owned by the account. Configure it separately with vercel.Webhook, then pass its ID to webhook_id.
The special ar_default monitor ID is supported even though the default monitor itself cannot be managed by vercel.Monitor.
Create MonitorWebhookNotification Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitorWebhookNotification(name: string, args: MonitorWebhookNotificationArgs, opts?: CustomResourceOptions);@overload
def MonitorWebhookNotification(resource_name: str,
args: MonitorWebhookNotificationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MonitorWebhookNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitor_id: Optional[str] = None,
webhook_id: Optional[str] = None,
minimum_severity_level: Optional[str] = None,
team_id: Optional[str] = None)func NewMonitorWebhookNotification(ctx *Context, name string, args MonitorWebhookNotificationArgs, opts ...ResourceOption) (*MonitorWebhookNotification, error)public MonitorWebhookNotification(string name, MonitorWebhookNotificationArgs args, CustomResourceOptions? opts = null)
public MonitorWebhookNotification(String name, MonitorWebhookNotificationArgs args)
public MonitorWebhookNotification(String name, MonitorWebhookNotificationArgs args, CustomResourceOptions options)
type: vercel:MonitorWebhookNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "vercel_monitor_webhook_notification" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args MonitorWebhookNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MonitorWebhookNotificationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MonitorWebhookNotificationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorWebhookNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorWebhookNotificationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var monitorWebhookNotificationResource = new Vercel.MonitorWebhookNotification("monitorWebhookNotificationResource", new()
{
MonitorId = "string",
WebhookId = "string",
MinimumSeverityLevel = "string",
TeamId = "string",
});
example, err := vercel.NewMonitorWebhookNotification(ctx, "monitorWebhookNotificationResource", &vercel.MonitorWebhookNotificationArgs{
MonitorId: pulumi.String("string"),
WebhookId: pulumi.String("string"),
MinimumSeverityLevel: pulumi.String("string"),
TeamId: pulumi.String("string"),
})
resource "vercel_monitor_webhook_notification" "monitorWebhookNotificationResource" {
lifecycle {
create_before_destroy = true
}
monitor_id = "string"
webhook_id = "string"
minimum_severity_level = "string"
team_id = "string"
}
var monitorWebhookNotificationResource = new MonitorWebhookNotification("monitorWebhookNotificationResource", MonitorWebhookNotificationArgs.builder()
.monitorId("string")
.webhookId("string")
.minimumSeverityLevel("string")
.teamId("string")
.build());
monitor_webhook_notification_resource = vercel.MonitorWebhookNotification("monitorWebhookNotificationResource",
monitor_id="string",
webhook_id="string",
minimum_severity_level="string",
team_id="string")
const monitorWebhookNotificationResource = new vercel.MonitorWebhookNotification("monitorWebhookNotificationResource", {
monitorId: "string",
webhookId: "string",
minimumSeverityLevel: "string",
teamId: "string",
});
type: vercel:MonitorWebhookNotification
properties:
minimumSeverityLevel: string
monitorId: string
teamId: string
webhookId: string
MonitorWebhookNotification Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MonitorWebhookNotification resource accepts the following input properties:
- Monitor
Id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - Webhook
Id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - Minimum
Severity stringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - Team
Id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- Monitor
Id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - Webhook
Id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - Minimum
Severity stringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - Team
Id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- monitor_
id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - webhook_
id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - minimum_
severity_ stringlevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - team_
id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- monitor
Id String - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - webhook
Id String - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - minimum
Severity StringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - team
Id String - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- monitor
Id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - webhook
Id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - minimum
Severity stringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - team
Id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- monitor_
id str - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - webhook_
id str - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - minimum_
severity_ strlevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - team_
id str - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- monitor
Id String - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - webhook
Id String - The ID of an existing account webhook subscribed to the
alerts.triggeredevent. - minimum
Severity StringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - team
Id String - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitorWebhookNotification resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MonitorWebhookNotification Resource
Get an existing MonitorWebhookNotification resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MonitorWebhookNotificationState, opts?: CustomResourceOptions): MonitorWebhookNotification@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
minimum_severity_level: Optional[str] = None,
monitor_id: Optional[str] = None,
team_id: Optional[str] = None,
webhook_id: Optional[str] = None) -> MonitorWebhookNotificationfunc GetMonitorWebhookNotification(ctx *Context, name string, id IDInput, state *MonitorWebhookNotificationState, opts ...ResourceOption) (*MonitorWebhookNotification, error)public static MonitorWebhookNotification Get(string name, Input<string> id, MonitorWebhookNotificationState? state, CustomResourceOptions? opts = null)public static MonitorWebhookNotification get(String name, Output<String> id, MonitorWebhookNotificationState state, CustomResourceOptions options)resources: existingMonitorWebhookNotification: type: vercel:MonitorWebhookNotification get: id: ${id}import {
to = vercel_monitor_webhook_notification.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state MonitorWebhookNotificationState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state MonitorWebhookNotificationState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state MonitorWebhookNotificationState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state MonitorWebhookNotificationState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Minimum
Severity stringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - Monitor
Id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - Team
Id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- Webhook
Id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
- Minimum
Severity stringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - Monitor
Id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - Team
Id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- Webhook
Id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
- minimum_
severity_ stringlevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - monitor_
id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - team_
id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- webhook_
id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
- minimum
Severity StringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - monitor
Id String - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - team
Id String - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- webhook
Id String - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
- minimum
Severity stringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - monitor
Id string - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - team
Id string - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- webhook
Id string - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
- minimum_
severity_ strlevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - monitor_
id str - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - team_
id str - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- webhook_
id str - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
- minimum
Severity StringLevel - Set to
criticalto notify this destination only when an alert is classified as Critical. For custom alert rules, Critical is assigned after the agent investigation completes. Omit to notify this destination at every severity. - monitor
Id String - The ID of the monitor. Use
ar_defaultto manage a notification destination for the team's default monitor. - team
Id String - The ID of the team that owns the monitor and notification destination. Required if a default team is not configured in the provider.
- webhook
Id String - The ID of an existing account webhook subscribed to the
alerts.triggeredevent.
Import
The pulumi import command can be used, for example:
If a default team is configured in the provider, import using:
$ pulumi import vercel:index/monitorWebhookNotification:MonitorWebhookNotification alerts ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/hook_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Otherwise, prefix the import ID with the team ID:
$ pulumi import vercel:index/monitorWebhookNotification:MonitorWebhookNotification alerts team_xxxxxxxxxxxxxxxxxxxxxxxx/ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/hook_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
published on Sunday, Nov 15, 2026 by Pulumiverse