1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. WebhookAlertNotifier
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere

    Webhook notifier that POSTs monitor signal payloads to an arbitrary HTTP endpoint. Referenced from notification policies.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var webhook = new Pulumi.WebhookAlertNotifier("webhook", new()
        {
            BearerToken = "bearer-token",
            Name = "Webhook",
            SendResolved = false,
            Url = "http://example.com/url",
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewWebhookAlertNotifier(ctx, "webhook", &chronosphere.WebhookAlertNotifierArgs{
    			BearerToken:  pulumi.String("bearer-token"),
    			Name:         pulumi.String("Webhook"),
    			SendResolved: pulumi.Bool(false),
    			Url:          pulumi.String("http://example.com/url"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.WebhookAlertNotifier;
    import com.pulumi.chronosphere.WebhookAlertNotifierArgs;
    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 webhook = new WebhookAlertNotifier("webhook", WebhookAlertNotifierArgs.builder()        
                .bearerToken("bearer-token")
                .name("Webhook")
                .sendResolved(false)
                .url("http://example.com/url")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const webhook = new chronosphere.WebhookAlertNotifier("webhook", {
        bearerToken: "bearer-token",
        name: "Webhook",
        sendResolved: false,
        url: "http://example.com/url",
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    webhook = chronosphere.WebhookAlertNotifier("webhook",
        bearer_token="bearer-token",
        name="Webhook",
        send_resolved=False,
        url="http://example.com/url")
    
    resources:
      webhook:
        type: chronosphere:WebhookAlertNotifier
        properties:
          bearerToken: bearer-token
          name: Webhook
          sendResolved: false
          url: http://example.com/url
    

    Create WebhookAlertNotifier Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebhookAlertNotifier(name: string, args: WebhookAlertNotifierArgs, opts?: CustomResourceOptions);
    @overload
    def WebhookAlertNotifier(resource_name: str,
                             args: WebhookAlertNotifierArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebhookAlertNotifier(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             name: Optional[str] = None,
                             url: Optional[str] = None,
                             basic_auth_password: Optional[str] = None,
                             basic_auth_username: Optional[str] = None,
                             bearer_token: Optional[str] = None,
                             proxy_url: Optional[str] = None,
                             send_resolved: Optional[bool] = None,
                             slug: Optional[str] = None,
                             tls_insecure_skip_verify: Optional[bool] = None)
    func NewWebhookAlertNotifier(ctx *Context, name string, args WebhookAlertNotifierArgs, opts ...ResourceOption) (*WebhookAlertNotifier, error)
    public WebhookAlertNotifier(string name, WebhookAlertNotifierArgs args, CustomResourceOptions? opts = null)
    public WebhookAlertNotifier(String name, WebhookAlertNotifierArgs args)
    public WebhookAlertNotifier(String name, WebhookAlertNotifierArgs args, CustomResourceOptions options)
    
    type: chronosphere:WebhookAlertNotifier
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_webhookalertnotifier" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WebhookAlertNotifierArgs
    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 WebhookAlertNotifierArgs
    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 WebhookAlertNotifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebhookAlertNotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebhookAlertNotifierArgs
    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 webhookAlertNotifierResource = new Pulumi.WebhookAlertNotifier("webhookAlertNotifierResource", new()
    {
        Name = "string",
        Url = "string",
        BasicAuthPassword = "string",
        BasicAuthUsername = "string",
        BearerToken = "string",
        SendResolved = false,
        Slug = "string",
        TlsInsecureSkipVerify = false,
    });
    
    example, err := chronosphere.NewWebhookAlertNotifier(ctx, "webhookAlertNotifierResource", &chronosphere.WebhookAlertNotifierArgs{
    	Name:                  pulumi.String("string"),
    	Url:                   pulumi.String("string"),
    	BasicAuthPassword:     pulumi.String("string"),
    	BasicAuthUsername:     pulumi.String("string"),
    	BearerToken:           pulumi.String("string"),
    	SendResolved:          pulumi.Bool(false),
    	Slug:                  pulumi.String("string"),
    	TlsInsecureSkipVerify: pulumi.Bool(false),
    })
    
    resource "chronosphere_webhookalertnotifier" "webhookAlertNotifierResource" {
      name                     = "string"
      url                      = "string"
      basic_auth_password      = "string"
      basic_auth_username      = "string"
      bearer_token             = "string"
      send_resolved            = false
      slug                     = "string"
      tls_insecure_skip_verify = false
    }
    
    var webhookAlertNotifierResource = new WebhookAlertNotifier("webhookAlertNotifierResource", WebhookAlertNotifierArgs.builder()
        .name("string")
        .url("string")
        .basicAuthPassword("string")
        .basicAuthUsername("string")
        .bearerToken("string")
        .sendResolved(false)
        .slug("string")
        .tlsInsecureSkipVerify(false)
        .build());
    
    webhook_alert_notifier_resource = chronosphere.WebhookAlertNotifier("webhookAlertNotifierResource",
        name="string",
        url="string",
        basic_auth_password="string",
        basic_auth_username="string",
        bearer_token="string",
        send_resolved=False,
        slug="string",
        tls_insecure_skip_verify=False)
    
    const webhookAlertNotifierResource = new chronosphere.WebhookAlertNotifier("webhookAlertNotifierResource", {
        name: "string",
        url: "string",
        basicAuthPassword: "string",
        basicAuthUsername: "string",
        bearerToken: "string",
        sendResolved: false,
        slug: "string",
        tlsInsecureSkipVerify: false,
    });
    
    type: chronosphere:WebhookAlertNotifier
    properties:
        basicAuthPassword: string
        basicAuthUsername: string
        bearerToken: string
        name: string
        sendResolved: false
        slug: string
        tlsInsecureSkipVerify: false
        url: string
    

    WebhookAlertNotifier 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 WebhookAlertNotifier resource accepts the following input properties:

    Name string
    Display name of the notifier.
    Url string
    Webhook URL that receives the alert payload via HTTP POST.
    BasicAuthPassword string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    Name string
    Display name of the notifier.
    Url string
    Webhook URL that receives the alert payload via HTTP POST.
    BasicAuthPassword string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    name string
    Display name of the notifier.
    url string
    Webhook URL that receives the alert payload via HTTP POST.
    basic_auth_password string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basic_auth_username string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearer_token string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    proxy_url string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    name String
    Display name of the notifier.
    url String
    Webhook URL that receives the alert payload via HTTP POST.
    basicAuthPassword String
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    name string
    Display name of the notifier.
    url string
    Webhook URL that receives the alert payload via HTTP POST.
    basicAuthPassword string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basicAuthUsername string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearerToken string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    proxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    sendResolved boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tlsInsecureSkipVerify boolean
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    name str
    Display name of the notifier.
    url str
    Webhook URL that receives the alert payload via HTTP POST.
    basic_auth_password str
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basic_auth_username str
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearer_token str
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    proxy_url str
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug str
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    name String
    Display name of the notifier.
    url String
    Webhook URL that receives the alert payload via HTTP POST.
    basicAuthPassword String
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebhookAlertNotifier 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 WebhookAlertNotifier Resource

    Get an existing WebhookAlertNotifier 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?: WebhookAlertNotifierState, opts?: CustomResourceOptions): WebhookAlertNotifier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            basic_auth_password: Optional[str] = None,
            basic_auth_username: Optional[str] = None,
            bearer_token: Optional[str] = None,
            name: Optional[str] = None,
            proxy_url: Optional[str] = None,
            send_resolved: Optional[bool] = None,
            slug: Optional[str] = None,
            tls_insecure_skip_verify: Optional[bool] = None,
            url: Optional[str] = None) -> WebhookAlertNotifier
    func GetWebhookAlertNotifier(ctx *Context, name string, id IDInput, state *WebhookAlertNotifierState, opts ...ResourceOption) (*WebhookAlertNotifier, error)
    public static WebhookAlertNotifier Get(string name, Input<string> id, WebhookAlertNotifierState? state, CustomResourceOptions? opts = null)
    public static WebhookAlertNotifier get(String name, Output<String> id, WebhookAlertNotifierState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:WebhookAlertNotifier    get:      id: ${id}
    import {
      to = chronosphere_webhookalertnotifier.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BasicAuthPassword string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    Name string
    Display name of the notifier.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    Url string
    Webhook URL that receives the alert payload via HTTP POST.
    BasicAuthPassword string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    Name string
    Display name of the notifier.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    Url string
    Webhook URL that receives the alert payload via HTTP POST.
    basic_auth_password string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basic_auth_username string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearer_token string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    name string
    Display name of the notifier.
    proxy_url string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    url string
    Webhook URL that receives the alert payload via HTTP POST.
    basicAuthPassword String
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    name String
    Display name of the notifier.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    url String
    Webhook URL that receives the alert payload via HTTP POST.
    basicAuthPassword string
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basicAuthUsername string
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearerToken string
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    name string
    Display name of the notifier.
    proxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    sendResolved boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tlsInsecureSkipVerify boolean
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    url string
    Webhook URL that receives the alert payload via HTTP POST.
    basic_auth_password str
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basic_auth_username str
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearer_token str
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    name str
    Display name of the notifier.
    proxy_url str
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug str
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    url str
    Webhook URL that receives the alert payload via HTTP POST.
    basicAuthPassword String
    Password for HTTP basic auth when calling the webhook. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the webhook. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the webhook. Treat as a secret. Mutually exclusive with basic auth.
    name String
    Display name of the notifier.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
    url String
    Webhook URL that receives the alert payload via HTTP POST.

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.16
    published on Friday, Jun 5, 2026 by Chronosphere

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial