databricks.NotificationDestination
Explore with Pulumi AI
This resource allows you to manage Notification Destinations. Notification destinations are used to send notifications for query alerts and jobs to destinations outside of Databricks. Only workspace admins can create, update, and delete notification destinations.
Example Usage
Email
notification destination:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const ndresource = new databricks.NotificationDestination("ndresource", {
displayName: "Notification Destination",
config: {
email: {
addresses: ["abc@gmail.com"],
},
},
});
import pulumi
import pulumi_databricks as databricks
ndresource = databricks.NotificationDestination("ndresource",
display_name="Notification Destination",
config={
"email": {
"addresses": ["abc@gmail.com"],
},
})
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewNotificationDestination(ctx, "ndresource", &databricks.NotificationDestinationArgs{
DisplayName: pulumi.String("Notification Destination"),
Config: &databricks.NotificationDestinationConfigArgs{
Email: &databricks.NotificationDestinationConfigEmailArgs{
Addresses: pulumi.StringArray{
pulumi.String("abc@gmail.com"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var ndresource = new Databricks.NotificationDestination("ndresource", new()
{
DisplayName = "Notification Destination",
Config = new Databricks.Inputs.NotificationDestinationConfigArgs
{
Email = new Databricks.Inputs.NotificationDestinationConfigEmailArgs
{
Addresses = new[]
{
"abc@gmail.com",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.NotificationDestination;
import com.pulumi.databricks.NotificationDestinationArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs;
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 ndresource = new NotificationDestination("ndresource", NotificationDestinationArgs.builder()
.displayName("Notification Destination")
.config(NotificationDestinationConfigArgs.builder()
.email(NotificationDestinationConfigEmailArgs.builder()
.addresses("abc@gmail.com")
.build())
.build())
.build());
}
}
resources:
ndresource:
type: databricks:NotificationDestination
properties:
displayName: Notification Destination
config:
email:
addresses:
- abc@gmail.com
Slack
notification destination:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const ndresource = new databricks.NotificationDestination("ndresource", {
displayName: "Notification Destination",
config: {
slack: {
url: "https://hooks.slack.com/services/...",
},
},
});
import pulumi
import pulumi_databricks as databricks
ndresource = databricks.NotificationDestination("ndresource",
display_name="Notification Destination",
config={
"slack": {
"url": "https://hooks.slack.com/services/...",
},
})
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewNotificationDestination(ctx, "ndresource", &databricks.NotificationDestinationArgs{
DisplayName: pulumi.String("Notification Destination"),
Config: &databricks.NotificationDestinationConfigArgs{
Slack: &databricks.NotificationDestinationConfigSlackArgs{
Url: pulumi.String("https://hooks.slack.com/services/..."),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var ndresource = new Databricks.NotificationDestination("ndresource", new()
{
DisplayName = "Notification Destination",
Config = new Databricks.Inputs.NotificationDestinationConfigArgs
{
Slack = new Databricks.Inputs.NotificationDestinationConfigSlackArgs
{
Url = "https://hooks.slack.com/services/...",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.NotificationDestination;
import com.pulumi.databricks.NotificationDestinationArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs;
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 ndresource = new NotificationDestination("ndresource", NotificationDestinationArgs.builder()
.displayName("Notification Destination")
.config(NotificationDestinationConfigArgs.builder()
.slack(NotificationDestinationConfigSlackArgs.builder()
.url("https://hooks.slack.com/services/...")
.build())
.build())
.build());
}
}
resources:
ndresource:
type: databricks:NotificationDestination
properties:
displayName: Notification Destination
config:
slack:
url: https://hooks.slack.com/services/...
PagerDuty
notification destination:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const ndresource = new databricks.NotificationDestination("ndresource", {
displayName: "Notification Destination",
config: {
pagerduty: {
integrationKey: "xxxxxx",
},
},
});
import pulumi
import pulumi_databricks as databricks
ndresource = databricks.NotificationDestination("ndresource",
display_name="Notification Destination",
config={
"pagerduty": {
"integration_key": "xxxxxx",
},
})
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewNotificationDestination(ctx, "ndresource", &databricks.NotificationDestinationArgs{
DisplayName: pulumi.String("Notification Destination"),
Config: &databricks.NotificationDestinationConfigArgs{
Pagerduty: &databricks.NotificationDestinationConfigPagerdutyArgs{
IntegrationKey: pulumi.String("xxxxxx"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var ndresource = new Databricks.NotificationDestination("ndresource", new()
{
DisplayName = "Notification Destination",
Config = new Databricks.Inputs.NotificationDestinationConfigArgs
{
Pagerduty = new Databricks.Inputs.NotificationDestinationConfigPagerdutyArgs
{
IntegrationKey = "xxxxxx",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.NotificationDestination;
import com.pulumi.databricks.NotificationDestinationArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigPagerdutyArgs;
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 ndresource = new NotificationDestination("ndresource", NotificationDestinationArgs.builder()
.displayName("Notification Destination")
.config(NotificationDestinationConfigArgs.builder()
.pagerduty(NotificationDestinationConfigPagerdutyArgs.builder()
.integrationKey("xxxxxx")
.build())
.build())
.build());
}
}
resources:
ndresource:
type: databricks:NotificationDestination
properties:
displayName: Notification Destination
config:
pagerduty:
integrationKey: xxxxxx
Microsoft Teams
notification destination:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const ndresource = new databricks.NotificationDestination("ndresource", {
displayName: "Notification Destination",
config: {
microsoftTeams: {
url: "https://outlook.office.com/webhook/...",
},
},
});
import pulumi
import pulumi_databricks as databricks
ndresource = databricks.NotificationDestination("ndresource",
display_name="Notification Destination",
config={
"microsoft_teams": {
"url": "https://outlook.office.com/webhook/...",
},
})
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewNotificationDestination(ctx, "ndresource", &databricks.NotificationDestinationArgs{
DisplayName: pulumi.String("Notification Destination"),
Config: &databricks.NotificationDestinationConfigArgs{
MicrosoftTeams: &databricks.NotificationDestinationConfigMicrosoftTeamsArgs{
Url: pulumi.String("https://outlook.office.com/webhook/..."),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var ndresource = new Databricks.NotificationDestination("ndresource", new()
{
DisplayName = "Notification Destination",
Config = new Databricks.Inputs.NotificationDestinationConfigArgs
{
MicrosoftTeams = new Databricks.Inputs.NotificationDestinationConfigMicrosoftTeamsArgs
{
Url = "https://outlook.office.com/webhook/...",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.NotificationDestination;
import com.pulumi.databricks.NotificationDestinationArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigMicrosoftTeamsArgs;
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 ndresource = new NotificationDestination("ndresource", NotificationDestinationArgs.builder()
.displayName("Notification Destination")
.config(NotificationDestinationConfigArgs.builder()
.microsoftTeams(NotificationDestinationConfigMicrosoftTeamsArgs.builder()
.url("https://outlook.office.com/webhook/...")
.build())
.build())
.build());
}
}
resources:
ndresource:
type: databricks:NotificationDestination
properties:
displayName: Notification Destination
config:
microsoftTeams:
url: https://outlook.office.com/webhook/...
Generic Webhook
notification destination:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const ndresource = new databricks.NotificationDestination("ndresource", {
displayName: "Notification Destination",
config: {
genericWebhook: {
url: "https://example.com/webhook",
username: "username",
password: "password",
},
},
});
import pulumi
import pulumi_databricks as databricks
ndresource = databricks.NotificationDestination("ndresource",
display_name="Notification Destination",
config={
"generic_webhook": {
"url": "https://example.com/webhook",
"username": "username",
"password": "password",
},
})
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewNotificationDestination(ctx, "ndresource", &databricks.NotificationDestinationArgs{
DisplayName: pulumi.String("Notification Destination"),
Config: &databricks.NotificationDestinationConfigArgs{
GenericWebhook: &databricks.NotificationDestinationConfigGenericWebhookArgs{
Url: pulumi.String("https://example.com/webhook"),
Username: pulumi.String("username"),
Password: pulumi.String("password"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var ndresource = new Databricks.NotificationDestination("ndresource", new()
{
DisplayName = "Notification Destination",
Config = new Databricks.Inputs.NotificationDestinationConfigArgs
{
GenericWebhook = new Databricks.Inputs.NotificationDestinationConfigGenericWebhookArgs
{
Url = "https://example.com/webhook",
Username = "username",
Password = "password",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.NotificationDestination;
import com.pulumi.databricks.NotificationDestinationArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
import com.pulumi.databricks.inputs.NotificationDestinationConfigGenericWebhookArgs;
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 ndresource = new NotificationDestination("ndresource", NotificationDestinationArgs.builder()
.displayName("Notification Destination")
.config(NotificationDestinationConfigArgs.builder()
.genericWebhook(NotificationDestinationConfigGenericWebhookArgs.builder()
.url("https://example.com/webhook")
.username("username")
.password("password")
.build())
.build())
.build());
}
}
resources:
ndresource:
type: databricks:NotificationDestination
properties:
displayName: Notification Destination
config:
genericWebhook:
url: https://example.com/webhook
username: username
password: password
Create NotificationDestination Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NotificationDestination(name: string, args: NotificationDestinationArgs, opts?: CustomResourceOptions);
@overload
def NotificationDestination(resource_name: str,
args: NotificationDestinationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NotificationDestination(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
config: Optional[NotificationDestinationConfigArgs] = None,
destination_type: Optional[str] = None)
func NewNotificationDestination(ctx *Context, name string, args NotificationDestinationArgs, opts ...ResourceOption) (*NotificationDestination, error)
public NotificationDestination(string name, NotificationDestinationArgs args, CustomResourceOptions? opts = null)
public NotificationDestination(String name, NotificationDestinationArgs args)
public NotificationDestination(String name, NotificationDestinationArgs args, CustomResourceOptions options)
type: databricks:NotificationDestination
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 NotificationDestinationArgs
- 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 NotificationDestinationArgs
- 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 NotificationDestinationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotificationDestinationArgs
- 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 notificationDestinationResource = new Databricks.NotificationDestination("notificationDestinationResource", new()
{
DisplayName = "string",
Config = new Databricks.Inputs.NotificationDestinationConfigArgs
{
Email = new Databricks.Inputs.NotificationDestinationConfigEmailArgs
{
Addresses = new[]
{
"string",
},
},
GenericWebhook = new Databricks.Inputs.NotificationDestinationConfigGenericWebhookArgs
{
Password = "string",
PasswordSet = false,
Url = "string",
UrlSet = false,
Username = "string",
UsernameSet = false,
},
MicrosoftTeams = new Databricks.Inputs.NotificationDestinationConfigMicrosoftTeamsArgs
{
Url = "string",
UrlSet = false,
},
Pagerduty = new Databricks.Inputs.NotificationDestinationConfigPagerdutyArgs
{
IntegrationKey = "string",
IntegrationKeySet = false,
},
Slack = new Databricks.Inputs.NotificationDestinationConfigSlackArgs
{
Url = "string",
UrlSet = false,
},
},
DestinationType = "string",
});
example, err := databricks.NewNotificationDestination(ctx, "notificationDestinationResource", &databricks.NotificationDestinationArgs{
DisplayName: pulumi.String("string"),
Config: &databricks.NotificationDestinationConfigArgs{
Email: &databricks.NotificationDestinationConfigEmailArgs{
Addresses: pulumi.StringArray{
pulumi.String("string"),
},
},
GenericWebhook: &databricks.NotificationDestinationConfigGenericWebhookArgs{
Password: pulumi.String("string"),
PasswordSet: pulumi.Bool(false),
Url: pulumi.String("string"),
UrlSet: pulumi.Bool(false),
Username: pulumi.String("string"),
UsernameSet: pulumi.Bool(false),
},
MicrosoftTeams: &databricks.NotificationDestinationConfigMicrosoftTeamsArgs{
Url: pulumi.String("string"),
UrlSet: pulumi.Bool(false),
},
Pagerduty: &databricks.NotificationDestinationConfigPagerdutyArgs{
IntegrationKey: pulumi.String("string"),
IntegrationKeySet: pulumi.Bool(false),
},
Slack: &databricks.NotificationDestinationConfigSlackArgs{
Url: pulumi.String("string"),
UrlSet: pulumi.Bool(false),
},
},
DestinationType: pulumi.String("string"),
})
var notificationDestinationResource = new NotificationDestination("notificationDestinationResource", NotificationDestinationArgs.builder()
.displayName("string")
.config(NotificationDestinationConfigArgs.builder()
.email(NotificationDestinationConfigEmailArgs.builder()
.addresses("string")
.build())
.genericWebhook(NotificationDestinationConfigGenericWebhookArgs.builder()
.password("string")
.passwordSet(false)
.url("string")
.urlSet(false)
.username("string")
.usernameSet(false)
.build())
.microsoftTeams(NotificationDestinationConfigMicrosoftTeamsArgs.builder()
.url("string")
.urlSet(false)
.build())
.pagerduty(NotificationDestinationConfigPagerdutyArgs.builder()
.integrationKey("string")
.integrationKeySet(false)
.build())
.slack(NotificationDestinationConfigSlackArgs.builder()
.url("string")
.urlSet(false)
.build())
.build())
.destinationType("string")
.build());
notification_destination_resource = databricks.NotificationDestination("notificationDestinationResource",
display_name="string",
config={
"email": {
"addresses": ["string"],
},
"generic_webhook": {
"password": "string",
"password_set": False,
"url": "string",
"url_set": False,
"username": "string",
"username_set": False,
},
"microsoft_teams": {
"url": "string",
"url_set": False,
},
"pagerduty": {
"integration_key": "string",
"integration_key_set": False,
},
"slack": {
"url": "string",
"url_set": False,
},
},
destination_type="string")
const notificationDestinationResource = new databricks.NotificationDestination("notificationDestinationResource", {
displayName: "string",
config: {
email: {
addresses: ["string"],
},
genericWebhook: {
password: "string",
passwordSet: false,
url: "string",
urlSet: false,
username: "string",
usernameSet: false,
},
microsoftTeams: {
url: "string",
urlSet: false,
},
pagerduty: {
integrationKey: "string",
integrationKeySet: false,
},
slack: {
url: "string",
urlSet: false,
},
},
destinationType: "string",
});
type: databricks:NotificationDestination
properties:
config:
email:
addresses:
- string
genericWebhook:
password: string
passwordSet: false
url: string
urlSet: false
username: string
usernameSet: false
microsoftTeams:
url: string
urlSet: false
pagerduty:
integrationKey: string
integrationKeySet: false
slack:
url: string
urlSet: false
destinationType: string
displayName: string
NotificationDestination 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 NotificationDestination resource accepts the following input properties:
- Display
Name string - The display name of the Notification Destination.
- Config
Notification
Destination Config - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- Destination
Type string - the type of Notification Destination.
- Display
Name string - The display name of the Notification Destination.
- Config
Notification
Destination Config Args - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- Destination
Type string - the type of Notification Destination.
- display
Name String - The display name of the Notification Destination.
- config
Notification
Destination Config - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination
Type String - the type of Notification Destination.
- display
Name string - The display name of the Notification Destination.
- config
Notification
Destination Config - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination
Type string - the type of Notification Destination.
- display_
name str - The display name of the Notification Destination.
- config
Notification
Destination Config Args - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination_
type str - the type of Notification Destination.
- display
Name String - The display name of the Notification Destination.
- config Property Map
- The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination
Type String - the type of Notification Destination.
Outputs
All input properties are implicitly available as output properties. Additionally, the NotificationDestination resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NotificationDestination Resource
Get an existing NotificationDestination 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?: NotificationDestinationState, opts?: CustomResourceOptions): NotificationDestination
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[NotificationDestinationConfigArgs] = None,
destination_type: Optional[str] = None,
display_name: Optional[str] = None) -> NotificationDestination
func GetNotificationDestination(ctx *Context, name string, id IDInput, state *NotificationDestinationState, opts ...ResourceOption) (*NotificationDestination, error)
public static NotificationDestination Get(string name, Input<string> id, NotificationDestinationState? state, CustomResourceOptions? opts = null)
public static NotificationDestination get(String name, Output<String> id, NotificationDestinationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Config
Notification
Destination Config - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- Destination
Type string - the type of Notification Destination.
- Display
Name string - The display name of the Notification Destination.
- Config
Notification
Destination Config Args - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- Destination
Type string - the type of Notification Destination.
- Display
Name string - The display name of the Notification Destination.
- config
Notification
Destination Config - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination
Type String - the type of Notification Destination.
- display
Name String - The display name of the Notification Destination.
- config
Notification
Destination Config - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination
Type string - the type of Notification Destination.
- display
Name string - The display name of the Notification Destination.
- config
Notification
Destination Config Args - The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination_
type str - the type of Notification Destination.
- display_
name str - The display name of the Notification Destination.
- config Property Map
- The configuration of the Notification Destination. It must contain exactly one of the following blocks:
- destination
Type String - the type of Notification Destination.
- display
Name String - The display name of the Notification Destination.
Supporting Types
NotificationDestinationConfig, NotificationDestinationConfigArgs
- Email
Notification
Destination Config Email - The email configuration of the Notification Destination. It must contain the following:
- Generic
Webhook NotificationDestination Config Generic Webhook - The Generic Webhook configuration of the Notification Destination. It must contain the following:
- Microsoft
Teams NotificationDestination Config Microsoft Teams - The Microsoft Teams configuration of the Notification Destination. It must contain the following:
- Pagerduty
Notification
Destination Config Pagerduty - The PagerDuty configuration of the Notification Destination. It must contain the following:
- Slack
Notification
Destination Config Slack - The Slack configuration of the Notification Destination. It must contain the following:
- Email
Notification
Destination Config Email - The email configuration of the Notification Destination. It must contain the following:
- Generic
Webhook NotificationDestination Config Generic Webhook - The Generic Webhook configuration of the Notification Destination. It must contain the following:
- Microsoft
Teams NotificationDestination Config Microsoft Teams - The Microsoft Teams configuration of the Notification Destination. It must contain the following:
- Pagerduty
Notification
Destination Config Pagerduty - The PagerDuty configuration of the Notification Destination. It must contain the following:
- Slack
Notification
Destination Config Slack - The Slack configuration of the Notification Destination. It must contain the following:
- email
Notification
Destination Config Email - The email configuration of the Notification Destination. It must contain the following:
- generic
Webhook NotificationDestination Config Generic Webhook - The Generic Webhook configuration of the Notification Destination. It must contain the following:
- microsoft
Teams NotificationDestination Config Microsoft Teams - The Microsoft Teams configuration of the Notification Destination. It must contain the following:
- pagerduty
Notification
Destination Config Pagerduty - The PagerDuty configuration of the Notification Destination. It must contain the following:
- slack
Notification
Destination Config Slack - The Slack configuration of the Notification Destination. It must contain the following:
- email
Notification
Destination Config Email - The email configuration of the Notification Destination. It must contain the following:
- generic
Webhook NotificationDestination Config Generic Webhook - The Generic Webhook configuration of the Notification Destination. It must contain the following:
- microsoft
Teams NotificationDestination Config Microsoft Teams - The Microsoft Teams configuration of the Notification Destination. It must contain the following:
- pagerduty
Notification
Destination Config Pagerduty - The PagerDuty configuration of the Notification Destination. It must contain the following:
- slack
Notification
Destination Config Slack - The Slack configuration of the Notification Destination. It must contain the following:
- email
Notification
Destination Config Email - The email configuration of the Notification Destination. It must contain the following:
- generic_
webhook NotificationDestination Config Generic Webhook - The Generic Webhook configuration of the Notification Destination. It must contain the following:
- microsoft_
teams NotificationDestination Config Microsoft Teams - The Microsoft Teams configuration of the Notification Destination. It must contain the following:
- pagerduty
Notification
Destination Config Pagerduty - The PagerDuty configuration of the Notification Destination. It must contain the following:
- slack
Notification
Destination Config Slack - The Slack configuration of the Notification Destination. It must contain the following:
- email Property Map
- The email configuration of the Notification Destination. It must contain the following:
- generic
Webhook Property Map - The Generic Webhook configuration of the Notification Destination. It must contain the following:
- microsoft
Teams Property Map - The Microsoft Teams configuration of the Notification Destination. It must contain the following:
- pagerduty Property Map
- The PagerDuty configuration of the Notification Destination. It must contain the following:
- slack Property Map
- The Slack configuration of the Notification Destination. It must contain the following:
NotificationDestinationConfigEmail, NotificationDestinationConfigEmailArgs
- Addresses List<string>
- The list of email addresses to send notifications to.
- Addresses []string
- The list of email addresses to send notifications to.
- addresses List<String>
- The list of email addresses to send notifications to.
- addresses string[]
- The list of email addresses to send notifications to.
- addresses Sequence[str]
- The list of email addresses to send notifications to.
- addresses List<String>
- The list of email addresses to send notifications to.
NotificationDestinationConfigGenericWebhook, NotificationDestinationConfigGenericWebhookArgs
- Password string
The password for basic authentication.
NOTE If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type.
- Password
Set bool - Url string
- The Generic Webhook URL.
- Url
Set bool - Username string
- The username for basic authentication.
- Username
Set bool
- Password string
The password for basic authentication.
NOTE If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type.
- Password
Set bool - Url string
- The Generic Webhook URL.
- Url
Set bool - Username string
- The username for basic authentication.
- Username
Set bool
- password String
The password for basic authentication.
NOTE If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type.
- password
Set Boolean - url String
- The Generic Webhook URL.
- url
Set Boolean - username String
- The username for basic authentication.
- username
Set Boolean
- password string
The password for basic authentication.
NOTE If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type.
- password
Set boolean - url string
- The Generic Webhook URL.
- url
Set boolean - username string
- The username for basic authentication.
- username
Set boolean
- password str
The password for basic authentication.
NOTE If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type.
- password_
set bool - url str
- The Generic Webhook URL.
- url_
set bool - username str
- The username for basic authentication.
- username_
set bool
- password String
The password for basic authentication.
NOTE If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type.
- password
Set Boolean - url String
- The Generic Webhook URL.
- url
Set Boolean - username String
- The username for basic authentication.
- username
Set Boolean
NotificationDestinationConfigMicrosoftTeams, NotificationDestinationConfigMicrosoftTeamsArgs
NotificationDestinationConfigPagerduty, NotificationDestinationConfigPagerdutyArgs
- Integration
Key string - The PagerDuty integration key.
- Integration
Key boolSet
- Integration
Key string - The PagerDuty integration key.
- Integration
Key boolSet
- integration
Key String - The PagerDuty integration key.
- integration
Key BooleanSet
- integration
Key string - The PagerDuty integration key.
- integration
Key booleanSet
- integration_
key str - The PagerDuty integration key.
- integration_
key_ boolset
- integration
Key String - The PagerDuty integration key.
- integration
Key BooleanSet
NotificationDestinationConfigSlack, NotificationDestinationConfigSlackArgs
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.