published on Friday, Jun 5, 2026 by Chronosphere
published on Friday, Jun 5, 2026 by Chronosphere
Slack notifier that delivers monitor signals to a Slack channel via an incoming webhook. Referenced from notification policies.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pulumi = Chronosphere.Pulumi;
return await Deployment.RunAsync(() =>
{
var slack = new Pulumi.SlackAlertNotifier("slack", new()
{
ApiUrl = "https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX",
Channel = "alerts",
Name = "Slack Notifier",
});
});
package main
import (
"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := chronosphere.NewSlackAlertNotifier(ctx, "slack", &chronosphere.SlackAlertNotifierArgs{
ApiUrl: pulumi.String("https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX"),
Channel: pulumi.String("alerts"),
Name: pulumi.String("Slack Notifier"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.chronosphere.SlackAlertNotifier;
import com.pulumi.chronosphere.SlackAlertNotifierArgs;
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 slack = new SlackAlertNotifier("slack", SlackAlertNotifierArgs.builder()
.apiUrl("https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX")
.channel("alerts")
.name("Slack Notifier")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
const slack = new chronosphere.SlackAlertNotifier("slack", {
apiUrl: "https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX",
channel: "alerts",
name: "Slack Notifier",
});
import pulumi
import pulumi_chronosphere as chronosphere
slack = chronosphere.SlackAlertNotifier("slack",
api_url="https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX",
channel="alerts",
name="Slack Notifier")
resources:
slack:
type: chronosphere:SlackAlertNotifier
properties:
apiUrl: https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX
channel: alerts
name: Slack Notifier
Create SlackAlertNotifier Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SlackAlertNotifier(name: string, args: SlackAlertNotifierArgs, opts?: CustomResourceOptions);@overload
def SlackAlertNotifier(resource_name: str,
args: SlackAlertNotifierArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SlackAlertNotifier(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel: Optional[str] = None,
api_url: Optional[str] = None,
name: Optional[str] = None,
link_names: Optional[bool] = None,
basic_auth_password: Optional[str] = None,
callback_id: Optional[str] = None,
basic_auth_username: Optional[str] = None,
color: Optional[str] = None,
fallback: Optional[str] = None,
fields: Optional[Sequence[SlackAlertNotifierFieldArgs]] = None,
footer: Optional[str] = None,
icon_emoji: Optional[str] = None,
icon_url: Optional[str] = None,
image_url: Optional[str] = None,
actions: Optional[Sequence[SlackAlertNotifierActionArgs]] = None,
mrkdwn_ins: Optional[Sequence[str]] = None,
bearer_token: Optional[str] = None,
pretext: Optional[str] = None,
proxy_url: Optional[str] = None,
send_resolved: Optional[bool] = None,
short_fields: Optional[bool] = None,
slug: Optional[str] = None,
text: Optional[str] = None,
thumb_url: Optional[str] = None,
title: Optional[str] = None,
title_link: Optional[str] = None,
tls_insecure_skip_verify: Optional[bool] = None,
username: Optional[str] = None)func NewSlackAlertNotifier(ctx *Context, name string, args SlackAlertNotifierArgs, opts ...ResourceOption) (*SlackAlertNotifier, error)public SlackAlertNotifier(string name, SlackAlertNotifierArgs args, CustomResourceOptions? opts = null)
public SlackAlertNotifier(String name, SlackAlertNotifierArgs args)
public SlackAlertNotifier(String name, SlackAlertNotifierArgs args, CustomResourceOptions options)
type: chronosphere:SlackAlertNotifier
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "chronosphere_slackalertnotifier" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SlackAlertNotifierArgs
- 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 SlackAlertNotifierArgs
- 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 SlackAlertNotifierArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SlackAlertNotifierArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SlackAlertNotifierArgs
- 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 slackAlertNotifierResource = new Pulumi.SlackAlertNotifier("slackAlertNotifierResource", new()
{
Channel = "string",
ApiUrl = "string",
Name = "string",
LinkNames = false,
BasicAuthPassword = "string",
CallbackId = "string",
BasicAuthUsername = "string",
Color = "string",
Fallback = "string",
Fields = new[]
{
new Pulumi.Inputs.SlackAlertNotifierFieldArgs
{
Short = false,
Title = "string",
Value = "string",
},
},
Footer = "string",
IconEmoji = "string",
IconUrl = "string",
ImageUrl = "string",
Actions = new[]
{
new Pulumi.Inputs.SlackAlertNotifierActionArgs
{
ActionConfirmDismissText = "string",
ActionConfirmOkText = "string",
ActionConfirmText = "string",
ActionConfirmTile = "string",
Name = "string",
Style = "string",
Text = "string",
Type = "string",
Url = "string",
Value = "string",
},
},
MrkdwnIns = new[]
{
"string",
},
BearerToken = "string",
Pretext = "string",
SendResolved = false,
ShortFields = false,
Slug = "string",
Text = "string",
ThumbUrl = "string",
Title = "string",
TitleLink = "string",
TlsInsecureSkipVerify = false,
Username = "string",
});
example, err := chronosphere.NewSlackAlertNotifier(ctx, "slackAlertNotifierResource", &chronosphere.SlackAlertNotifierArgs{
Channel: pulumi.String("string"),
ApiUrl: pulumi.String("string"),
Name: pulumi.String("string"),
LinkNames: pulumi.Bool(false),
BasicAuthPassword: pulumi.String("string"),
CallbackId: pulumi.String("string"),
BasicAuthUsername: pulumi.String("string"),
Color: pulumi.String("string"),
Fallback: pulumi.String("string"),
Fields: chronosphere.SlackAlertNotifierFieldArray{
&chronosphere.SlackAlertNotifierFieldArgs{
Short: pulumi.Bool(false),
Title: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Footer: pulumi.String("string"),
IconEmoji: pulumi.String("string"),
IconUrl: pulumi.String("string"),
ImageUrl: pulumi.String("string"),
Actions: chronosphere.SlackAlertNotifierActionArray{
&chronosphere.SlackAlertNotifierActionArgs{
ActionConfirmDismissText: pulumi.String("string"),
ActionConfirmOkText: pulumi.String("string"),
ActionConfirmText: pulumi.String("string"),
ActionConfirmTile: pulumi.String("string"),
Name: pulumi.String("string"),
Style: pulumi.String("string"),
Text: pulumi.String("string"),
Type: pulumi.String("string"),
Url: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MrkdwnIns: pulumi.StringArray{
pulumi.String("string"),
},
BearerToken: pulumi.String("string"),
Pretext: pulumi.String("string"),
SendResolved: pulumi.Bool(false),
ShortFields: pulumi.Bool(false),
Slug: pulumi.String("string"),
Text: pulumi.String("string"),
ThumbUrl: pulumi.String("string"),
Title: pulumi.String("string"),
TitleLink: pulumi.String("string"),
TlsInsecureSkipVerify: pulumi.Bool(false),
Username: pulumi.String("string"),
})
resource "chronosphere_slackalertnotifier" "slackAlertNotifierResource" {
channel = "string"
api_url = "string"
name = "string"
link_names = false
basic_auth_password = "string"
callback_id = "string"
basic_auth_username = "string"
color = "string"
fallback = "string"
fields {
short = false
title = "string"
value = "string"
}
footer = "string"
icon_emoji = "string"
icon_url = "string"
image_url = "string"
actions {
action_confirm_dismiss_text = "string"
action_confirm_ok_text = "string"
action_confirm_text = "string"
action_confirm_tile = "string"
name = "string"
style = "string"
text = "string"
type = "string"
url = "string"
value = "string"
}
mrkdwn_ins = ["string"]
bearer_token = "string"
pretext = "string"
send_resolved = false
short_fields = false
slug = "string"
text = "string"
thumb_url = "string"
title = "string"
title_link = "string"
tls_insecure_skip_verify = false
username = "string"
}
var slackAlertNotifierResource = new SlackAlertNotifier("slackAlertNotifierResource", SlackAlertNotifierArgs.builder()
.channel("string")
.apiUrl("string")
.name("string")
.linkNames(false)
.basicAuthPassword("string")
.callbackId("string")
.basicAuthUsername("string")
.color("string")
.fallback("string")
.fields(SlackAlertNotifierFieldArgs.builder()
.short_(false)
.title("string")
.value("string")
.build())
.footer("string")
.iconEmoji("string")
.iconUrl("string")
.imageUrl("string")
.actions(SlackAlertNotifierActionArgs.builder()
.actionConfirmDismissText("string")
.actionConfirmOkText("string")
.actionConfirmText("string")
.actionConfirmTile("string")
.name("string")
.style("string")
.text("string")
.type("string")
.url("string")
.value("string")
.build())
.mrkdwnIns("string")
.bearerToken("string")
.pretext("string")
.sendResolved(false)
.shortFields(false)
.slug("string")
.text("string")
.thumbUrl("string")
.title("string")
.titleLink("string")
.tlsInsecureSkipVerify(false)
.username("string")
.build());
slack_alert_notifier_resource = chronosphere.SlackAlertNotifier("slackAlertNotifierResource",
channel="string",
api_url="string",
name="string",
link_names=False,
basic_auth_password="string",
callback_id="string",
basic_auth_username="string",
color="string",
fallback="string",
fields=[{
"short": False,
"title": "string",
"value": "string",
}],
footer="string",
icon_emoji="string",
icon_url="string",
image_url="string",
actions=[{
"action_confirm_dismiss_text": "string",
"action_confirm_ok_text": "string",
"action_confirm_text": "string",
"action_confirm_tile": "string",
"name": "string",
"style": "string",
"text": "string",
"type": "string",
"url": "string",
"value": "string",
}],
mrkdwn_ins=["string"],
bearer_token="string",
pretext="string",
send_resolved=False,
short_fields=False,
slug="string",
text="string",
thumb_url="string",
title="string",
title_link="string",
tls_insecure_skip_verify=False,
username="string")
const slackAlertNotifierResource = new chronosphere.SlackAlertNotifier("slackAlertNotifierResource", {
channel: "string",
apiUrl: "string",
name: "string",
linkNames: false,
basicAuthPassword: "string",
callbackId: "string",
basicAuthUsername: "string",
color: "string",
fallback: "string",
fields: [{
short: false,
title: "string",
value: "string",
}],
footer: "string",
iconEmoji: "string",
iconUrl: "string",
imageUrl: "string",
actions: [{
actionConfirmDismissText: "string",
actionConfirmOkText: "string",
actionConfirmText: "string",
actionConfirmTile: "string",
name: "string",
style: "string",
text: "string",
type: "string",
url: "string",
value: "string",
}],
mrkdwnIns: ["string"],
bearerToken: "string",
pretext: "string",
sendResolved: false,
shortFields: false,
slug: "string",
text: "string",
thumbUrl: "string",
title: "string",
titleLink: "string",
tlsInsecureSkipVerify: false,
username: "string",
});
type: chronosphere:SlackAlertNotifier
properties:
actions:
- actionConfirmDismissText: string
actionConfirmOkText: string
actionConfirmText: string
actionConfirmTile: string
name: string
style: string
text: string
type: string
url: string
value: string
apiUrl: string
basicAuthPassword: string
basicAuthUsername: string
bearerToken: string
callbackId: string
channel: string
color: string
fallback: string
fields:
- short: false
title: string
value: string
footer: string
iconEmoji: string
iconUrl: string
imageUrl: string
linkNames: false
mrkdwnIns:
- string
name: string
pretext: string
sendResolved: false
shortFields: false
slug: string
text: string
thumbUrl: string
title: string
titleLink: string
tlsInsecureSkipVerify: false
username: string
SlackAlertNotifier 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 SlackAlertNotifier resource accepts the following input properties:
- Api
Url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- Channel string
- Slack channel to post notifications to (e.g.
#alerts). - Name string
- Identifier sent back to Slack when the button is clicked.
- Actions
List<Chronosphere.
Pulumi. Inputs. Slack Alert Notifier Action> - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling the webhook.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - Callback
Id string - Slack callback ID used to identify the source of interactive actions.
- Color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - Fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- Fields
List<Chronosphere.
Pulumi. Inputs. Slack Alert Notifier Field> - Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- Icon
Emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - Icon
Url string - URL of an image to use as the bot avatar.
- Image
Url string - URL of an image attached to the message.
- Link
Names bool - If true, find and link channel names and usernames in the message text.
- Mrkdwn
Ins List<string> - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - Pretext string
- Text shown above the attachment. Supports Go templating.
- Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Send
Resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- Short
Fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - Slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - Text string
- Label shown on the button.
- Thumb
Url string - URL of a small thumbnail image shown to the right of the attachment.
- Title string
- Bold heading shown above the value.
- Title
Link string - URL the title links to when clicked.
- Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- Username string
- Display name of the bot posting the message.
- Api
Url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- Channel string
- Slack channel to post notifications to (e.g.
#alerts). - Name string
- Identifier sent back to Slack when the button is clicked.
- Actions
[]Slack
Alert Notifier Action Args - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling the webhook.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - Callback
Id string - Slack callback ID used to identify the source of interactive actions.
- Color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - Fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- Fields
[]Slack
Alert Notifier Field Args - Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- Icon
Emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - Icon
Url string - URL of an image to use as the bot avatar.
- Image
Url string - URL of an image attached to the message.
- Link
Names bool - If true, find and link channel names and usernames in the message text.
- Mrkdwn
Ins []string - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - Pretext string
- Text shown above the attachment. Supports Go templating.
- Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Send
Resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- Short
Fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - Slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - Text string
- Label shown on the button.
- Thumb
Url string - URL of a small thumbnail image shown to the right of the attachment.
- Title string
- Bold heading shown above the value.
- Title
Link string - URL the title links to when clicked.
- Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- Username string
- Display name of the bot posting the message.
- api_
url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- channel string
- Slack channel to post notifications to (e.g.
#alerts). - name string
- Identifier sent back to Slack when the button is clicked.
- actions list(object)
- Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- basic_
auth_ stringpassword - Password for HTTP basic auth when calling the webhook.
- basic_
auth_ stringusername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer_
token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback_
id string - Slack callback ID used to identify the source of interactive actions.
- color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields list(object)
- Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon_
emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon_
url string - URL of an image to use as the bot avatar.
- image_
url string - URL of an image attached to the message.
- link_
names bool - If true, find and link channel names and usernames in the message text.
- mrkdwn_
ins list(string) - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - pretext string
- Text shown above the attachment. Supports Go templating.
- proxy_
url string - Deprecated and ignored. Custom proxy URLs are not supported.
- send_
resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short_
fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text string
- Label shown on the button.
- thumb_
url string - URL of a small thumbnail image shown to the right of the attachment.
- title string
- Bold heading shown above the value.
- title_
link string - URL the title links to when clicked.
- tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username string
- Display name of the bot posting the message.
- api
Url String - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- channel String
- Slack channel to post notifications to (e.g.
#alerts). - name String
- Identifier sent back to Slack when the button is clicked.
- actions
List<Slack
Alert Notifier Action> - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- basic
Auth StringPassword - Password for HTTP basic auth when calling the webhook.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback
Id String - Slack callback ID used to identify the source of interactive actions.
- color String
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback String
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields
List<Slack
Alert Notifier Field> - Structured field/value pairs rendered as a table in the attachment.
- String
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon
Emoji String - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon
Url String - URL of an image to use as the bot avatar.
- image
Url String - URL of an image attached to the message.
- link
Names Boolean - If true, find and link channel names and usernames in the message text.
- mrkdwn
Ins List<String> - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - pretext String
- Text shown above the attachment. Supports Go templating.
- proxy
Url String - Deprecated and ignored. Custom proxy URLs are not supported.
- send
Resolved Boolean - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short
Fields Boolean - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug String
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text String
- Label shown on the button.
- thumb
Url String - URL of a small thumbnail image shown to the right of the attachment.
- title String
- Bold heading shown above the value.
- title
Link String - URL the title links to when clicked.
- tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username String
- Display name of the bot posting the message.
- api
Url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- channel string
- Slack channel to post notifications to (e.g.
#alerts). - name string
- Identifier sent back to Slack when the button is clicked.
- actions
Slack
Alert Notifier Action[] - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- basic
Auth stringPassword - Password for HTTP basic auth when calling the webhook.
- basic
Auth stringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer
Token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback
Id string - Slack callback ID used to identify the source of interactive actions.
- color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields
Slack
Alert Notifier Field[] - Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon
Emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon
Url string - URL of an image to use as the bot avatar.
- image
Url string - URL of an image attached to the message.
- link
Names boolean - If true, find and link channel names and usernames in the message text.
- mrkdwn
Ins string[] - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - pretext string
- Text shown above the attachment. Supports Go templating.
- proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- send
Resolved boolean - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short
Fields boolean - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text string
- Label shown on the button.
- thumb
Url string - URL of a small thumbnail image shown to the right of the attachment.
- title string
- Bold heading shown above the value.
- title
Link string - URL the title links to when clicked.
- tls
Insecure booleanSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username string
- Display name of the bot posting the message.
- api_
url str - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- channel str
- Slack channel to post notifications to (e.g.
#alerts). - name str
- Identifier sent back to Slack when the button is clicked.
- actions
Sequence[Slack
Alert Notifier Action Args] - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- basic_
auth_ strpassword - Password for HTTP basic auth when calling the webhook.
- basic_
auth_ strusername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer_
token str - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback_
id str - Slack callback ID used to identify the source of interactive actions.
- color str
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback str
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields
Sequence[Slack
Alert Notifier Field Args] - Structured field/value pairs rendered as a table in the attachment.
- str
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon_
emoji str - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon_
url str - URL of an image to use as the bot avatar.
- image_
url str - URL of an image attached to the message.
- link_
names bool - If true, find and link channel names and usernames in the message text.
- mrkdwn_
ins Sequence[str] - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - pretext str
- Text shown above the attachment. Supports Go templating.
- proxy_
url str - Deprecated and ignored. Custom proxy URLs are not supported.
- send_
resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short_
fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug str
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text str
- Label shown on the button.
- thumb_
url str - URL of a small thumbnail image shown to the right of the attachment.
- title str
- Bold heading shown above the value.
- title_
link str - URL the title links to when clicked.
- tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username str
- Display name of the bot posting the message.
- api
Url String - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- channel String
- Slack channel to post notifications to (e.g.
#alerts). - name String
- Identifier sent back to Slack when the button is clicked.
- actions List<Property Map>
- Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- basic
Auth StringPassword - Password for HTTP basic auth when calling the webhook.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback
Id String - Slack callback ID used to identify the source of interactive actions.
- color String
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback String
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields List<Property Map>
- Structured field/value pairs rendered as a table in the attachment.
- String
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon
Emoji String - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon
Url String - URL of an image to use as the bot avatar.
- image
Url String - URL of an image attached to the message.
- link
Names Boolean - If true, find and link channel names and usernames in the message text.
- mrkdwn
Ins List<String> - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - pretext String
- Text shown above the attachment. Supports Go templating.
- proxy
Url String - Deprecated and ignored. Custom proxy URLs are not supported.
- send
Resolved Boolean - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short
Fields Boolean - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug String
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text String
- Label shown on the button.
- thumb
Url String - URL of a small thumbnail image shown to the right of the attachment.
- title String
- Bold heading shown above the value.
- title
Link String - URL the title links to when clicked.
- tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username String
- Display name of the bot posting the message.
Outputs
All input properties are implicitly available as output properties. Additionally, the SlackAlertNotifier resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SlackAlertNotifier Resource
Get an existing SlackAlertNotifier 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?: SlackAlertNotifierState, opts?: CustomResourceOptions): SlackAlertNotifier@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[SlackAlertNotifierActionArgs]] = None,
api_url: Optional[str] = None,
basic_auth_password: Optional[str] = None,
basic_auth_username: Optional[str] = None,
bearer_token: Optional[str] = None,
callback_id: Optional[str] = None,
channel: Optional[str] = None,
color: Optional[str] = None,
fallback: Optional[str] = None,
fields: Optional[Sequence[SlackAlertNotifierFieldArgs]] = None,
footer: Optional[str] = None,
icon_emoji: Optional[str] = None,
icon_url: Optional[str] = None,
image_url: Optional[str] = None,
link_names: Optional[bool] = None,
mrkdwn_ins: Optional[Sequence[str]] = None,
name: Optional[str] = None,
pretext: Optional[str] = None,
proxy_url: Optional[str] = None,
send_resolved: Optional[bool] = None,
short_fields: Optional[bool] = None,
slug: Optional[str] = None,
text: Optional[str] = None,
thumb_url: Optional[str] = None,
title: Optional[str] = None,
title_link: Optional[str] = None,
tls_insecure_skip_verify: Optional[bool] = None,
username: Optional[str] = None) -> SlackAlertNotifierfunc GetSlackAlertNotifier(ctx *Context, name string, id IDInput, state *SlackAlertNotifierState, opts ...ResourceOption) (*SlackAlertNotifier, error)public static SlackAlertNotifier Get(string name, Input<string> id, SlackAlertNotifierState? state, CustomResourceOptions? opts = null)public static SlackAlertNotifier get(String name, Output<String> id, SlackAlertNotifierState state, CustomResourceOptions options)resources: _: type: chronosphere:SlackAlertNotifier get: id: ${id}import {
to = chronosphere_slackalertnotifier.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Actions
List<Chronosphere.
Pulumi. Inputs. Slack Alert Notifier Action> - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- Api
Url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling the webhook.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - Callback
Id string - Slack callback ID used to identify the source of interactive actions.
- Channel string
- Slack channel to post notifications to (e.g.
#alerts). - Color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - Fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- Fields
List<Chronosphere.
Pulumi. Inputs. Slack Alert Notifier Field> - Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- Icon
Emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - Icon
Url string - URL of an image to use as the bot avatar.
- Image
Url string - URL of an image attached to the message.
- Link
Names bool - If true, find and link channel names and usernames in the message text.
- Mrkdwn
Ins List<string> - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - Name string
- Identifier sent back to Slack when the button is clicked.
- Pretext string
- Text shown above the attachment. Supports Go templating.
- Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Send
Resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- Short
Fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - Slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - Text string
- Label shown on the button.
- Thumb
Url string - URL of a small thumbnail image shown to the right of the attachment.
- Title string
- Bold heading shown above the value.
- Title
Link string - URL the title links to when clicked.
- Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- Username string
- Display name of the bot posting the message.
- Actions
[]Slack
Alert Notifier Action Args - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- Api
Url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling the webhook.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - Callback
Id string - Slack callback ID used to identify the source of interactive actions.
- Channel string
- Slack channel to post notifications to (e.g.
#alerts). - Color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - Fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- Fields
[]Slack
Alert Notifier Field Args - Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- Icon
Emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - Icon
Url string - URL of an image to use as the bot avatar.
- Image
Url string - URL of an image attached to the message.
- Link
Names bool - If true, find and link channel names and usernames in the message text.
- Mrkdwn
Ins []string - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - Name string
- Identifier sent back to Slack when the button is clicked.
- Pretext string
- Text shown above the attachment. Supports Go templating.
- Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Send
Resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- Short
Fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - Slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - Text string
- Label shown on the button.
- Thumb
Url string - URL of a small thumbnail image shown to the right of the attachment.
- Title string
- Bold heading shown above the value.
- Title
Link string - URL the title links to when clicked.
- Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- Username string
- Display name of the bot posting the message.
- actions list(object)
- Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- api_
url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- basic_
auth_ stringpassword - Password for HTTP basic auth when calling the webhook.
- basic_
auth_ stringusername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer_
token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback_
id string - Slack callback ID used to identify the source of interactive actions.
- channel string
- Slack channel to post notifications to (e.g.
#alerts). - color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields list(object)
- Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon_
emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon_
url string - URL of an image to use as the bot avatar.
- image_
url string - URL of an image attached to the message.
- link_
names bool - If true, find and link channel names and usernames in the message text.
- mrkdwn_
ins list(string) - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - name string
- Identifier sent back to Slack when the button is clicked.
- pretext string
- Text shown above the attachment. Supports Go templating.
- proxy_
url string - Deprecated and ignored. Custom proxy URLs are not supported.
- send_
resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short_
fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text string
- Label shown on the button.
- thumb_
url string - URL of a small thumbnail image shown to the right of the attachment.
- title string
- Bold heading shown above the value.
- title_
link string - URL the title links to when clicked.
- tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username string
- Display name of the bot posting the message.
- actions
List<Slack
Alert Notifier Action> - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- api
Url String - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- basic
Auth StringPassword - Password for HTTP basic auth when calling the webhook.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback
Id String - Slack callback ID used to identify the source of interactive actions.
- channel String
- Slack channel to post notifications to (e.g.
#alerts). - color String
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback String
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields
List<Slack
Alert Notifier Field> - Structured field/value pairs rendered as a table in the attachment.
- String
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon
Emoji String - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon
Url String - URL of an image to use as the bot avatar.
- image
Url String - URL of an image attached to the message.
- link
Names Boolean - If true, find and link channel names and usernames in the message text.
- mrkdwn
Ins List<String> - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - name String
- Identifier sent back to Slack when the button is clicked.
- pretext String
- Text shown above the attachment. Supports Go templating.
- proxy
Url String - Deprecated and ignored. Custom proxy URLs are not supported.
- send
Resolved Boolean - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short
Fields Boolean - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug String
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text String
- Label shown on the button.
- thumb
Url String - URL of a small thumbnail image shown to the right of the attachment.
- title String
- Bold heading shown above the value.
- title
Link String - URL the title links to when clicked.
- tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username String
- Display name of the bot posting the message.
- actions
Slack
Alert Notifier Action[] - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- api
Url string - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- basic
Auth stringPassword - Password for HTTP basic auth when calling the webhook.
- basic
Auth stringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer
Token string - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback
Id string - Slack callback ID used to identify the source of interactive actions.
- channel string
- Slack channel to post notifications to (e.g.
#alerts). - color string
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback string
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields
Slack
Alert Notifier Field[] - Structured field/value pairs rendered as a table in the attachment.
- string
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon
Emoji string - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon
Url string - URL of an image to use as the bot avatar.
- image
Url string - URL of an image attached to the message.
- link
Names boolean - If true, find and link channel names and usernames in the message text.
- mrkdwn
Ins string[] - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - name string
- Identifier sent back to Slack when the button is clicked.
- pretext string
- Text shown above the attachment. Supports Go templating.
- proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- send
Resolved boolean - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short
Fields boolean - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug string
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text string
- Label shown on the button.
- thumb
Url string - URL of a small thumbnail image shown to the right of the attachment.
- title string
- Bold heading shown above the value.
- title
Link string - URL the title links to when clicked.
- tls
Insecure booleanSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username string
- Display name of the bot posting the message.
- actions
Sequence[Slack
Alert Notifier Action Args] - Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- api_
url str - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- basic_
auth_ strpassword - Password for HTTP basic auth when calling the webhook.
- basic_
auth_ strusername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer_
token str - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback_
id str - Slack callback ID used to identify the source of interactive actions.
- channel str
- Slack channel to post notifications to (e.g.
#alerts). - color str
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback str
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields
Sequence[Slack
Alert Notifier Field Args] - Structured field/value pairs rendered as a table in the attachment.
- str
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon_
emoji str - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon_
url str - URL of an image to use as the bot avatar.
- image_
url str - URL of an image attached to the message.
- link_
names bool - If true, find and link channel names and usernames in the message text.
- mrkdwn_
ins Sequence[str] - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - name str
- Identifier sent back to Slack when the button is clicked.
- pretext str
- Text shown above the attachment. Supports Go templating.
- proxy_
url str - Deprecated and ignored. Custom proxy URLs are not supported.
- send_
resolved bool - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short_
fields bool - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug str
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text str
- Label shown on the button.
- thumb_
url str - URL of a small thumbnail image shown to the right of the attachment.
- title str
- Bold heading shown above the value.
- title_
link str - URL the title links to when clicked.
- tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username str
- Display name of the bot posting the message.
- actions List<Property Map>
- Interactive buttons appended to the Slack message. See https://api.slack.com/reference/messaging/attachments#action_fields.
- api
Url String - Slack incoming webhook URL that receives the notifications. Treat this as a secret.
- basic
Auth StringPassword - Password for HTTP basic auth when calling the webhook.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the webhook. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling the webhook. Mutually exclusive with basic auth. - callback
Id String - Slack callback ID used to identify the source of interactive actions.
- channel String
- Slack channel to post notifications to (e.g.
#alerts). - color String
- Color of the attachment border. Hex code or one of
good,warning,danger. Supports Go templating. - fallback String
- Plain-text fallback shown in notifications and clients that don't render attachments. Supports Go templating.
- fields List<Property Map>
- Structured field/value pairs rendered as a table in the attachment.
- String
- Footer text shown at the bottom of the attachment. Supports Go templating.
- icon
Emoji String - Slack emoji to use as the bot avatar (e.g.
:fire:). Mutually exclusive withicon_urlat Slack. - icon
Url String - URL of an image to use as the bot avatar.
- image
Url String - URL of an image attached to the message.
- link
Names Boolean - If true, find and link channel names and usernames in the message text.
- mrkdwn
Ins List<String> - Attachment fields in which Slack parses
mrkdwnformatting. Common values:pretext,text,fields. - name String
- Identifier sent back to Slack when the button is clicked.
- pretext String
- Text shown above the attachment. Supports Go templating.
- proxy
Url String - Deprecated and ignored. Custom proxy URLs are not supported.
- send
Resolved Boolean - Whether to send a follow-up notification when an alert is resolved. Defaults to true.
- short
Fields Boolean - If true, render all
fieldswithshort: trueregardless of per-field setting. - slug String
- Stable identifier for the notifier. Generated from
nameif omitted. Immutable after creation. - text String
- Label shown on the button.
- thumb
Url String - URL of a small thumbnail image shown to the right of the attachment.
- title String
- Bold heading shown above the value.
- title
Link String - URL the title links to when clicked.
- tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling the webhook. Disable only in trusted environments.
- username String
- Display name of the bot posting the message.
Supporting Types
SlackAlertNotifierAction, SlackAlertNotifierActionArgs
- Action
Confirm stringDismiss Text - Label for the cancel button in the confirmation dialog.
- Action
Confirm stringOk Text - Label for the confirm button in the confirmation dialog.
- Action
Confirm stringText - Body text of the confirmation dialog shown before the action runs.
- Action
Confirm stringTile - Title of the confirmation dialog shown before the action runs.
- Name string
- Identifier sent back to Slack when the button is clicked.
- Style string
- Visual style of the button:
default,primary, ordanger. - Text string
- Label shown on the button.
- Type string
- Action type. Typically
button. - Url string
- Link the button navigates to when clicked.
- Value string
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
- Action
Confirm stringDismiss Text - Label for the cancel button in the confirmation dialog.
- Action
Confirm stringOk Text - Label for the confirm button in the confirmation dialog.
- Action
Confirm stringText - Body text of the confirmation dialog shown before the action runs.
- Action
Confirm stringTile - Title of the confirmation dialog shown before the action runs.
- Name string
- Identifier sent back to Slack when the button is clicked.
- Style string
- Visual style of the button:
default,primary, ordanger. - Text string
- Label shown on the button.
- Type string
- Action type. Typically
button. - Url string
- Link the button navigates to when clicked.
- Value string
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
- action_
confirm_ stringdismiss_ text - Label for the cancel button in the confirmation dialog.
- action_
confirm_ stringok_ text - Label for the confirm button in the confirmation dialog.
- action_
confirm_ stringtext - Body text of the confirmation dialog shown before the action runs.
- action_
confirm_ stringtile - Title of the confirmation dialog shown before the action runs.
- name string
- Identifier sent back to Slack when the button is clicked.
- style string
- Visual style of the button:
default,primary, ordanger. - text string
- Label shown on the button.
- type string
- Action type. Typically
button. - url string
- Link the button navigates to when clicked.
- value string
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
- action
Confirm StringDismiss Text - Label for the cancel button in the confirmation dialog.
- action
Confirm StringOk Text - Label for the confirm button in the confirmation dialog.
- action
Confirm StringText - Body text of the confirmation dialog shown before the action runs.
- action
Confirm StringTile - Title of the confirmation dialog shown before the action runs.
- name String
- Identifier sent back to Slack when the button is clicked.
- style String
- Visual style of the button:
default,primary, ordanger. - text String
- Label shown on the button.
- type String
- Action type. Typically
button. - url String
- Link the button navigates to when clicked.
- value String
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
- action
Confirm stringDismiss Text - Label for the cancel button in the confirmation dialog.
- action
Confirm stringOk Text - Label for the confirm button in the confirmation dialog.
- action
Confirm stringText - Body text of the confirmation dialog shown before the action runs.
- action
Confirm stringTile - Title of the confirmation dialog shown before the action runs.
- name string
- Identifier sent back to Slack when the button is clicked.
- style string
- Visual style of the button:
default,primary, ordanger. - text string
- Label shown on the button.
- type string
- Action type. Typically
button. - url string
- Link the button navigates to when clicked.
- value string
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
- action_
confirm_ strdismiss_ text - Label for the cancel button in the confirmation dialog.
- action_
confirm_ strok_ text - Label for the confirm button in the confirmation dialog.
- action_
confirm_ strtext - Body text of the confirmation dialog shown before the action runs.
- action_
confirm_ strtile - Title of the confirmation dialog shown before the action runs.
- name str
- Identifier sent back to Slack when the button is clicked.
- style str
- Visual style of the button:
default,primary, ordanger. - text str
- Label shown on the button.
- type str
- Action type. Typically
button. - url str
- Link the button navigates to when clicked.
- value str
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
- action
Confirm StringDismiss Text - Label for the cancel button in the confirmation dialog.
- action
Confirm StringOk Text - Label for the confirm button in the confirmation dialog.
- action
Confirm StringText - Body text of the confirmation dialog shown before the action runs.
- action
Confirm StringTile - Title of the confirmation dialog shown before the action runs.
- name String
- Identifier sent back to Slack when the button is clicked.
- style String
- Visual style of the button:
default,primary, ordanger. - text String
- Label shown on the button.
- type String
- Action type. Typically
button. - url String
- Link the button navigates to when clicked.
- value String
- Opaque value sent back to Slack alongside
namewhen the button is clicked.
SlackAlertNotifierField, SlackAlertNotifierFieldArgs
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphereTerraform Provider.
published on Friday, Jun 5, 2026 by Chronosphere