1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. WebhookExternalConnection
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

    Workspace-scoped webhook credentials that downstream notifiers and LogScale actions can reference. Centralizes the destination URL and HTTP auth so they aren’t duplicated across notifiers; modern equivalent of the per-notifier credentials.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var webhook = new Pulumi.WebhookExternalConnection("webhook", new()
        {
            BearerToken = "XXXXX",
            Name = "Webhook",
            Url = "https://example.com/notify",
        });
    
    });
    
    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.NewWebhookExternalConnection(ctx, "webhook", &chronosphere.WebhookExternalConnectionArgs{
    			BearerToken: pulumi.String("XXXXX"),
    			Name:        pulumi.String("Webhook"),
    			Url:         pulumi.String("https://example.com/notify"),
    		})
    		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.WebhookExternalConnection;
    import com.pulumi.chronosphere.WebhookExternalConnectionArgs;
    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 WebhookExternalConnection("webhook", WebhookExternalConnectionArgs.builder()        
                .bearerToken("XXXXX")
                .name("Webhook")
                .url("https://example.com/notify")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const webhook = new chronosphere.WebhookExternalConnection("webhook", {
        bearerToken: "XXXXX",
        name: "Webhook",
        url: "https://example.com/notify",
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    webhook = chronosphere.WebhookExternalConnection("webhook",
        bearer_token="XXXXX",
        name="Webhook",
        url="https://example.com/notify")
    
    resources:
      webhook:
        type: chronosphere:WebhookExternalConnection
        properties:
          bearerToken: XXXXX
          name: Webhook
          url: https://example.com/notify
    

    Create WebhookExternalConnection Resource

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

    Constructor syntax

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

    Parameters

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

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

    Name string
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    Slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    Name string
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    Slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    name string
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    name String
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    slug String
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    name string
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    name str
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    slug str
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    name String
    Display name of the external connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    slug String
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.

    Outputs

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

    Get an existing WebhookExternalConnection 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?: WebhookExternalConnectionState, opts?: CustomResourceOptions): WebhookExternalConnection
    @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,
            slug: Optional[str] = None,
            tls_insecure_skip_verify: Optional[bool] = None,
            url: Optional[str] = None) -> WebhookExternalConnection
    func GetWebhookExternalConnection(ctx *Context, name string, id IDInput, state *WebhookExternalConnectionState, opts ...ResourceOption) (*WebhookExternalConnection, error)
    public static WebhookExternalConnection Get(string name, Input<string> id, WebhookExternalConnectionState? state, CustomResourceOptions? opts = null)
    public static WebhookExternalConnection get(String name, Output<String> id, WebhookExternalConnectionState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:WebhookExternalConnection    get:      id: ${id}
    import {
      to = chronosphere_webhookexternalconnection.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. Mutually exclusive with basic auth. Treat as a secret.
    Name string
    Display name of the external connection.
    Slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    Name string
    Display name of the external connection.
    Slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    name string
    Display name of the external connection.
    slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    name String
    Display name of the external connection.
    slug String
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    name string
    Display name of the external connection.
    slug string
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    name str
    Display name of the external connection.
    slug str
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.
    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. Mutually exclusive with basic auth. Treat as a secret.
    name String
    Display name of the external connection.
    slug String
    Stable identifier for the connection. 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
    Destination URL that receives webhook POST requests for this connection.

    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