1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. WebhookRecipient
honeycombio 0.32.0 published on Monday, Apr 7, 2025 by honeycombio

honeycombio.WebhookRecipient

Explore with Pulumi AI

# Resource: honeycombio.WebhookRecipient

honeycombio.WebhookRecipient allows you to define and manage a Webhook recipient that can be used by Triggers or BurnAlerts notifications.

Standard Webhook Example

import * as pulumi from "@pulumi/pulumi";
import * as honeycombio from "@pulumi/honeycombio";

const prod = new honeycombio.WebhookRecipient("prod", {
    secret: "a63dab148496ecbe04a1a802ca9b95b8",
    url: "https://my.url.corp.net",
});
Copy
import pulumi
import pulumi_honeycombio as honeycombio

prod = honeycombio.WebhookRecipient("prod",
    secret="a63dab148496ecbe04a1a802ca9b95b8",
    url="https://my.url.corp.net")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := honeycombio.NewWebhookRecipient(ctx, "prod", &honeycombio.WebhookRecipientArgs{
			Secret: pulumi.String("a63dab148496ecbe04a1a802ca9b95b8"),
			Url:    pulumi.String("https://my.url.corp.net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Honeycombio = Pulumi.Honeycombio;

return await Deployment.RunAsync(() => 
{
    var prod = new Honeycombio.WebhookRecipient("prod", new()
    {
        Secret = "a63dab148496ecbe04a1a802ca9b95b8",
        Url = "https://my.url.corp.net",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.honeycombio.WebhookRecipient;
import com.pulumi.honeycombio.WebhookRecipientArgs;
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 prod = new WebhookRecipient("prod", WebhookRecipientArgs.builder()
            .secret("a63dab148496ecbe04a1a802ca9b95b8")
            .url("https://my.url.corp.net")
            .build());

    }
}
Copy
resources:
  prod:
    type: honeycombio:WebhookRecipient
    properties:
      secret: a63dab148496ecbe04a1a802ca9b95b8
      url: https://my.url.corp.net
Copy

Custom Webhook Example

import * as pulumi from "@pulumi/pulumi";
import * as honeycombio from "@pulumi/honeycombio";

const prod = new honeycombio.WebhookRecipient("prod", {
    headers: [{
        name: "Authorization",
        value: "Bearer 123",
    }],
    secret: "a63dab148496ecbe04a1a802ca9b95b8",
    templates: [{
        body: `\x09\x09{
\x09\x09\x09"name": " {{ .Name }}",
\x09\x09\x09"id": " {{ .ID }}",
\x09\x09\x09"description": " {{ .Description }}",
            "threshold": {
              "op": "{{ .Operator }}",
              "value": "{{ .Threshold }}"
            },
\x09\x09}
\x09\x09
`,
        type: "trigger",
    }],
    url: "https://my.url.corp.net",
    variables: [{
        defaultValue: "critical",
        name: "severity",
    }],
});
Copy
import pulumi
import pulumi_honeycombio as honeycombio

prod = honeycombio.WebhookRecipient("prod",
    headers=[{
        "name": "Authorization",
        "value": "Bearer 123",
    }],
    secret="a63dab148496ecbe04a1a802ca9b95b8",
    templates=[{
        "body": """\x09\x09{
\x09\x09\x09"name": " {{ .Name }}",
\x09\x09\x09"id": " {{ .ID }}",
\x09\x09\x09"description": " {{ .Description }}",
            "threshold": {
              "op": "{{ .Operator }}",
              "value": "{{ .Threshold }}"
            },
\x09\x09}
\x09\x09
""",
        "type": "trigger",
    }],
    url="https://my.url.corp.net",
    variables=[{
        "default_value": "critical",
        "name": "severity",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := honeycombio.NewWebhookRecipient(ctx, "prod", &honeycombio.WebhookRecipientArgs{
			Headers: honeycombio.WebhookRecipientHeaderArray{
				&honeycombio.WebhookRecipientHeaderArgs{
					Name:  pulumi.String("Authorization"),
					Value: pulumi.String("Bearer 123"),
				},
			},
			Secret: pulumi.String("a63dab148496ecbe04a1a802ca9b95b8"),
			Templates: honeycombio.WebhookRecipientTemplateArray{
				&honeycombio.WebhookRecipientTemplateArgs{
					Body: pulumi.String(`		{
			"name": " {{ .Name }}",
			"id": " {{ .ID }}",
			"description": " {{ .Description }}",
            "threshold": {
              "op": "{{ .Operator }}",
              "value": "{{ .Threshold }}"
            },
		}
		
`),
					Type: pulumi.String("trigger"),
				},
			},
			Url: pulumi.String("https://my.url.corp.net"),
			Variables: honeycombio.WebhookRecipientVariableArray{
				&honeycombio.WebhookRecipientVariableArgs{
					DefaultValue: pulumi.String("critical"),
					Name:         pulumi.String("severity"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Honeycombio = Pulumi.Honeycombio;

return await Deployment.RunAsync(() => 
{
    var prod = new Honeycombio.WebhookRecipient("prod", new()
    {
        Headers = new[]
        {
            new Honeycombio.Inputs.WebhookRecipientHeaderArgs
            {
                Name = "Authorization",
                Value = "Bearer 123",
            },
        },
        Secret = "a63dab148496ecbe04a1a802ca9b95b8",
        Templates = new[]
        {
            new Honeycombio.Inputs.WebhookRecipientTemplateArgs
            {
                Body = @"		{
			""name"": "" {{ .Name }}"",
			""id"": "" {{ .ID }}"",
			""description"": "" {{ .Description }}"",
            ""threshold"": {
              ""op"": ""{{ .Operator }}"",
              ""value"": ""{{ .Threshold }}""
            },
		}
		
",
                Type = "trigger",
            },
        },
        Url = "https://my.url.corp.net",
        Variables = new[]
        {
            new Honeycombio.Inputs.WebhookRecipientVariableArgs
            {
                DefaultValue = "critical",
                Name = "severity",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.honeycombio.WebhookRecipient;
import com.pulumi.honeycombio.WebhookRecipientArgs;
import com.pulumi.honeycombio.inputs.WebhookRecipientHeaderArgs;
import com.pulumi.honeycombio.inputs.WebhookRecipientTemplateArgs;
import com.pulumi.honeycombio.inputs.WebhookRecipientVariableArgs;
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 prod = new WebhookRecipient("prod", WebhookRecipientArgs.builder()
            .headers(WebhookRecipientHeaderArgs.builder()
                .name("Authorization")
                .value("Bearer 123")
                .build())
            .secret("a63dab148496ecbe04a1a802ca9b95b8")
            .templates(WebhookRecipientTemplateArgs.builder()
                .body("""
		{
			"name": " {{ .Name }}",
			"id": " {{ .ID }}",
			"description": " {{ .Description }}",
            "threshold": {
              "op": "{{ .Operator }}",
              "value": "{{ .Threshold }}"
            },
		}
		
                """)
                .type("trigger")
                .build())
            .url("https://my.url.corp.net")
            .variables(WebhookRecipientVariableArgs.builder()
                .defaultValue("critical")
                .name("severity")
                .build())
            .build());

    }
}
Copy
resources:
  prod:
    type: honeycombio:WebhookRecipient
    properties:
      headers:
        - name: Authorization
          value: Bearer 123
      secret: a63dab148496ecbe04a1a802ca9b95b8
      templates:
        - body: |
            		{
            			"name": " {{ .Name }}",
            			"id": " {{ .ID }}",
            			"description": " {{ .Description }}",
                        "threshold": {
                          "op": "{{ .Operator }}",
                          "value": "{{ .Threshold }}"
                        },
            		}
            		            
          type: trigger
      url: https://my.url.corp.net
      variables:
        - defaultValue: critical
          name: severity
Copy

Create WebhookRecipient Resource

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

Constructor syntax

new WebhookRecipient(name: string, args: WebhookRecipientArgs, opts?: CustomResourceOptions);
@overload
def WebhookRecipient(resource_name: str,
                     args: WebhookRecipientArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def WebhookRecipient(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     url: Optional[str] = None,
                     headers: Optional[Sequence[WebhookRecipientHeaderArgs]] = None,
                     name: Optional[str] = None,
                     secret: Optional[str] = None,
                     templates: Optional[Sequence[WebhookRecipientTemplateArgs]] = None,
                     variables: Optional[Sequence[WebhookRecipientVariableArgs]] = None)
func NewWebhookRecipient(ctx *Context, name string, args WebhookRecipientArgs, opts ...ResourceOption) (*WebhookRecipient, error)
public WebhookRecipient(string name, WebhookRecipientArgs args, CustomResourceOptions? opts = null)
public WebhookRecipient(String name, WebhookRecipientArgs args)
public WebhookRecipient(String name, WebhookRecipientArgs args, CustomResourceOptions options)
type: honeycombio:WebhookRecipient
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WebhookRecipientArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WebhookRecipientArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WebhookRecipientArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WebhookRecipientArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WebhookRecipientArgs
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 webhookRecipientResource = new Honeycombio.WebhookRecipient("webhookRecipientResource", new()
{
    Url = "string",
    Headers = new[]
    {
        new Honeycombio.Inputs.WebhookRecipientHeaderArgs
        {
            Name = "string",
            Value = "string",
        },
    },
    Name = "string",
    Secret = "string",
    Templates = new[]
    {
        new Honeycombio.Inputs.WebhookRecipientTemplateArgs
        {
            Body = "string",
            Type = "string",
        },
    },
    Variables = new[]
    {
        new Honeycombio.Inputs.WebhookRecipientVariableArgs
        {
            Name = "string",
            DefaultValue = "string",
        },
    },
});
Copy
example, err := honeycombio.NewWebhookRecipient(ctx, "webhookRecipientResource", &honeycombio.WebhookRecipientArgs{
Url: pulumi.String("string"),
Headers: .WebhookRecipientHeaderArray{
&.WebhookRecipientHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Secret: pulumi.String("string"),
Templates: .WebhookRecipientTemplateArray{
&.WebhookRecipientTemplateArgs{
Body: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Variables: .WebhookRecipientVariableArray{
&.WebhookRecipientVariableArgs{
Name: pulumi.String("string"),
DefaultValue: pulumi.String("string"),
},
},
})
Copy
var webhookRecipientResource = new WebhookRecipient("webhookRecipientResource", WebhookRecipientArgs.builder()
    .url("string")
    .headers(WebhookRecipientHeaderArgs.builder()
        .name("string")
        .value("string")
        .build())
    .name("string")
    .secret("string")
    .templates(WebhookRecipientTemplateArgs.builder()
        .body("string")
        .type("string")
        .build())
    .variables(WebhookRecipientVariableArgs.builder()
        .name("string")
        .defaultValue("string")
        .build())
    .build());
Copy
webhook_recipient_resource = honeycombio.WebhookRecipient("webhookRecipientResource",
    url="string",
    headers=[{
        "name": "string",
        "value": "string",
    }],
    name="string",
    secret="string",
    templates=[{
        "body": "string",
        "type": "string",
    }],
    variables=[{
        "name": "string",
        "default_value": "string",
    }])
Copy
const webhookRecipientResource = new honeycombio.WebhookRecipient("webhookRecipientResource", {
    url: "string",
    headers: [{
        name: "string",
        value: "string",
    }],
    name: "string",
    secret: "string",
    templates: [{
        body: "string",
        type: "string",
    }],
    variables: [{
        name: "string",
        defaultValue: "string",
    }],
});
Copy
type: honeycombio:WebhookRecipient
properties:
    headers:
        - name: string
          value: string
    name: string
    secret: string
    templates:
        - body: string
          type: string
    url: string
    variables:
        - defaultValue: string
          name: string
Copy

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

Url This property is required. string
The URL of the endpoint to send the notification to.
Headers List<WebhookRecipientHeader>
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
Name string
The name of the Webhook Integration to create.
Secret string
The secret to include when sending the notification to the webhook.
Templates List<WebhookRecipientTemplate>
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
Variables List<WebhookRecipientVariable>
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
Url This property is required. string
The URL of the endpoint to send the notification to.
Headers []WebhookRecipientHeaderArgs
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
Name string
The name of the Webhook Integration to create.
Secret string
The secret to include when sending the notification to the webhook.
Templates []WebhookRecipientTemplateArgs
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
Variables []WebhookRecipientVariableArgs
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
url This property is required. String
The URL of the endpoint to send the notification to.
headers List<WebhookRecipientHeader>
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name String
The name of the Webhook Integration to create.
secret String
The secret to include when sending the notification to the webhook.
templates List<WebhookRecipientTemplate>
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
variables List<WebhookRecipientVariable>
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
url This property is required. string
The URL of the endpoint to send the notification to.
headers WebhookRecipientHeader[]
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name string
The name of the Webhook Integration to create.
secret string
The secret to include when sending the notification to the webhook.
templates WebhookRecipientTemplate[]
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
variables WebhookRecipientVariable[]
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
url This property is required. str
The URL of the endpoint to send the notification to.
headers Sequence[WebhookRecipientHeaderArgs]
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name str
The name of the Webhook Integration to create.
secret str
The secret to include when sending the notification to the webhook.
templates Sequence[WebhookRecipientTemplateArgs]
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
variables Sequence[WebhookRecipientVariableArgs]
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
url This property is required. String
The URL of the endpoint to send the notification to.
headers List<Property Map>
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name String
The name of the Webhook Integration to create.
secret String
The secret to include when sending the notification to the webhook.
templates List<Property Map>
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
variables List<Property Map>
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.

Outputs

All input properties are implicitly available as output properties. Additionally, the WebhookRecipient 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 str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing WebhookRecipient Resource

Get an existing WebhookRecipient 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?: WebhookRecipientState, opts?: CustomResourceOptions): WebhookRecipient
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        headers: Optional[Sequence[WebhookRecipientHeaderArgs]] = None,
        name: Optional[str] = None,
        secret: Optional[str] = None,
        templates: Optional[Sequence[WebhookRecipientTemplateArgs]] = None,
        url: Optional[str] = None,
        variables: Optional[Sequence[WebhookRecipientVariableArgs]] = None) -> WebhookRecipient
func GetWebhookRecipient(ctx *Context, name string, id IDInput, state *WebhookRecipientState, opts ...ResourceOption) (*WebhookRecipient, error)
public static WebhookRecipient Get(string name, Input<string> id, WebhookRecipientState? state, CustomResourceOptions? opts = null)
public static WebhookRecipient get(String name, Output<String> id, WebhookRecipientState state, CustomResourceOptions options)
resources:  _:    type: honeycombio:WebhookRecipient    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Headers List<WebhookRecipientHeader>
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
Name string
The name of the Webhook Integration to create.
Secret string
The secret to include when sending the notification to the webhook.
Templates List<WebhookRecipientTemplate>
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
Url string
The URL of the endpoint to send the notification to.
Variables List<WebhookRecipientVariable>
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
Headers []WebhookRecipientHeaderArgs
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
Name string
The name of the Webhook Integration to create.
Secret string
The secret to include when sending the notification to the webhook.
Templates []WebhookRecipientTemplateArgs
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
Url string
The URL of the endpoint to send the notification to.
Variables []WebhookRecipientVariableArgs
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
headers List<WebhookRecipientHeader>
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name String
The name of the Webhook Integration to create.
secret String
The secret to include when sending the notification to the webhook.
templates List<WebhookRecipientTemplate>
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
url String
The URL of the endpoint to send the notification to.
variables List<WebhookRecipientVariable>
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
headers WebhookRecipientHeader[]
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name string
The name of the Webhook Integration to create.
secret string
The secret to include when sending the notification to the webhook.
templates WebhookRecipientTemplate[]
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
url string
The URL of the endpoint to send the notification to.
variables WebhookRecipientVariable[]
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
headers Sequence[WebhookRecipientHeaderArgs]
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name str
The name of the Webhook Integration to create.
secret str
The secret to include when sending the notification to the webhook.
templates Sequence[WebhookRecipientTemplateArgs]
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
url str
The URL of the endpoint to send the notification to.
variables Sequence[WebhookRecipientVariableArgs]
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.
headers List<Property Map>
Zero or more configuration blocks (described below) to add custom webhook headers if desired.
name String
The name of the Webhook Integration to create.
secret String
The secret to include when sending the notification to the webhook.
templates List<Property Map>
Zero or more configuration blocks (described below) to customize the webhook payload if desired.
url String
The URL of the endpoint to send the notification to.
variables List<Property Map>
Zero or more configuration blocks (described below) to define variables to be used in the webhook payload if desired.

Supporting Types

WebhookRecipientHeader
, WebhookRecipientHeaderArgs

Name This property is required. string
The name of the Webhook Integration to create.
Value string
Value for the header
Name This property is required. string
The name of the Webhook Integration to create.
Value string
Value for the header
name This property is required. String
The name of the Webhook Integration to create.
value String
Value for the header
name This property is required. string
The name of the Webhook Integration to create.
value string
Value for the header
name This property is required. str
The name of the Webhook Integration to create.
value str
Value for the header
name This property is required. String
The name of the Webhook Integration to create.
value String
Value for the header

WebhookRecipientTemplate
, WebhookRecipientTemplateArgs

Body This property is required. string

A JSON formatted string to represent the webhook payload.

Optionally, when configuring custom webhooks, use the variable block to create custom variables that can be interpolated in a template. To configure a variable, at least one template block must also be configured. The variable block accepts the following arguments:

Type This property is required. string
The template type, allowed types are trigger, exhaustion_time, and budget_rate. Only one template block of each type is allowed on a single recipient.
Body This property is required. string

A JSON formatted string to represent the webhook payload.

Optionally, when configuring custom webhooks, use the variable block to create custom variables that can be interpolated in a template. To configure a variable, at least one template block must also be configured. The variable block accepts the following arguments:

Type This property is required. string
The template type, allowed types are trigger, exhaustion_time, and budget_rate. Only one template block of each type is allowed on a single recipient.
body This property is required. String

A JSON formatted string to represent the webhook payload.

Optionally, when configuring custom webhooks, use the variable block to create custom variables that can be interpolated in a template. To configure a variable, at least one template block must also be configured. The variable block accepts the following arguments:

type This property is required. String
The template type, allowed types are trigger, exhaustion_time, and budget_rate. Only one template block of each type is allowed on a single recipient.
body This property is required. string

A JSON formatted string to represent the webhook payload.

Optionally, when configuring custom webhooks, use the variable block to create custom variables that can be interpolated in a template. To configure a variable, at least one template block must also be configured. The variable block accepts the following arguments:

type This property is required. string
The template type, allowed types are trigger, exhaustion_time, and budget_rate. Only one template block of each type is allowed on a single recipient.
body This property is required. str

A JSON formatted string to represent the webhook payload.

Optionally, when configuring custom webhooks, use the variable block to create custom variables that can be interpolated in a template. To configure a variable, at least one template block must also be configured. The variable block accepts the following arguments:

type This property is required. str
The template type, allowed types are trigger, exhaustion_time, and budget_rate. Only one template block of each type is allowed on a single recipient.
body This property is required. String

A JSON formatted string to represent the webhook payload.

Optionally, when configuring custom webhooks, use the variable block to create custom variables that can be interpolated in a template. To configure a variable, at least one template block must also be configured. The variable block accepts the following arguments:

type This property is required. String
The template type, allowed types are trigger, exhaustion_time, and budget_rate. Only one template block of each type is allowed on a single recipient.

WebhookRecipientVariable
, WebhookRecipientVariableArgs

Name This property is required. string
The name of the Webhook Integration to create.
DefaultValue string
An optional default value for the variable
Name This property is required. string
The name of the Webhook Integration to create.
DefaultValue string
An optional default value for the variable
name This property is required. String
The name of the Webhook Integration to create.
defaultValue String
An optional default value for the variable
name This property is required. string
The name of the Webhook Integration to create.
defaultValue string
An optional default value for the variable
name This property is required. str
The name of the Webhook Integration to create.
default_value str
An optional default value for the variable
name This property is required. String
The name of the Webhook Integration to create.
defaultValue String
An optional default value for the variable

Import

Webhook Recipients can be imported by their ID, e.g.

$ pulumi import honeycombio:index/webhookRecipient:WebhookRecipient my_recipient nx2zsegA0dZ
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
honeycombio honeycombio/terraform-provider-honeycombio
License
Notes
This Pulumi package is based on the honeycombio Terraform Provider.