1. Packages
  2. Newrelic Provider
  3. API Docs
  4. NotificationDestination
New Relic v5.44.1 published on Tuesday, Apr 15, 2025 by Pulumi

newrelic.NotificationDestination

Explore with Pulumi AI

Import

~> WARNING: Slack-based destinations can only be imported and destroyed; this resource does not support creating and updating Slack-based destinations, owing to the reasons stated above, under the Slack section.

Destination id can be found in the Destinations page -> three dots at the right of the chosen destination -> copy destination id to clipboard.

This example is especially useful for slack destinations which must be imported.

  1. Add an empty resource to your terraform file:

terraform

resource “newrelic_notification_destination” “foo” {

}

$ pulumi import newrelic:index/notificationDestination:NotificationDestination  Run import command: `newrelic_notification_destination.foo <destination_id>`
Copy
  1. Run the following command after the import successfully done and copy the information to your resource:

    terraform state show newrelic_notification_destination.foo

  2. Add ignore_changes attribute on all in your imported resource:

terraform

lifecycle {

ignore_changes = all

}

Your imported destination should look like that:

terraform

resource “newrelic_notification_destination” “foo” {

lifecycle {

ignore_changes = all

}

name = “*********”

type = “SLACK”

auth_token {

prefix = "Bearer"

}

property {

  key   = "teamName"

  label = "Team Name"

  value = "******"

}

}

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,
                            properties: Optional[Sequence[NotificationDestinationPropertyArgs]] = None,
                            type: Optional[str] = None,
                            account_id: Optional[str] = None,
                            active: Optional[bool] = None,
                            auth_basic: Optional[NotificationDestinationAuthBasicArgs] = None,
                            auth_custom_headers: Optional[Sequence[NotificationDestinationAuthCustomHeaderArgs]] = None,
                            auth_token: Optional[NotificationDestinationAuthTokenArgs] = None,
                            name: Optional[str] = None,
                            secure_url: Optional[NotificationDestinationSecureUrlArgs] = 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: newrelic:NotificationDestination
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NotificationDestinationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. NotificationDestinationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NotificationDestinationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 NewRelic.NotificationDestination("notificationDestinationResource", new()
{
    Properties = new[]
    {
        new NewRelic.Inputs.NotificationDestinationPropertyArgs
        {
            Key = "string",
            Value = "string",
            DisplayValue = "string",
            Label = "string",
        },
    },
    Type = "string",
    AccountId = "string",
    Active = false,
    AuthBasic = new NewRelic.Inputs.NotificationDestinationAuthBasicArgs
    {
        Password = "string",
        User = "string",
    },
    AuthCustomHeaders = new[]
    {
        new NewRelic.Inputs.NotificationDestinationAuthCustomHeaderArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    AuthToken = new NewRelic.Inputs.NotificationDestinationAuthTokenArgs
    {
        Token = "string",
        Prefix = "string",
    },
    Name = "string",
    SecureUrl = new NewRelic.Inputs.NotificationDestinationSecureUrlArgs
    {
        Prefix = "string",
        SecureSuffix = "string",
    },
});
Copy
example, err := newrelic.NewNotificationDestination(ctx, "notificationDestinationResource", &newrelic.NotificationDestinationArgs{
	Properties: newrelic.NotificationDestinationPropertyArray{
		&newrelic.NotificationDestinationPropertyArgs{
			Key:          pulumi.String("string"),
			Value:        pulumi.String("string"),
			DisplayValue: pulumi.String("string"),
			Label:        pulumi.String("string"),
		},
	},
	Type:      pulumi.String("string"),
	AccountId: pulumi.String("string"),
	Active:    pulumi.Bool(false),
	AuthBasic: &newrelic.NotificationDestinationAuthBasicArgs{
		Password: pulumi.String("string"),
		User:     pulumi.String("string"),
	},
	AuthCustomHeaders: newrelic.NotificationDestinationAuthCustomHeaderArray{
		&newrelic.NotificationDestinationAuthCustomHeaderArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	AuthToken: &newrelic.NotificationDestinationAuthTokenArgs{
		Token:  pulumi.String("string"),
		Prefix: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	SecureUrl: &newrelic.NotificationDestinationSecureUrlArgs{
		Prefix:       pulumi.String("string"),
		SecureSuffix: pulumi.String("string"),
	},
})
Copy
var notificationDestinationResource = new NotificationDestination("notificationDestinationResource", NotificationDestinationArgs.builder()
    .properties(NotificationDestinationPropertyArgs.builder()
        .key("string")
        .value("string")
        .displayValue("string")
        .label("string")
        .build())
    .type("string")
    .accountId("string")
    .active(false)
    .authBasic(NotificationDestinationAuthBasicArgs.builder()
        .password("string")
        .user("string")
        .build())
    .authCustomHeaders(NotificationDestinationAuthCustomHeaderArgs.builder()
        .key("string")
        .value("string")
        .build())
    .authToken(NotificationDestinationAuthTokenArgs.builder()
        .token("string")
        .prefix("string")
        .build())
    .name("string")
    .secureUrl(NotificationDestinationSecureUrlArgs.builder()
        .prefix("string")
        .secureSuffix("string")
        .build())
    .build());
Copy
notification_destination_resource = newrelic.NotificationDestination("notificationDestinationResource",
    properties=[{
        "key": "string",
        "value": "string",
        "display_value": "string",
        "label": "string",
    }],
    type="string",
    account_id="string",
    active=False,
    auth_basic={
        "password": "string",
        "user": "string",
    },
    auth_custom_headers=[{
        "key": "string",
        "value": "string",
    }],
    auth_token={
        "token": "string",
        "prefix": "string",
    },
    name="string",
    secure_url={
        "prefix": "string",
        "secure_suffix": "string",
    })
Copy
const notificationDestinationResource = new newrelic.NotificationDestination("notificationDestinationResource", {
    properties: [{
        key: "string",
        value: "string",
        displayValue: "string",
        label: "string",
    }],
    type: "string",
    accountId: "string",
    active: false,
    authBasic: {
        password: "string",
        user: "string",
    },
    authCustomHeaders: [{
        key: "string",
        value: "string",
    }],
    authToken: {
        token: "string",
        prefix: "string",
    },
    name: "string",
    secureUrl: {
        prefix: "string",
        secureSuffix: "string",
    },
});
Copy
type: newrelic:NotificationDestination
properties:
    accountId: string
    active: false
    authBasic:
        password: string
        user: string
    authCustomHeaders:
        - key: string
          value: string
    authToken:
        prefix: string
        token: string
    name: string
    properties:
        - displayValue: string
          key: string
          label: string
          value: string
    secureUrl:
        prefix: string
        secureSuffix: string
    type: string
Copy

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:

Properties This property is required. List<Pulumi.NewRelic.Inputs.NotificationDestinationProperty>
A nested block that describes a notification destination property. See Nested property blocks below for details.
Type
This property is required.
Changes to this property will trigger replacement.
string
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
AccountId Changes to this property will trigger replacement. string
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
Active bool
Indicates whether the destination is active.
AuthBasic Pulumi.NewRelic.Inputs.NotificationDestinationAuthBasic
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
AuthCustomHeaders List<Pulumi.NewRelic.Inputs.NotificationDestinationAuthCustomHeader>
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
AuthToken Pulumi.NewRelic.Inputs.NotificationDestinationAuthToken
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
Name string
The name of the destination.
SecureUrl Pulumi.NewRelic.Inputs.NotificationDestinationSecureUrl
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
Properties This property is required. []NotificationDestinationPropertyArgs
A nested block that describes a notification destination property. See Nested property blocks below for details.
Type
This property is required.
Changes to this property will trigger replacement.
string
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
AccountId Changes to this property will trigger replacement. string
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
Active bool
Indicates whether the destination is active.
AuthBasic NotificationDestinationAuthBasicArgs
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
AuthCustomHeaders []NotificationDestinationAuthCustomHeaderArgs
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
AuthToken NotificationDestinationAuthTokenArgs
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
Name string
The name of the destination.
SecureUrl NotificationDestinationSecureUrlArgs
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
properties This property is required. List<NotificationDestinationProperty>
A nested block that describes a notification destination property. See Nested property blocks below for details.
type
This property is required.
Changes to this property will trigger replacement.
String
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
accountId Changes to this property will trigger replacement. String
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active Boolean
Indicates whether the destination is active.
authBasic NotificationDestinationAuthBasic
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
authCustomHeaders List<NotificationDestinationAuthCustomHeader>
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
authToken NotificationDestinationAuthToken
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
name String
The name of the destination.
secureUrl NotificationDestinationSecureUrl
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
properties This property is required. NotificationDestinationProperty[]
A nested block that describes a notification destination property. See Nested property blocks below for details.
type
This property is required.
Changes to this property will trigger replacement.
string
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
accountId Changes to this property will trigger replacement. string
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active boolean
Indicates whether the destination is active.
authBasic NotificationDestinationAuthBasic
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
authCustomHeaders NotificationDestinationAuthCustomHeader[]
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
authToken NotificationDestinationAuthToken
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
name string
The name of the destination.
secureUrl NotificationDestinationSecureUrl
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
properties This property is required. Sequence[NotificationDestinationPropertyArgs]
A nested block that describes a notification destination property. See Nested property blocks below for details.
type
This property is required.
Changes to this property will trigger replacement.
str
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
account_id Changes to this property will trigger replacement. str
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active bool
Indicates whether the destination is active.
auth_basic NotificationDestinationAuthBasicArgs
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
auth_custom_headers Sequence[NotificationDestinationAuthCustomHeaderArgs]
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
auth_token NotificationDestinationAuthTokenArgs
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
name str
The name of the destination.
secure_url NotificationDestinationSecureUrlArgs
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
properties This property is required. List<Property Map>
A nested block that describes a notification destination property. See Nested property blocks below for details.
type
This property is required.
Changes to this property will trigger replacement.
String
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
accountId Changes to this property will trigger replacement. String
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active Boolean
Indicates whether the destination is active.
authBasic Property Map
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
authCustomHeaders List<Property Map>
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
authToken Property Map
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
name String
The name of the destination.
secureUrl Property Map
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.

Outputs

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

Guid string
The unique entity identifier of the destination in New Relic.
Id string
The provider-assigned unique ID for this managed resource.
LastSent string
The last time a notification was sent.
Status string
The status of the destination.
Guid string
The unique entity identifier of the destination in New Relic.
Id string
The provider-assigned unique ID for this managed resource.
LastSent string
The last time a notification was sent.
Status string
The status of the destination.
guid String
The unique entity identifier of the destination in New Relic.
id String
The provider-assigned unique ID for this managed resource.
lastSent String
The last time a notification was sent.
status String
The status of the destination.
guid string
The unique entity identifier of the destination in New Relic.
id string
The provider-assigned unique ID for this managed resource.
lastSent string
The last time a notification was sent.
status string
The status of the destination.
guid str
The unique entity identifier of the destination in New Relic.
id str
The provider-assigned unique ID for this managed resource.
last_sent str
The last time a notification was sent.
status str
The status of the destination.
guid String
The unique entity identifier of the destination in New Relic.
id String
The provider-assigned unique ID for this managed resource.
lastSent String
The last time a notification was sent.
status String
The status of the destination.

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,
        account_id: Optional[str] = None,
        active: Optional[bool] = None,
        auth_basic: Optional[NotificationDestinationAuthBasicArgs] = None,
        auth_custom_headers: Optional[Sequence[NotificationDestinationAuthCustomHeaderArgs]] = None,
        auth_token: Optional[NotificationDestinationAuthTokenArgs] = None,
        guid: Optional[str] = None,
        last_sent: Optional[str] = None,
        name: Optional[str] = None,
        properties: Optional[Sequence[NotificationDestinationPropertyArgs]] = None,
        secure_url: Optional[NotificationDestinationSecureUrlArgs] = None,
        status: Optional[str] = None,
        type: 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)
resources:  _:    type: newrelic:NotificationDestination    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId Changes to this property will trigger replacement. string
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
Active bool
Indicates whether the destination is active.
AuthBasic Pulumi.NewRelic.Inputs.NotificationDestinationAuthBasic
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
AuthCustomHeaders List<Pulumi.NewRelic.Inputs.NotificationDestinationAuthCustomHeader>
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
AuthToken Pulumi.NewRelic.Inputs.NotificationDestinationAuthToken
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
Guid string
The unique entity identifier of the destination in New Relic.
LastSent string
The last time a notification was sent.
Name string
The name of the destination.
Properties List<Pulumi.NewRelic.Inputs.NotificationDestinationProperty>
A nested block that describes a notification destination property. See Nested property blocks below for details.
SecureUrl Pulumi.NewRelic.Inputs.NotificationDestinationSecureUrl
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
Status string
The status of the destination.
Type Changes to this property will trigger replacement. string
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
AccountId Changes to this property will trigger replacement. string
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
Active bool
Indicates whether the destination is active.
AuthBasic NotificationDestinationAuthBasicArgs
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
AuthCustomHeaders []NotificationDestinationAuthCustomHeaderArgs
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
AuthToken NotificationDestinationAuthTokenArgs
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
Guid string
The unique entity identifier of the destination in New Relic.
LastSent string
The last time a notification was sent.
Name string
The name of the destination.
Properties []NotificationDestinationPropertyArgs
A nested block that describes a notification destination property. See Nested property blocks below for details.
SecureUrl NotificationDestinationSecureUrlArgs
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
Status string
The status of the destination.
Type Changes to this property will trigger replacement. string
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
accountId Changes to this property will trigger replacement. String
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active Boolean
Indicates whether the destination is active.
authBasic NotificationDestinationAuthBasic
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
authCustomHeaders List<NotificationDestinationAuthCustomHeader>
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
authToken NotificationDestinationAuthToken
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
guid String
The unique entity identifier of the destination in New Relic.
lastSent String
The last time a notification was sent.
name String
The name of the destination.
properties List<NotificationDestinationProperty>
A nested block that describes a notification destination property. See Nested property blocks below for details.
secureUrl NotificationDestinationSecureUrl
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
status String
The status of the destination.
type Changes to this property will trigger replacement. String
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
accountId Changes to this property will trigger replacement. string
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active boolean
Indicates whether the destination is active.
authBasic NotificationDestinationAuthBasic
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
authCustomHeaders NotificationDestinationAuthCustomHeader[]
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
authToken NotificationDestinationAuthToken
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
guid string
The unique entity identifier of the destination in New Relic.
lastSent string
The last time a notification was sent.
name string
The name of the destination.
properties NotificationDestinationProperty[]
A nested block that describes a notification destination property. See Nested property blocks below for details.
secureUrl NotificationDestinationSecureUrl
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
status string
The status of the destination.
type Changes to this property will trigger replacement. string
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
account_id Changes to this property will trigger replacement. str
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active bool
Indicates whether the destination is active.
auth_basic NotificationDestinationAuthBasicArgs
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
auth_custom_headers Sequence[NotificationDestinationAuthCustomHeaderArgs]
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
auth_token NotificationDestinationAuthTokenArgs
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
guid str
The unique entity identifier of the destination in New Relic.
last_sent str
The last time a notification was sent.
name str
The name of the destination.
properties Sequence[NotificationDestinationPropertyArgs]
A nested block that describes a notification destination property. See Nested property blocks below for details.
secure_url NotificationDestinationSecureUrlArgs
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
status str
The status of the destination.
type Changes to this property will trigger replacement. str
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
accountId Changes to this property will trigger replacement. String
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
active Boolean
Indicates whether the destination is active.
authBasic Property Map
A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
authCustomHeaders List<Property Map>
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
authToken Property Map
A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
guid String
The unique entity identifier of the destination in New Relic.
lastSent String
The last time a notification was sent.
name String
The name of the destination.
properties List<Property Map>
A nested block that describes a notification destination property. See Nested property blocks below for details.
secureUrl Property Map
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
status String
The status of the destination.
type Changes to this property will trigger replacement. String
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).

Supporting Types

NotificationDestinationAuthBasic
, NotificationDestinationAuthBasicArgs

Password This property is required. string
Specifies an authentication password for use with a destination.
User This property is required. string
The username of the basic auth.
Password This property is required. string
Specifies an authentication password for use with a destination.
User This property is required. string
The username of the basic auth.
password This property is required. String
Specifies an authentication password for use with a destination.
user This property is required. String
The username of the basic auth.
password This property is required. string
Specifies an authentication password for use with a destination.
user This property is required. string
The username of the basic auth.
password This property is required. str
Specifies an authentication password for use with a destination.
user This property is required. str
The username of the basic auth.
password This property is required. String
Specifies an authentication password for use with a destination.
user This property is required. String
The username of the basic auth.

NotificationDestinationAuthCustomHeader
, NotificationDestinationAuthCustomHeaderArgs

Key This property is required. string
The notification property key.
Value This property is required. string
The notification property value.
Key This property is required. string
The notification property key.
Value This property is required. string
The notification property value.
key This property is required. String
The notification property key.
value This property is required. String
The notification property value.
key This property is required. string
The notification property key.
value This property is required. string
The notification property value.
key This property is required. str
The notification property key.
value This property is required. str
The notification property value.
key This property is required. String
The notification property key.
value This property is required. String
The notification property value.

NotificationDestinationAuthToken
, NotificationDestinationAuthTokenArgs

Token This property is required. string
Specifies the token for integrating.
Prefix string
The prefix of the URL.
Token This property is required. string
Specifies the token for integrating.
Prefix string
The prefix of the URL.
token This property is required. String
Specifies the token for integrating.
prefix String
The prefix of the URL.
token This property is required. string
Specifies the token for integrating.
prefix string
The prefix of the URL.
token This property is required. str
Specifies the token for integrating.
prefix str
The prefix of the URL.
token This property is required. String
Specifies the token for integrating.
prefix String
The prefix of the URL.

NotificationDestinationProperty
, NotificationDestinationPropertyArgs

Key This property is required. string
Notification property key.
Value This property is required. string
Notification property value.
DisplayValue string
Notification property display key.
Label string
Notification property label.
Key This property is required. string
Notification property key.
Value This property is required. string
Notification property value.
DisplayValue string
Notification property display key.
Label string
Notification property label.
key This property is required. String
Notification property key.
value This property is required. String
Notification property value.
displayValue String
Notification property display key.
label String
Notification property label.
key This property is required. string
Notification property key.
value This property is required. string
Notification property value.
displayValue string
Notification property display key.
label string
Notification property label.
key This property is required. str
Notification property key.
value This property is required. str
Notification property value.
display_value str
Notification property display key.
label str
Notification property label.
key This property is required. String
Notification property key.
value This property is required. String
Notification property value.
displayValue String
Notification property display key.
label String
Notification property label.

NotificationDestinationSecureUrl
, NotificationDestinationSecureUrlArgs

Prefix This property is required. string
The prefix of the URL.
SecureSuffix This property is required. string
The suffix of the URL, which contains sensitive data.
Prefix This property is required. string
The prefix of the URL.
SecureSuffix This property is required. string
The suffix of the URL, which contains sensitive data.
prefix This property is required. String
The prefix of the URL.
secureSuffix This property is required. String
The suffix of the URL, which contains sensitive data.
prefix This property is required. string
The prefix of the URL.
secureSuffix This property is required. string
The suffix of the URL, which contains sensitive data.
prefix This property is required. str
The prefix of the URL.
secure_suffix This property is required. str
The suffix of the URL, which contains sensitive data.
prefix This property is required. String
The prefix of the URL.
secureSuffix This property is required. String
The suffix of the URL, which contains sensitive data.

Package Details

Repository
New Relic pulumi/pulumi-newrelic
License
Apache-2.0
Notes
This Pulumi package is based on the newrelic Terraform Provider.