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 Slack channel.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumiverse/vercel";
const alerts = new vercel.MonitorSlackNotification("alerts", {
monitorId: "ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
slackChannelId: "C0123456789",
});
import pulumi
import pulumiverse_vercel as vercel
alerts = vercel.MonitorSlackNotification("alerts",
monitor_id="ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
slack_channel_id="C0123456789")
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 {
_, err := vercel.NewMonitorSlackNotification(ctx, "alerts", &vercel.MonitorSlackNotificationArgs{
MonitorId: pulumi.String("ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
SlackChannelId: pulumi.String("C0123456789"),
})
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.MonitorSlackNotification("alerts", new()
{
MonitorId = "ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
SlackChannelId = "C0123456789",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumiverse.vercel.MonitorSlackNotification;
import com.pulumiverse.vercel.MonitorSlackNotificationArgs;
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 MonitorSlackNotification("alerts", MonitorSlackNotificationArgs.builder()
.monitorId("ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
.slackChannelId("C0123456789")
.build());
}
}
resources:
alerts:
type: vercel:MonitorSlackNotification
properties:
monitorId: ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
slackChannelId: C0123456789
Example coming soon!
Destination requirements
Each resource owns one link. Do not manage the same monitor and Slack destination pair in multiple Terraform resources or states.
If the team has exactly one completed Slack installation, slack_installation_id can be omitted and the provider stores the installation selected by the API in state. Teams with multiple Slack installations must configure slack_installation_id explicitly. The Vercel bot must already be invited to private channels.
The special ar_default monitor ID is supported even though the default monitor itself cannot be managed by vercel.Monitor.
Create MonitorSlackNotification Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitorSlackNotification(name: string, args: MonitorSlackNotificationArgs, opts?: CustomResourceOptions);@overload
def MonitorSlackNotification(resource_name: str,
args: MonitorSlackNotificationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MonitorSlackNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitor_id: Optional[str] = None,
slack_channel_id: Optional[str] = None,
minimum_severity_level: Optional[str] = None,
slack_installation_id: Optional[str] = None,
team_id: Optional[str] = None)func NewMonitorSlackNotification(ctx *Context, name string, args MonitorSlackNotificationArgs, opts ...ResourceOption) (*MonitorSlackNotification, error)public MonitorSlackNotification(string name, MonitorSlackNotificationArgs args, CustomResourceOptions? opts = null)
public MonitorSlackNotification(String name, MonitorSlackNotificationArgs args)
public MonitorSlackNotification(String name, MonitorSlackNotificationArgs args, CustomResourceOptions options)
type: vercel:MonitorSlackNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "vercel_monitor_slack_notification" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args MonitorSlackNotificationArgs
- 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 MonitorSlackNotificationArgs
- 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 MonitorSlackNotificationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorSlackNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorSlackNotificationArgs
- 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 monitorSlackNotificationResource = new Vercel.MonitorSlackNotification("monitorSlackNotificationResource", new()
{
MonitorId = "string",
SlackChannelId = "string",
MinimumSeverityLevel = "string",
SlackInstallationId = "string",
TeamId = "string",
});
example, err := vercel.NewMonitorSlackNotification(ctx, "monitorSlackNotificationResource", &vercel.MonitorSlackNotificationArgs{
MonitorId: pulumi.String("string"),
SlackChannelId: pulumi.String("string"),
MinimumSeverityLevel: pulumi.String("string"),
SlackInstallationId: pulumi.String("string"),
TeamId: pulumi.String("string"),
})
resource "vercel_monitor_slack_notification" "monitorSlackNotificationResource" {
lifecycle {
create_before_destroy = true
}
monitor_id = "string"
slack_channel_id = "string"
minimum_severity_level = "string"
slack_installation_id = "string"
team_id = "string"
}
var monitorSlackNotificationResource = new MonitorSlackNotification("monitorSlackNotificationResource", MonitorSlackNotificationArgs.builder()
.monitorId("string")
.slackChannelId("string")
.minimumSeverityLevel("string")
.slackInstallationId("string")
.teamId("string")
.build());
monitor_slack_notification_resource = vercel.MonitorSlackNotification("monitorSlackNotificationResource",
monitor_id="string",
slack_channel_id="string",
minimum_severity_level="string",
slack_installation_id="string",
team_id="string")
const monitorSlackNotificationResource = new vercel.MonitorSlackNotification("monitorSlackNotificationResource", {
monitorId: "string",
slackChannelId: "string",
minimumSeverityLevel: "string",
slackInstallationId: "string",
teamId: "string",
});
type: vercel:MonitorSlackNotification
properties:
minimumSeverityLevel: string
monitorId: string
slackChannelId: string
slackInstallationId: string
teamId: string
MonitorSlackNotification 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 MonitorSlackNotification 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. - Slack
Channel stringId - The ID of the Slack channel.
- 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. - Slack
Installation stringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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. - Slack
Channel stringId - The ID of the Slack channel.
- 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. - Slack
Installation stringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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. - slack_
channel_ stringid - The ID of the Slack channel.
- 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. - slack_
installation_ stringid - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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. - slack
Channel StringId - The ID of the Slack channel.
- 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. - slack
Installation StringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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. - slack
Channel stringId - The ID of the Slack channel.
- 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. - slack
Installation stringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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. - slack_
channel_ strid - The ID of the Slack channel.
- 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. - slack_
installation_ strid - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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. - slack
Channel StringId - The ID of the Slack channel.
- 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. - slack
Installation StringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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 MonitorSlackNotification 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 MonitorSlackNotification Resource
Get an existing MonitorSlackNotification 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?: MonitorSlackNotificationState, opts?: CustomResourceOptions): MonitorSlackNotification@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
minimum_severity_level: Optional[str] = None,
monitor_id: Optional[str] = None,
slack_channel_id: Optional[str] = None,
slack_installation_id: Optional[str] = None,
team_id: Optional[str] = None) -> MonitorSlackNotificationfunc GetMonitorSlackNotification(ctx *Context, name string, id IDInput, state *MonitorSlackNotificationState, opts ...ResourceOption) (*MonitorSlackNotification, error)public static MonitorSlackNotification Get(string name, Input<string> id, MonitorSlackNotificationState? state, CustomResourceOptions? opts = null)public static MonitorSlackNotification get(String name, Output<String> id, MonitorSlackNotificationState state, CustomResourceOptions options)resources: existingMonitorSlackNotification: type: vercel:MonitorSlackNotification get: id: ${id}import {
to = vercel_monitor_slack_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 MonitorSlackNotificationState
- 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 MonitorSlackNotificationState
- 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 MonitorSlackNotificationState
- 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 MonitorSlackNotificationState
- 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. - Slack
Channel stringId - The ID of the Slack channel.
- Slack
Installation stringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
- 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. - Slack
Channel stringId - The ID of the Slack channel.
- Slack
Installation stringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
- 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. - slack_
channel_ stringid - The ID of the Slack channel.
- slack_
installation_ stringid - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
- 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. - slack
Channel StringId - The ID of the Slack channel.
- slack
Installation StringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
- 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. - slack
Channel stringId - The ID of the Slack channel.
- slack
Installation stringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
- 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. - slack_
channel_ strid - The ID of the Slack channel.
- slack_
installation_ strid - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
- 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. - slack
Channel StringId - The ID of the Slack channel.
- slack
Installation StringId - The ID of the completed Slack integration installation that owns the channel. It can be omitted when the team has exactly one completed Slack installation; the resolved ID is then stored in state. It must be configured when the team has multiple Slack installations.
- 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.
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/monitorSlackNotification:MonitorSlackNotification alerts ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/icfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/C0123456789
Otherwise, prefix the import ID with the team ID:
$ pulumi import vercel:index/monitorSlackNotification:MonitorSlackNotification alerts team_xxxxxxxxxxxxxxxxxxxxxxxx/ar_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/icfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/C0123456789
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