1. Packages
  2. Sysdig Provider
  3. API Docs
  4. MonitorNotificationChannelSlack
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

sysdig.MonitorNotificationChannelSlack

Explore with Pulumi AI

sysdig logo
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const sample_slack = new sysdig.MonitorNotificationChannelSlack("sample-slack", {
        channel: "#sysdig",
        enabled: true,
        isPrivateChannel: false,
        notifyWhenOk: false,
        notifyWhenResolved: false,
        url: "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    sample_slack = sysdig.MonitorNotificationChannelSlack("sample-slack",
        channel="#sysdig",
        enabled=True,
        is_private_channel=False,
        notify_when_ok=False,
        notify_when_resolved=False,
        url="https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX")
    
    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.NewMonitorNotificationChannelSlack(ctx, "sample-slack", &sysdig.MonitorNotificationChannelSlackArgs{
    			Channel:            pulumi.String("#sysdig"),
    			Enabled:            pulumi.Bool(true),
    			IsPrivateChannel:   pulumi.Bool(false),
    			NotifyWhenOk:       pulumi.Bool(false),
    			NotifyWhenResolved: pulumi.Bool(false),
    			Url:                pulumi.String("https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sysdig = Pulumi.Sysdig;
    
    return await Deployment.RunAsync(() => 
    {
        var sample_slack = new Sysdig.MonitorNotificationChannelSlack("sample-slack", new()
        {
            Channel = "#sysdig",
            Enabled = true,
            IsPrivateChannel = false,
            NotifyWhenOk = false,
            NotifyWhenResolved = false,
            Url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.MonitorNotificationChannelSlack;
    import com.pulumi.sysdig.MonitorNotificationChannelSlackArgs;
    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_slack = new MonitorNotificationChannelSlack("sample-slack", MonitorNotificationChannelSlackArgs.builder()
                .channel("#sysdig")
                .enabled(true)
                .isPrivateChannel(false)
                .notifyWhenOk(false)
                .notifyWhenResolved(false)
                .url("https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX")
                .build());
    
        }
    }
    
    resources:
      sample-slack:
        type: sysdig:MonitorNotificationChannelSlack
        properties:
          channel: '#sysdig'
          enabled: true
          isPrivateChannel: false
          notifyWhenOk: false
          notifyWhenResolved: false
          url: https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX
    

    Create MonitorNotificationChannelSlack Resource

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

    Constructor syntax

    new MonitorNotificationChannelSlack(name: string, args: MonitorNotificationChannelSlackArgs, opts?: CustomResourceOptions);
    @overload
    def MonitorNotificationChannelSlack(resource_name: str,
                                        args: MonitorNotificationChannelSlackArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitorNotificationChannelSlack(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        channel: Optional[str] = None,
                                        url: Optional[str] = None,
                                        send_test_notification: Optional[bool] = None,
                                        show_section_capturing_information: Optional[bool] = None,
                                        name: Optional[str] = None,
                                        notify_when_ok: Optional[bool] = None,
                                        notify_when_resolved: Optional[bool] = None,
                                        private_channel_url: Optional[str] = None,
                                        is_private_channel: Optional[bool] = None,
                                        share_with_current_team: Optional[bool] = None,
                                        show_section_alert_details: Optional[bool] = None,
                                        monitor_notification_channel_slack_id: Optional[str] = None,
                                        show_section_dashboard_links: Optional[bool] = None,
                                        show_section_event_details: Optional[bool] = None,
                                        show_section_notification_chart: Optional[bool] = None,
                                        show_section_runbook_links: Optional[bool] = None,
                                        show_section_user_defined_content: Optional[bool] = None,
                                        timeouts: Optional[MonitorNotificationChannelSlackTimeoutsArgs] = None,
                                        enabled: Optional[bool] = None)
    func NewMonitorNotificationChannelSlack(ctx *Context, name string, args MonitorNotificationChannelSlackArgs, opts ...ResourceOption) (*MonitorNotificationChannelSlack, error)
    public MonitorNotificationChannelSlack(string name, MonitorNotificationChannelSlackArgs args, CustomResourceOptions? opts = null)
    public MonitorNotificationChannelSlack(String name, MonitorNotificationChannelSlackArgs args)
    public MonitorNotificationChannelSlack(String name, MonitorNotificationChannelSlackArgs args, CustomResourceOptions options)
    
    type: sysdig:MonitorNotificationChannelSlack
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MonitorNotificationChannelSlackArgs
    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 MonitorNotificationChannelSlackArgs
    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 MonitorNotificationChannelSlackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorNotificationChannelSlackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorNotificationChannelSlackArgs
    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 monitorNotificationChannelSlackResource = new Sysdig.MonitorNotificationChannelSlack("monitorNotificationChannelSlackResource", new()
    {
        Channel = "string",
        Url = "string",
        SendTestNotification = false,
        ShowSectionCapturingInformation = false,
        Name = "string",
        NotifyWhenOk = false,
        NotifyWhenResolved = false,
        PrivateChannelUrl = "string",
        IsPrivateChannel = false,
        ShareWithCurrentTeam = false,
        ShowSectionAlertDetails = false,
        MonitorNotificationChannelSlackId = "string",
        ShowSectionDashboardLinks = false,
        ShowSectionEventDetails = false,
        ShowSectionNotificationChart = false,
        ShowSectionRunbookLinks = false,
        ShowSectionUserDefinedContent = false,
        Timeouts = new Sysdig.Inputs.MonitorNotificationChannelSlackTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        Enabled = false,
    });
    
    example, err := sysdig.NewMonitorNotificationChannelSlack(ctx, "monitorNotificationChannelSlackResource", &sysdig.MonitorNotificationChannelSlackArgs{
    	Channel:                           pulumi.String("string"),
    	Url:                               pulumi.String("string"),
    	SendTestNotification:              pulumi.Bool(false),
    	ShowSectionCapturingInformation:   pulumi.Bool(false),
    	Name:                              pulumi.String("string"),
    	NotifyWhenOk:                      pulumi.Bool(false),
    	NotifyWhenResolved:                pulumi.Bool(false),
    	PrivateChannelUrl:                 pulumi.String("string"),
    	IsPrivateChannel:                  pulumi.Bool(false),
    	ShareWithCurrentTeam:              pulumi.Bool(false),
    	ShowSectionAlertDetails:           pulumi.Bool(false),
    	MonitorNotificationChannelSlackId: pulumi.String("string"),
    	ShowSectionDashboardLinks:         pulumi.Bool(false),
    	ShowSectionEventDetails:           pulumi.Bool(false),
    	ShowSectionNotificationChart:      pulumi.Bool(false),
    	ShowSectionRunbookLinks:           pulumi.Bool(false),
    	ShowSectionUserDefinedContent:     pulumi.Bool(false),
    	Timeouts: &sysdig.MonitorNotificationChannelSlackTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Enabled: pulumi.Bool(false),
    })
    
    var monitorNotificationChannelSlackResource = new MonitorNotificationChannelSlack("monitorNotificationChannelSlackResource", MonitorNotificationChannelSlackArgs.builder()
        .channel("string")
        .url("string")
        .sendTestNotification(false)
        .showSectionCapturingInformation(false)
        .name("string")
        .notifyWhenOk(false)
        .notifyWhenResolved(false)
        .privateChannelUrl("string")
        .isPrivateChannel(false)
        .shareWithCurrentTeam(false)
        .showSectionAlertDetails(false)
        .monitorNotificationChannelSlackId("string")
        .showSectionDashboardLinks(false)
        .showSectionEventDetails(false)
        .showSectionNotificationChart(false)
        .showSectionRunbookLinks(false)
        .showSectionUserDefinedContent(false)
        .timeouts(MonitorNotificationChannelSlackTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .enabled(false)
        .build());
    
    monitor_notification_channel_slack_resource = sysdig.MonitorNotificationChannelSlack("monitorNotificationChannelSlackResource",
        channel="string",
        url="string",
        send_test_notification=False,
        show_section_capturing_information=False,
        name="string",
        notify_when_ok=False,
        notify_when_resolved=False,
        private_channel_url="string",
        is_private_channel=False,
        share_with_current_team=False,
        show_section_alert_details=False,
        monitor_notification_channel_slack_id="string",
        show_section_dashboard_links=False,
        show_section_event_details=False,
        show_section_notification_chart=False,
        show_section_runbook_links=False,
        show_section_user_defined_content=False,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        },
        enabled=False)
    
    const monitorNotificationChannelSlackResource = new sysdig.MonitorNotificationChannelSlack("monitorNotificationChannelSlackResource", {
        channel: "string",
        url: "string",
        sendTestNotification: false,
        showSectionCapturingInformation: false,
        name: "string",
        notifyWhenOk: false,
        notifyWhenResolved: false,
        privateChannelUrl: "string",
        isPrivateChannel: false,
        shareWithCurrentTeam: false,
        showSectionAlertDetails: false,
        monitorNotificationChannelSlackId: "string",
        showSectionDashboardLinks: false,
        showSectionEventDetails: false,
        showSectionNotificationChart: false,
        showSectionRunbookLinks: false,
        showSectionUserDefinedContent: false,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        enabled: false,
    });
    
    type: sysdig:MonitorNotificationChannelSlack
    properties:
        channel: string
        enabled: false
        isPrivateChannel: false
        monitorNotificationChannelSlackId: string
        name: string
        notifyWhenOk: false
        notifyWhenResolved: false
        privateChannelUrl: string
        sendTestNotification: false
        shareWithCurrentTeam: false
        showSectionAlertDetails: false
        showSectionCapturingInformation: false
        showSectionDashboardLinks: false
        showSectionEventDetails: false
        showSectionNotificationChart: false
        showSectionRunbookLinks: false
        showSectionUserDefinedContent: false
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        url: string
    

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

    Channel string
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    Url string
    URL of the Slack webhook.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IsPrivateChannel bool
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    MonitorNotificationChannelSlackId 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.
    PrivateChannelUrl string
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    ShowSectionAlertDetails bool
    Whether to include the alert details section in the Slack messages. Default: true.
    ShowSectionCapturingInformation bool
    Whether to include the capturing information section in the Slack messages. Default: true.
    ShowSectionDashboardLinks bool
    Whether to include the dashboard links section in the Slack messages. Default: true.
    ShowSectionEventDetails bool
    Whether to include the event details section in the Slack messages. Default: true.
    ShowSectionNotificationChart bool
    Whether to include the notification chart section in the Slack messages. Default: true.
    ShowSectionRunbookLinks bool
    Whether to include the runbook links section in the Slack messages. Default: true.
    ShowSectionUserDefinedContent bool
    Whether to include the user defined section in the Slack messages. Default: true.
    Timeouts MonitorNotificationChannelSlackTimeouts
    Channel string
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    Url string
    URL of the Slack webhook.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IsPrivateChannel bool
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    MonitorNotificationChannelSlackId 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.
    PrivateChannelUrl string
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    ShowSectionAlertDetails bool
    Whether to include the alert details section in the Slack messages. Default: true.
    ShowSectionCapturingInformation bool
    Whether to include the capturing information section in the Slack messages. Default: true.
    ShowSectionDashboardLinks bool
    Whether to include the dashboard links section in the Slack messages. Default: true.
    ShowSectionEventDetails bool
    Whether to include the event details section in the Slack messages. Default: true.
    ShowSectionNotificationChart bool
    Whether to include the notification chart section in the Slack messages. Default: true.
    ShowSectionRunbookLinks bool
    Whether to include the runbook links section in the Slack messages. Default: true.
    ShowSectionUserDefinedContent bool
    Whether to include the user defined section in the Slack messages. Default: true.
    Timeouts MonitorNotificationChannelSlackTimeoutsArgs
    channel String
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    url String
    URL of the Slack webhook.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    isPrivateChannel Boolean
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitorNotificationChannelSlackId 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.
    privateChannelUrl String
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    showSectionAlertDetails Boolean
    Whether to include the alert details section in the Slack messages. Default: true.
    showSectionCapturingInformation Boolean
    Whether to include the capturing information section in the Slack messages. Default: true.
    showSectionDashboardLinks Boolean
    Whether to include the dashboard links section in the Slack messages. Default: true.
    showSectionEventDetails Boolean
    Whether to include the event details section in the Slack messages. Default: true.
    showSectionNotificationChart Boolean
    Whether to include the notification chart section in the Slack messages. Default: true.
    showSectionRunbookLinks Boolean
    Whether to include the runbook links section in the Slack messages. Default: true.
    showSectionUserDefinedContent Boolean
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts MonitorNotificationChannelSlackTimeouts
    channel string
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    url string
    URL of the Slack webhook.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    isPrivateChannel boolean
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitorNotificationChannelSlackId 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.
    privateChannelUrl string
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    showSectionAlertDetails boolean
    Whether to include the alert details section in the Slack messages. Default: true.
    showSectionCapturingInformation boolean
    Whether to include the capturing information section in the Slack messages. Default: true.
    showSectionDashboardLinks boolean
    Whether to include the dashboard links section in the Slack messages. Default: true.
    showSectionEventDetails boolean
    Whether to include the event details section in the Slack messages. Default: true.
    showSectionNotificationChart boolean
    Whether to include the notification chart section in the Slack messages. Default: true.
    showSectionRunbookLinks boolean
    Whether to include the runbook links section in the Slack messages. Default: true.
    showSectionUserDefinedContent boolean
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts MonitorNotificationChannelSlackTimeouts
    channel str
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    url str
    URL of the Slack webhook.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    is_private_channel bool
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitor_notification_channel_slack_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.
    private_channel_url str
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    show_section_alert_details bool
    Whether to include the alert details section in the Slack messages. Default: true.
    show_section_capturing_information bool
    Whether to include the capturing information section in the Slack messages. Default: true.
    show_section_dashboard_links bool
    Whether to include the dashboard links section in the Slack messages. Default: true.
    show_section_event_details bool
    Whether to include the event details section in the Slack messages. Default: true.
    show_section_notification_chart bool
    Whether to include the notification chart section in the Slack messages. Default: true.
    show_section_runbook_links bool
    Whether to include the runbook links section in the Slack messages. Default: true.
    show_section_user_defined_content bool
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts MonitorNotificationChannelSlackTimeoutsArgs
    channel String
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    url String
    URL of the Slack webhook.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    isPrivateChannel Boolean
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitorNotificationChannelSlackId 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.
    privateChannelUrl String
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    showSectionAlertDetails Boolean
    Whether to include the alert details section in the Slack messages. Default: true.
    showSectionCapturingInformation Boolean
    Whether to include the capturing information section in the Slack messages. Default: true.
    showSectionDashboardLinks Boolean
    Whether to include the dashboard links section in the Slack messages. Default: true.
    showSectionEventDetails Boolean
    Whether to include the event details section in the Slack messages. Default: true.
    showSectionNotificationChart Boolean
    Whether to include the notification chart section in the Slack messages. Default: true.
    showSectionRunbookLinks Boolean
    Whether to include the runbook links section in the Slack messages. Default: true.
    showSectionUserDefinedContent Boolean
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts Property Map

    Outputs

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

    Get an existing MonitorNotificationChannelSlack 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?: MonitorNotificationChannelSlackState, opts?: CustomResourceOptions): MonitorNotificationChannelSlack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            channel: Optional[str] = None,
            enabled: Optional[bool] = None,
            is_private_channel: Optional[bool] = None,
            monitor_notification_channel_slack_id: Optional[str] = None,
            name: Optional[str] = None,
            notify_when_ok: Optional[bool] = None,
            notify_when_resolved: Optional[bool] = None,
            private_channel_url: Optional[str] = None,
            send_test_notification: Optional[bool] = None,
            share_with_current_team: Optional[bool] = None,
            show_section_alert_details: Optional[bool] = None,
            show_section_capturing_information: Optional[bool] = None,
            show_section_dashboard_links: Optional[bool] = None,
            show_section_event_details: Optional[bool] = None,
            show_section_notification_chart: Optional[bool] = None,
            show_section_runbook_links: Optional[bool] = None,
            show_section_user_defined_content: Optional[bool] = None,
            timeouts: Optional[MonitorNotificationChannelSlackTimeoutsArgs] = None,
            url: Optional[str] = None,
            version: Optional[float] = None) -> MonitorNotificationChannelSlack
    func GetMonitorNotificationChannelSlack(ctx *Context, name string, id IDInput, state *MonitorNotificationChannelSlackState, opts ...ResourceOption) (*MonitorNotificationChannelSlack, error)
    public static MonitorNotificationChannelSlack Get(string name, Input<string> id, MonitorNotificationChannelSlackState? state, CustomResourceOptions? opts = null)
    public static MonitorNotificationChannelSlack get(String name, Output<String> id, MonitorNotificationChannelSlackState state, CustomResourceOptions options)
    resources:  _:    type: sysdig:MonitorNotificationChannelSlack    get:      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:
    Channel string
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IsPrivateChannel bool
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    MonitorNotificationChannelSlackId 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.
    PrivateChannelUrl string
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    ShowSectionAlertDetails bool
    Whether to include the alert details section in the Slack messages. Default: true.
    ShowSectionCapturingInformation bool
    Whether to include the capturing information section in the Slack messages. Default: true.
    ShowSectionDashboardLinks bool
    Whether to include the dashboard links section in the Slack messages. Default: true.
    ShowSectionEventDetails bool
    Whether to include the event details section in the Slack messages. Default: true.
    ShowSectionNotificationChart bool
    Whether to include the notification chart section in the Slack messages. Default: true.
    ShowSectionRunbookLinks bool
    Whether to include the runbook links section in the Slack messages. Default: true.
    ShowSectionUserDefinedContent bool
    Whether to include the user defined section in the Slack messages. Default: true.
    Timeouts MonitorNotificationChannelSlackTimeouts
    Url string
    URL of the Slack webhook.
    Version double
    (Computed) The current version of the Notification Channel.
    Channel string
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IsPrivateChannel bool
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    MonitorNotificationChannelSlackId 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.
    PrivateChannelUrl string
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    ShowSectionAlertDetails bool
    Whether to include the alert details section in the Slack messages. Default: true.
    ShowSectionCapturingInformation bool
    Whether to include the capturing information section in the Slack messages. Default: true.
    ShowSectionDashboardLinks bool
    Whether to include the dashboard links section in the Slack messages. Default: true.
    ShowSectionEventDetails bool
    Whether to include the event details section in the Slack messages. Default: true.
    ShowSectionNotificationChart bool
    Whether to include the notification chart section in the Slack messages. Default: true.
    ShowSectionRunbookLinks bool
    Whether to include the runbook links section in the Slack messages. Default: true.
    ShowSectionUserDefinedContent bool
    Whether to include the user defined section in the Slack messages. Default: true.
    Timeouts MonitorNotificationChannelSlackTimeoutsArgs
    Url string
    URL of the Slack webhook.
    Version float64
    (Computed) The current version of the Notification Channel.
    channel String
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    isPrivateChannel Boolean
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitorNotificationChannelSlackId 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.
    privateChannelUrl String
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    showSectionAlertDetails Boolean
    Whether to include the alert details section in the Slack messages. Default: true.
    showSectionCapturingInformation Boolean
    Whether to include the capturing information section in the Slack messages. Default: true.
    showSectionDashboardLinks Boolean
    Whether to include the dashboard links section in the Slack messages. Default: true.
    showSectionEventDetails Boolean
    Whether to include the event details section in the Slack messages. Default: true.
    showSectionNotificationChart Boolean
    Whether to include the notification chart section in the Slack messages. Default: true.
    showSectionRunbookLinks Boolean
    Whether to include the runbook links section in the Slack messages. Default: true.
    showSectionUserDefinedContent Boolean
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts MonitorNotificationChannelSlackTimeouts
    url String
    URL of the Slack webhook.
    version Double
    (Computed) The current version of the Notification Channel.
    channel string
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    isPrivateChannel boolean
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitorNotificationChannelSlackId 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.
    privateChannelUrl string
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    showSectionAlertDetails boolean
    Whether to include the alert details section in the Slack messages. Default: true.
    showSectionCapturingInformation boolean
    Whether to include the capturing information section in the Slack messages. Default: true.
    showSectionDashboardLinks boolean
    Whether to include the dashboard links section in the Slack messages. Default: true.
    showSectionEventDetails boolean
    Whether to include the event details section in the Slack messages. Default: true.
    showSectionNotificationChart boolean
    Whether to include the notification chart section in the Slack messages. Default: true.
    showSectionRunbookLinks boolean
    Whether to include the runbook links section in the Slack messages. Default: true.
    showSectionUserDefinedContent boolean
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts MonitorNotificationChannelSlackTimeouts
    url string
    URL of the Slack webhook.
    version number
    (Computed) The current version of the Notification Channel.
    channel str
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    is_private_channel bool
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitor_notification_channel_slack_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.
    private_channel_url str
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    show_section_alert_details bool
    Whether to include the alert details section in the Slack messages. Default: true.
    show_section_capturing_information bool
    Whether to include the capturing information section in the Slack messages. Default: true.
    show_section_dashboard_links bool
    Whether to include the dashboard links section in the Slack messages. Default: true.
    show_section_event_details bool
    Whether to include the event details section in the Slack messages. Default: true.
    show_section_notification_chart bool
    Whether to include the notification chart section in the Slack messages. Default: true.
    show_section_runbook_links bool
    Whether to include the runbook links section in the Slack messages. Default: true.
    show_section_user_defined_content bool
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts MonitorNotificationChannelSlackTimeoutsArgs
    url str
    URL of the Slack webhook.
    version float
    (Computed) The current version of the Notification Channel.
    channel String
    Name of the Slack channel. NOTE: If the channel is private this field cannot be changed after creation.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    isPrivateChannel Boolean
    If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
    monitorNotificationChannelSlackId 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.
    privateChannelUrl String
    The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
    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.
    showSectionAlertDetails Boolean
    Whether to include the alert details section in the Slack messages. Default: true.
    showSectionCapturingInformation Boolean
    Whether to include the capturing information section in the Slack messages. Default: true.
    showSectionDashboardLinks Boolean
    Whether to include the dashboard links section in the Slack messages. Default: true.
    showSectionEventDetails Boolean
    Whether to include the event details section in the Slack messages. Default: true.
    showSectionNotificationChart Boolean
    Whether to include the notification chart section in the Slack messages. Default: true.
    showSectionRunbookLinks Boolean
    Whether to include the runbook links section in the Slack messages. Default: true.
    showSectionUserDefinedContent Boolean
    Whether to include the user defined section in the Slack messages. Default: true.
    timeouts Property Map
    url String
    URL of the Slack webhook.
    version Number
    (Computed) The current version of the Notification Channel.

    Supporting Types

    MonitorNotificationChannelSlackTimeouts, MonitorNotificationChannelSlackTimeoutsArgs

    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

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

    $ pulumi import sysdig:index/monitorNotificationChannelSlack:MonitorNotificationChannelSlack example 12345
    

    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.
    sysdig logo
    sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs