sysdig.SecureNotificationChannelSlack
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const sample_slack = new sysdig.SecureNotificationChannelSlack("sample-slack", {
channel: "#sysdig",
enabled: true,
isPrivateChannel: false,
notifyWhenOk: false,
notifyWhenResolved: false,
templateVersion: "v2",
url: "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX",
});
import pulumi
import pulumi_sysdig as sysdig
sample_slack = sysdig.SecureNotificationChannelSlack("sample-slack",
channel="#sysdig",
enabled=True,
is_private_channel=False,
notify_when_ok=False,
notify_when_resolved=False,
template_version="v2",
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.NewSecureNotificationChannelSlack(ctx, "sample-slack", &sysdig.SecureNotificationChannelSlackArgs{
Channel: pulumi.String("#sysdig"),
Enabled: pulumi.Bool(true),
IsPrivateChannel: pulumi.Bool(false),
NotifyWhenOk: pulumi.Bool(false),
NotifyWhenResolved: pulumi.Bool(false),
TemplateVersion: pulumi.String("v2"),
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.SecureNotificationChannelSlack("sample-slack", new()
{
Channel = "#sysdig",
Enabled = true,
IsPrivateChannel = false,
NotifyWhenOk = false,
NotifyWhenResolved = false,
TemplateVersion = "v2",
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.SecureNotificationChannelSlack;
import com.pulumi.sysdig.SecureNotificationChannelSlackArgs;
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 SecureNotificationChannelSlack("sample-slack", SecureNotificationChannelSlackArgs.builder()
.channel("#sysdig")
.enabled(true)
.isPrivateChannel(false)
.notifyWhenOk(false)
.notifyWhenResolved(false)
.templateVersion("v2")
.url("https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX")
.build());
}
}
resources:
sample-slack:
type: sysdig:SecureNotificationChannelSlack
properties:
channel: '#sysdig'
enabled: true
isPrivateChannel: false
notifyWhenOk: false
notifyWhenResolved: false
templateVersion: v2
url: https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX
Create SecureNotificationChannelSlack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureNotificationChannelSlack(name: string, args: SecureNotificationChannelSlackArgs, opts?: CustomResourceOptions);
@overload
def SecureNotificationChannelSlack(resource_name: str,
args: SecureNotificationChannelSlackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecureNotificationChannelSlack(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel: Optional[str] = None,
url: Optional[str] = None,
private_channel_url: Optional[str] = None,
name: Optional[str] = None,
notify_when_ok: Optional[bool] = None,
notify_when_resolved: Optional[bool] = None,
is_private_channel: Optional[bool] = None,
secure_notification_channel_slack_id: Optional[str] = None,
send_test_notification: Optional[bool] = None,
share_with_current_team: Optional[bool] = None,
template_version: Optional[str] = None,
timeouts: Optional[SecureNotificationChannelSlackTimeoutsArgs] = None,
enabled: Optional[bool] = None)
func NewSecureNotificationChannelSlack(ctx *Context, name string, args SecureNotificationChannelSlackArgs, opts ...ResourceOption) (*SecureNotificationChannelSlack, error)
public SecureNotificationChannelSlack(string name, SecureNotificationChannelSlackArgs args, CustomResourceOptions? opts = null)
public SecureNotificationChannelSlack(String name, SecureNotificationChannelSlackArgs args)
public SecureNotificationChannelSlack(String name, SecureNotificationChannelSlackArgs args, CustomResourceOptions options)
type: sysdig:SecureNotificationChannelSlack
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 SecureNotificationChannelSlackArgs
- 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 SecureNotificationChannelSlackArgs
- 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 SecureNotificationChannelSlackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureNotificationChannelSlackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureNotificationChannelSlackArgs
- 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 secureNotificationChannelSlackResource = new Sysdig.SecureNotificationChannelSlack("secureNotificationChannelSlackResource", new()
{
Channel = "string",
Url = "string",
PrivateChannelUrl = "string",
Name = "string",
NotifyWhenOk = false,
NotifyWhenResolved = false,
IsPrivateChannel = false,
SecureNotificationChannelSlackId = "string",
SendTestNotification = false,
ShareWithCurrentTeam = false,
TemplateVersion = "string",
Timeouts = new Sysdig.Inputs.SecureNotificationChannelSlackTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
Enabled = false,
});
example, err := sysdig.NewSecureNotificationChannelSlack(ctx, "secureNotificationChannelSlackResource", &sysdig.SecureNotificationChannelSlackArgs{
Channel: pulumi.String("string"),
Url: pulumi.String("string"),
PrivateChannelUrl: pulumi.String("string"),
Name: pulumi.String("string"),
NotifyWhenOk: pulumi.Bool(false),
NotifyWhenResolved: pulumi.Bool(false),
IsPrivateChannel: pulumi.Bool(false),
SecureNotificationChannelSlackId: pulumi.String("string"),
SendTestNotification: pulumi.Bool(false),
ShareWithCurrentTeam: pulumi.Bool(false),
TemplateVersion: pulumi.String("string"),
Timeouts: &sysdig.SecureNotificationChannelSlackTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
})
var secureNotificationChannelSlackResource = new SecureNotificationChannelSlack("secureNotificationChannelSlackResource", SecureNotificationChannelSlackArgs.builder()
.channel("string")
.url("string")
.privateChannelUrl("string")
.name("string")
.notifyWhenOk(false)
.notifyWhenResolved(false)
.isPrivateChannel(false)
.secureNotificationChannelSlackId("string")
.sendTestNotification(false)
.shareWithCurrentTeam(false)
.templateVersion("string")
.timeouts(SecureNotificationChannelSlackTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.enabled(false)
.build());
secure_notification_channel_slack_resource = sysdig.SecureNotificationChannelSlack("secureNotificationChannelSlackResource",
channel="string",
url="string",
private_channel_url="string",
name="string",
notify_when_ok=False,
notify_when_resolved=False,
is_private_channel=False,
secure_notification_channel_slack_id="string",
send_test_notification=False,
share_with_current_team=False,
template_version="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
},
enabled=False)
const secureNotificationChannelSlackResource = new sysdig.SecureNotificationChannelSlack("secureNotificationChannelSlackResource", {
channel: "string",
url: "string",
privateChannelUrl: "string",
name: "string",
notifyWhenOk: false,
notifyWhenResolved: false,
isPrivateChannel: false,
secureNotificationChannelSlackId: "string",
sendTestNotification: false,
shareWithCurrentTeam: false,
templateVersion: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
enabled: false,
});
type: sysdig:SecureNotificationChannelSlack
properties:
channel: string
enabled: false
isPrivateChannel: false
name: string
notifyWhenOk: false
notifyWhenResolved: false
privateChannelUrl: string
secureNotificationChannelSlackId: string
sendTestNotification: false
shareWithCurrentTeam: false
templateVersion: string
timeouts:
create: string
delete: string
read: string
update: string
url: string
SecureNotificationChannelSlack 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 SecureNotificationChannelSlack 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.
- Is
Private boolChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Private
Channel stringUrl - 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.
- Secure
Notification stringChannel Slack Id - (Computed) The ID of the Notification Channel.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - Template
Version string - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- Timeouts
Secure
Notification Channel Slack Timeouts
- 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.
- Is
Private boolChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Private
Channel stringUrl - 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.
- Secure
Notification stringChannel Slack Id - (Computed) The ID of the Notification Channel.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - Template
Version string - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- Timeouts
Secure
Notification Channel Slack Timeouts Args
- 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.
- is
Private BooleanChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private
Channel StringUrl - 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.
- secure
Notification StringChannel Slack Id - (Computed) The ID of the Notification Channel.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template
Version String - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts
Secure
Notification Channel Slack Timeouts
- 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.
- is
Private booleanChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name string
- The name of the Notification Channel. Must be unique.
- notify
When booleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When booleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private
Channel stringUrl - 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.
- secure
Notification stringChannel Slack Id - (Computed) The ID of the Notification Channel.
- send
Test booleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template
Version string - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts
Secure
Notification Channel Slack Timeouts
- 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_ boolchannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name str
- The name of the Notification Channel. Must be unique.
- notify_
when_ boolok - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify_
when_ boolresolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private_
channel_ strurl - 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.
- secure_
notification_ strchannel_ slack_ id - (Computed) The ID of the Notification Channel.
- send_
test_ boolnotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template_
version str - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts
Secure
Notification Channel Slack Timeouts Args
- 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.
- is
Private BooleanChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private
Channel StringUrl - 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.
- secure
Notification StringChannel Slack Id - (Computed) The ID of the Notification Channel.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template
Version String - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureNotificationChannelSlack resource produces the following output properties:
Look up Existing SecureNotificationChannelSlack Resource
Get an existing SecureNotificationChannelSlack 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?: SecureNotificationChannelSlackState, opts?: CustomResourceOptions): SecureNotificationChannelSlack
@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,
name: Optional[str] = None,
notify_when_ok: Optional[bool] = None,
notify_when_resolved: Optional[bool] = None,
private_channel_url: Optional[str] = None,
secure_notification_channel_slack_id: Optional[str] = None,
send_test_notification: Optional[bool] = None,
share_with_current_team: Optional[bool] = None,
template_version: Optional[str] = None,
timeouts: Optional[SecureNotificationChannelSlackTimeoutsArgs] = None,
url: Optional[str] = None,
version: Optional[float] = None) -> SecureNotificationChannelSlack
func GetSecureNotificationChannelSlack(ctx *Context, name string, id IDInput, state *SecureNotificationChannelSlackState, opts ...ResourceOption) (*SecureNotificationChannelSlack, error)
public static SecureNotificationChannelSlack Get(string name, Input<string> id, SecureNotificationChannelSlackState? state, CustomResourceOptions? opts = null)
public static SecureNotificationChannelSlack get(String name, Output<String> id, SecureNotificationChannelSlackState state, CustomResourceOptions options)
resources: _: type: sysdig:SecureNotificationChannelSlack 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.
- 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.
- Is
Private boolChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Private
Channel stringUrl - 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.
- Secure
Notification stringChannel Slack Id - (Computed) The ID of the Notification Channel.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - Template
Version string - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- Timeouts
Secure
Notification Channel Slack Timeouts - 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.
- Is
Private boolChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Private
Channel stringUrl - 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.
- Secure
Notification stringChannel Slack Id - (Computed) The ID of the Notification Channel.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - Template
Version string - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- Timeouts
Secure
Notification Channel Slack Timeouts Args - 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.
- is
Private BooleanChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private
Channel StringUrl - 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.
- secure
Notification StringChannel Slack Id - (Computed) The ID of the Notification Channel.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template
Version String - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts
Secure
Notification Channel Slack Timeouts - 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.
- is
Private booleanChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name string
- The name of the Notification Channel. Must be unique.
- notify
When booleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When booleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private
Channel stringUrl - 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.
- secure
Notification stringChannel Slack Id - (Computed) The ID of the Notification Channel.
- send
Test booleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template
Version string - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts
Secure
Notification Channel Slack Timeouts - 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_ boolchannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name str
- The name of the Notification Channel. Must be unique.
- notify_
when_ boolok - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify_
when_ boolresolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private_
channel_ strurl - 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.
- secure_
notification_ strchannel_ slack_ id - (Computed) The ID of the Notification Channel.
- send_
test_ boolnotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template_
version str - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts
Secure
Notification Channel Slack Timeouts Args - 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.
- is
Private BooleanChannel - If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- private
Channel StringUrl - 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.
- secure
Notification StringChannel Slack Id - (Computed) The ID of the Notification Channel.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- 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 aerror: 403 Forbidden
if this is not set totrue
. - template
Version String - The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
- timeouts Property Map
- url String
- URL of the Slack webhook.
- version Number
- (Computed) The current version of the Notification Channel.
Supporting Types
SecureNotificationChannelSlackTimeouts, SecureNotificationChannelSlackTimeoutsArgs
Import
Slack notification channels for Secure can be imported using the ID, e.g.
$ pulumi import sysdig:index/secureNotificationChannelSlack:SecureNotificationChannelSlack 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.