1. Packages
  2. Sysdig Provider
  3. API Docs
  4. MonitorNotificationChannelWebhook
sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs

sysdig.MonitorNotificationChannelWebhook

Explore with Pulumi AI

Example Usage

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

const sample_webhook = new sysdig.MonitorNotificationChannelWebhook("sample-webhook", {
    enabled: true,
    url: "localhost:8080",
    notifyWhenOk: false,
    notifyWhenResolved: false,
    sendTestNotification: false,
    customData: {
        data1: "value1",
        data2: "value2",
    },
});
Copy
import pulumi
import pulumi_sysdig as sysdig

sample_webhook = sysdig.MonitorNotificationChannelWebhook("sample-webhook",
    enabled=True,
    url="localhost:8080",
    notify_when_ok=False,
    notify_when_resolved=False,
    send_test_notification=False,
    custom_data={
        "data1": "value1",
        "data2": "value2",
    })
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sysdig.NewMonitorNotificationChannelWebhook(ctx, "sample-webhook", &sysdig.MonitorNotificationChannelWebhookArgs{
			Enabled:              pulumi.Bool(true),
			Url:                  pulumi.String("localhost:8080"),
			NotifyWhenOk:         pulumi.Bool(false),
			NotifyWhenResolved:   pulumi.Bool(false),
			SendTestNotification: pulumi.Bool(false),
			CustomData: pulumi.StringMap{
				"data1": pulumi.String("value1"),
				"data2": pulumi.String("value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;

return await Deployment.RunAsync(() => 
{
    var sample_webhook = new Sysdig.MonitorNotificationChannelWebhook("sample-webhook", new()
    {
        Enabled = true,
        Url = "localhost:8080",
        NotifyWhenOk = false,
        NotifyWhenResolved = false,
        SendTestNotification = false,
        CustomData = 
        {
            { "data1", "value1" },
            { "data2", "value2" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.MonitorNotificationChannelWebhook;
import com.pulumi.sysdig.MonitorNotificationChannelWebhookArgs;
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 sample_webhook = new MonitorNotificationChannelWebhook("sample-webhook", MonitorNotificationChannelWebhookArgs.builder()
            .enabled(true)
            .url("localhost:8080")
            .notifyWhenOk(false)
            .notifyWhenResolved(false)
            .sendTestNotification(false)
            .customData(Map.ofEntries(
                Map.entry("data1", "value1"),
                Map.entry("data2", "value2")
            ))
            .build());

    }
}
Copy
resources:
  sample-webhook:
    type: sysdig:MonitorNotificationChannelWebhook
    properties:
      enabled: true
      url: localhost:8080
      notifyWhenOk: false
      notifyWhenResolved: false
      sendTestNotification: false
      customData:
        data1: value1
        data2: value2
Copy

Create MonitorNotificationChannelWebhook Resource

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

Constructor syntax

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

@overload
def MonitorNotificationChannelWebhook(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      url: Optional[str] = None,
                                      additional_headers: Optional[Mapping[str, str]] = None,
                                      allow_insecure_connections: Optional[bool] = None,
                                      custom_data: Optional[Mapping[str, str]] = None,
                                      enabled: Optional[bool] = None,
                                      monitor_notification_channel_webhook_id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      notify_when_ok: Optional[bool] = None,
                                      notify_when_resolved: Optional[bool] = None,
                                      send_test_notification: Optional[bool] = None,
                                      share_with_current_team: Optional[bool] = None,
                                      timeouts: Optional[MonitorNotificationChannelWebhookTimeoutsArgs] = None)
func NewMonitorNotificationChannelWebhook(ctx *Context, name string, args MonitorNotificationChannelWebhookArgs, opts ...ResourceOption) (*MonitorNotificationChannelWebhook, error)
public MonitorNotificationChannelWebhook(string name, MonitorNotificationChannelWebhookArgs args, CustomResourceOptions? opts = null)
public MonitorNotificationChannelWebhook(String name, MonitorNotificationChannelWebhookArgs args)
public MonitorNotificationChannelWebhook(String name, MonitorNotificationChannelWebhookArgs args, CustomResourceOptions options)
type: sysdig:MonitorNotificationChannelWebhook
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. MonitorNotificationChannelWebhookArgs
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. MonitorNotificationChannelWebhookArgs
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. MonitorNotificationChannelWebhookArgs
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. MonitorNotificationChannelWebhookArgs
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. MonitorNotificationChannelWebhookArgs
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 monitorNotificationChannelWebhookResource = new Sysdig.MonitorNotificationChannelWebhook("monitorNotificationChannelWebhookResource", new()
{
    Url = "string",
    AdditionalHeaders = 
    {
        { "string", "string" },
    },
    AllowInsecureConnections = false,
    CustomData = 
    {
        { "string", "string" },
    },
    Enabled = false,
    MonitorNotificationChannelWebhookId = "string",
    Name = "string",
    NotifyWhenOk = false,
    NotifyWhenResolved = false,
    SendTestNotification = false,
    ShareWithCurrentTeam = false,
    Timeouts = new Sysdig.Inputs.MonitorNotificationChannelWebhookTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
Copy
example, err := sysdig.NewMonitorNotificationChannelWebhook(ctx, "monitorNotificationChannelWebhookResource", &sysdig.MonitorNotificationChannelWebhookArgs{
Url: pulumi.String("string"),
AdditionalHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
AllowInsecureConnections: pulumi.Bool(false),
CustomData: pulumi.StringMap{
"string": pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
MonitorNotificationChannelWebhookId: pulumi.String("string"),
Name: pulumi.String("string"),
NotifyWhenOk: pulumi.Bool(false),
NotifyWhenResolved: pulumi.Bool(false),
SendTestNotification: pulumi.Bool(false),
ShareWithCurrentTeam: pulumi.Bool(false),
Timeouts: &.MonitorNotificationChannelWebhookTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var monitorNotificationChannelWebhookResource = new MonitorNotificationChannelWebhook("monitorNotificationChannelWebhookResource", MonitorNotificationChannelWebhookArgs.builder()
    .url("string")
    .additionalHeaders(Map.of("string", "string"))
    .allowInsecureConnections(false)
    .customData(Map.of("string", "string"))
    .enabled(false)
    .monitorNotificationChannelWebhookId("string")
    .name("string")
    .notifyWhenOk(false)
    .notifyWhenResolved(false)
    .sendTestNotification(false)
    .shareWithCurrentTeam(false)
    .timeouts(MonitorNotificationChannelWebhookTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
Copy
monitor_notification_channel_webhook_resource = sysdig.MonitorNotificationChannelWebhook("monitorNotificationChannelWebhookResource",
    url="string",
    additional_headers={
        "string": "string",
    },
    allow_insecure_connections=False,
    custom_data={
        "string": "string",
    },
    enabled=False,
    monitor_notification_channel_webhook_id="string",
    name="string",
    notify_when_ok=False,
    notify_when_resolved=False,
    send_test_notification=False,
    share_with_current_team=False,
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
Copy
const monitorNotificationChannelWebhookResource = new sysdig.MonitorNotificationChannelWebhook("monitorNotificationChannelWebhookResource", {
    url: "string",
    additionalHeaders: {
        string: "string",
    },
    allowInsecureConnections: false,
    customData: {
        string: "string",
    },
    enabled: false,
    monitorNotificationChannelWebhookId: "string",
    name: "string",
    notifyWhenOk: false,
    notifyWhenResolved: false,
    sendTestNotification: false,
    shareWithCurrentTeam: false,
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
Copy
type: sysdig:MonitorNotificationChannelWebhook
properties:
    additionalHeaders:
        string: string
    allowInsecureConnections: false
    customData:
        string: string
    enabled: false
    monitorNotificationChannelWebhookId: string
    name: string
    notifyWhenOk: false
    notifyWhenResolved: false
    sendTestNotification: false
    shareWithCurrentTeam: false
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    url: string
Copy

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

Url This property is required. string
URL to send the event.
AdditionalHeaders Dictionary<string, string>
Key value list of custom headers.
AllowInsecureConnections bool
Whether to skip TLS verification. Default: false.
CustomData Dictionary<string, string>
Key value list of additional data you want to attach to the alert notification.
Enabled bool
If false, the channel will not emit notifications. Default is true.
MonitorNotificationChannelWebhookId string
(Computed) The ID of the Notification Channel.
Name string
The name of the Notification Channel. Must be unique.
NotifyWhenOk bool
Send a new notification when the alert condition is no longer triggered. Default is false.
NotifyWhenResolved bool
Send a new notification when the alert is manually acknowledged by a user. Default is false.
SendTestNotification bool
Send an initial test notification to check if the notification channel is working. Default is false.
ShareWithCurrentTeam bool
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
Timeouts MonitorNotificationChannelWebhookTimeouts
Url This property is required. string
URL to send the event.
AdditionalHeaders map[string]string
Key value list of custom headers.
AllowInsecureConnections bool
Whether to skip TLS verification. Default: false.
CustomData map[string]string
Key value list of additional data you want to attach to the alert notification.
Enabled bool
If false, the channel will not emit notifications. Default is true.
MonitorNotificationChannelWebhookId string
(Computed) The ID of the Notification Channel.
Name string
The name of the Notification Channel. Must be unique.
NotifyWhenOk bool
Send a new notification when the alert condition is no longer triggered. Default is false.
NotifyWhenResolved bool
Send a new notification when the alert is manually acknowledged by a user. Default is false.
SendTestNotification bool
Send an initial test notification to check if the notification channel is working. Default is false.
ShareWithCurrentTeam bool
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
Timeouts MonitorNotificationChannelWebhookTimeoutsArgs
url This property is required. String
URL to send the event.
additionalHeaders Map<String,String>
Key value list of custom headers.
allowInsecureConnections Boolean
Whether to skip TLS verification. Default: false.
customData Map<String,String>
Key value list of additional data you want to attach to the alert notification.
enabled Boolean
If false, the channel will not emit notifications. Default is true.
monitorNotificationChannelWebhookId String
(Computed) The ID of the Notification Channel.
name String
The name of the Notification Channel. Must be unique.
notifyWhenOk Boolean
Send a new notification when the alert condition is no longer triggered. Default is false.
notifyWhenResolved Boolean
Send a new notification when the alert is manually acknowledged by a user. Default is false.
sendTestNotification Boolean
Send an initial test notification to check if the notification channel is working. Default is false.
shareWithCurrentTeam Boolean
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts MonitorNotificationChannelWebhookTimeouts
url This property is required. string
URL to send the event.
additionalHeaders {[key: string]: string}
Key value list of custom headers.
allowInsecureConnections boolean
Whether to skip TLS verification. Default: false.
customData {[key: string]: string}
Key value list of additional data you want to attach to the alert notification.
enabled boolean
If false, the channel will not emit notifications. Default is true.
monitorNotificationChannelWebhookId string
(Computed) The ID of the Notification Channel.
name string
The name of the Notification Channel. Must be unique.
notifyWhenOk boolean
Send a new notification when the alert condition is no longer triggered. Default is false.
notifyWhenResolved boolean
Send a new notification when the alert is manually acknowledged by a user. Default is false.
sendTestNotification boolean
Send an initial test notification to check if the notification channel is working. Default is false.
shareWithCurrentTeam boolean
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts MonitorNotificationChannelWebhookTimeouts
url This property is required. str
URL to send the event.
additional_headers Mapping[str, str]
Key value list of custom headers.
allow_insecure_connections bool
Whether to skip TLS verification. Default: false.
custom_data Mapping[str, str]
Key value list of additional data you want to attach to the alert notification.
enabled bool
If false, the channel will not emit notifications. Default is true.
monitor_notification_channel_webhook_id str
(Computed) The ID of the Notification Channel.
name str
The name of the Notification Channel. Must be unique.
notify_when_ok bool
Send a new notification when the alert condition is no longer triggered. Default is false.
notify_when_resolved bool
Send a new notification when the alert is manually acknowledged by a user. Default is false.
send_test_notification bool
Send an initial test notification to check if the notification channel is working. Default is false.
share_with_current_team bool
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts MonitorNotificationChannelWebhookTimeoutsArgs
url This property is required. String
URL to send the event.
additionalHeaders Map<String>
Key value list of custom headers.
allowInsecureConnections Boolean
Whether to skip TLS verification. Default: false.
customData Map<String>
Key value list of additional data you want to attach to the alert notification.
enabled Boolean
If false, the channel will not emit notifications. Default is true.
monitorNotificationChannelWebhookId String
(Computed) The ID of the Notification Channel.
name String
The name of the Notification Channel. Must be unique.
notifyWhenOk Boolean
Send a new notification when the alert condition is no longer triggered. Default is false.
notifyWhenResolved Boolean
Send a new notification when the alert is manually acknowledged by a user. Default is false.
sendTestNotification Boolean
Send an initial test notification to check if the notification channel is working. Default is false.
shareWithCurrentTeam Boolean
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the MonitorNotificationChannelWebhook resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Version double
(Computed) The current version of the Notification Channel.
Id string
The provider-assigned unique ID for this managed resource.
Version float64
(Computed) The current version of the Notification Channel.
id String
The provider-assigned unique ID for this managed resource.
version Double
(Computed) The current version of the Notification Channel.
id string
The provider-assigned unique ID for this managed resource.
version number
(Computed) The current version of the Notification Channel.
id str
The provider-assigned unique ID for this managed resource.
version float
(Computed) The current version of the Notification Channel.
id String
The provider-assigned unique ID for this managed resource.
version Number
(Computed) The current version of the Notification Channel.

Look up Existing MonitorNotificationChannelWebhook Resource

Get an existing MonitorNotificationChannelWebhook 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?: MonitorNotificationChannelWebhookState, opts?: CustomResourceOptions): MonitorNotificationChannelWebhook
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        additional_headers: Optional[Mapping[str, str]] = None,
        allow_insecure_connections: Optional[bool] = None,
        custom_data: Optional[Mapping[str, str]] = None,
        enabled: Optional[bool] = None,
        monitor_notification_channel_webhook_id: Optional[str] = None,
        name: Optional[str] = None,
        notify_when_ok: Optional[bool] = None,
        notify_when_resolved: Optional[bool] = None,
        send_test_notification: Optional[bool] = None,
        share_with_current_team: Optional[bool] = None,
        timeouts: Optional[MonitorNotificationChannelWebhookTimeoutsArgs] = None,
        url: Optional[str] = None,
        version: Optional[float] = None) -> MonitorNotificationChannelWebhook
func GetMonitorNotificationChannelWebhook(ctx *Context, name string, id IDInput, state *MonitorNotificationChannelWebhookState, opts ...ResourceOption) (*MonitorNotificationChannelWebhook, error)
public static MonitorNotificationChannelWebhook Get(string name, Input<string> id, MonitorNotificationChannelWebhookState? state, CustomResourceOptions? opts = null)
public static MonitorNotificationChannelWebhook get(String name, Output<String> id, MonitorNotificationChannelWebhookState state, CustomResourceOptions options)
resources:  _:    type: sysdig:MonitorNotificationChannelWebhook    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:
AdditionalHeaders Dictionary<string, string>
Key value list of custom headers.
AllowInsecureConnections bool
Whether to skip TLS verification. Default: false.
CustomData Dictionary<string, string>
Key value list of additional data you want to attach to the alert notification.
Enabled bool
If false, the channel will not emit notifications. Default is true.
MonitorNotificationChannelWebhookId string
(Computed) The ID of the Notification Channel.
Name string
The name of the Notification Channel. Must be unique.
NotifyWhenOk bool
Send a new notification when the alert condition is no longer triggered. Default is false.
NotifyWhenResolved bool
Send a new notification when the alert is manually acknowledged by a user. Default is false.
SendTestNotification bool
Send an initial test notification to check if the notification channel is working. Default is false.
ShareWithCurrentTeam bool
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
Timeouts MonitorNotificationChannelWebhookTimeouts
Url string
URL to send the event.
Version double
(Computed) The current version of the Notification Channel.
AdditionalHeaders map[string]string
Key value list of custom headers.
AllowInsecureConnections bool
Whether to skip TLS verification. Default: false.
CustomData map[string]string
Key value list of additional data you want to attach to the alert notification.
Enabled bool
If false, the channel will not emit notifications. Default is true.
MonitorNotificationChannelWebhookId string
(Computed) The ID of the Notification Channel.
Name string
The name of the Notification Channel. Must be unique.
NotifyWhenOk bool
Send a new notification when the alert condition is no longer triggered. Default is false.
NotifyWhenResolved bool
Send a new notification when the alert is manually acknowledged by a user. Default is false.
SendTestNotification bool
Send an initial test notification to check if the notification channel is working. Default is false.
ShareWithCurrentTeam bool
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
Timeouts MonitorNotificationChannelWebhookTimeoutsArgs
Url string
URL to send the event.
Version float64
(Computed) The current version of the Notification Channel.
additionalHeaders Map<String,String>
Key value list of custom headers.
allowInsecureConnections Boolean
Whether to skip TLS verification. Default: false.
customData Map<String,String>
Key value list of additional data you want to attach to the alert notification.
enabled Boolean
If false, the channel will not emit notifications. Default is true.
monitorNotificationChannelWebhookId String
(Computed) The ID of the Notification Channel.
name String
The name of the Notification Channel. Must be unique.
notifyWhenOk Boolean
Send a new notification when the alert condition is no longer triggered. Default is false.
notifyWhenResolved Boolean
Send a new notification when the alert is manually acknowledged by a user. Default is false.
sendTestNotification Boolean
Send an initial test notification to check if the notification channel is working. Default is false.
shareWithCurrentTeam Boolean
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts MonitorNotificationChannelWebhookTimeouts
url String
URL to send the event.
version Double
(Computed) The current version of the Notification Channel.
additionalHeaders {[key: string]: string}
Key value list of custom headers.
allowInsecureConnections boolean
Whether to skip TLS verification. Default: false.
customData {[key: string]: string}
Key value list of additional data you want to attach to the alert notification.
enabled boolean
If false, the channel will not emit notifications. Default is true.
monitorNotificationChannelWebhookId string
(Computed) The ID of the Notification Channel.
name string
The name of the Notification Channel. Must be unique.
notifyWhenOk boolean
Send a new notification when the alert condition is no longer triggered. Default is false.
notifyWhenResolved boolean
Send a new notification when the alert is manually acknowledged by a user. Default is false.
sendTestNotification boolean
Send an initial test notification to check if the notification channel is working. Default is false.
shareWithCurrentTeam boolean
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts MonitorNotificationChannelWebhookTimeouts
url string
URL to send the event.
version number
(Computed) The current version of the Notification Channel.
additional_headers Mapping[str, str]
Key value list of custom headers.
allow_insecure_connections bool
Whether to skip TLS verification. Default: false.
custom_data Mapping[str, str]
Key value list of additional data you want to attach to the alert notification.
enabled bool
If false, the channel will not emit notifications. Default is true.
monitor_notification_channel_webhook_id str
(Computed) The ID of the Notification Channel.
name str
The name of the Notification Channel. Must be unique.
notify_when_ok bool
Send a new notification when the alert condition is no longer triggered. Default is false.
notify_when_resolved bool
Send a new notification when the alert is manually acknowledged by a user. Default is false.
send_test_notification bool
Send an initial test notification to check if the notification channel is working. Default is false.
share_with_current_team bool
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts MonitorNotificationChannelWebhookTimeoutsArgs
url str
URL to send the event.
version float
(Computed) The current version of the Notification Channel.
additionalHeaders Map<String>
Key value list of custom headers.
allowInsecureConnections Boolean
Whether to skip TLS verification. Default: false.
customData Map<String>
Key value list of additional data you want to attach to the alert notification.
enabled Boolean
If false, the channel will not emit notifications. Default is true.
monitorNotificationChannelWebhookId String
(Computed) The ID of the Notification Channel.
name String
The name of the Notification Channel. Must be unique.
notifyWhenOk Boolean
Send a new notification when the alert condition is no longer triggered. Default is false.
notifyWhenResolved Boolean
Send a new notification when the alert is manually acknowledged by a user. Default is false.
sendTestNotification Boolean
Send an initial test notification to check if the notification channel is working. Default is false.
shareWithCurrentTeam Boolean
(Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
timeouts Property Map
url String
URL to send the event.
version Number
(Computed) The current version of the Notification Channel.

Supporting Types

MonitorNotificationChannelWebhookTimeouts
, MonitorNotificationChannelWebhookTimeoutsArgs

Create string
Delete string
Read string
Update string
Create string
Delete string
Read string
Update string
create String
delete String
read String
update String
create string
delete string
read string
update string
create str
delete str
read str
update str
create String
delete String
read String
update String

Import

Webhook notification channels for Monitor can be imported using the ID, e.g.

$ pulumi import sysdig:index/monitorNotificationChannelWebhook:MonitorNotificationChannelWebhook example 12345
Copy

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

Package Details

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