1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnDestinationSlack
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.EnDestinationSlack

Explore with Pulumi AI

Create, update, or delete a Slack destination by using IBM Cloud™ Event Notifications.

Example Usage

Destination example for Slack destination type incoming_webhook

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const slackEnDestination = new ibm.EnDestinationSlack("slackEnDestination", {
    instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
    type: "slack",
    collectFailedEvents: false,
    description: "Destination slack for event notification",
    config: {
        params: {
            type: "incoming_webhook",
            url: "https://hooks.slack.com/services/G0gyhsush/TYodsjhs/GHTbfidsimkk",
        },
    },
});
Copy
import pulumi
import pulumi_ibm as ibm

slack_en_destination = ibm.EnDestinationSlack("slackEnDestination",
    instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
    type="slack",
    collect_failed_events=False,
    description="Destination slack for event notification",
    config={
        "params": {
            "type": "incoming_webhook",
            "url": "https://hooks.slack.com/services/G0gyhsush/TYodsjhs/GHTbfidsimkk",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewEnDestinationSlack(ctx, "slackEnDestination", &ibm.EnDestinationSlackArgs{
			InstanceGuid:        pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
			Type:                pulumi.String("slack"),
			CollectFailedEvents: pulumi.Bool(false),
			Description:         pulumi.String("Destination slack for event notification"),
			Config: &ibm.EnDestinationSlackConfigArgs{
				Params: &ibm.EnDestinationSlackConfigParamsArgs{
					Type: pulumi.String("incoming_webhook"),
					Url:  pulumi.String("https://hooks.slack.com/services/G0gyhsush/TYodsjhs/GHTbfidsimkk"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var slackEnDestination = new Ibm.EnDestinationSlack("slackEnDestination", new()
    {
        InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
        Type = "slack",
        CollectFailedEvents = false,
        Description = "Destination slack for event notification",
        Config = new Ibm.Inputs.EnDestinationSlackConfigArgs
        {
            Params = new Ibm.Inputs.EnDestinationSlackConfigParamsArgs
            {
                Type = "incoming_webhook",
                Url = "https://hooks.slack.com/services/G0gyhsush/TYodsjhs/GHTbfidsimkk",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnDestinationSlack;
import com.pulumi.ibm.EnDestinationSlackArgs;
import com.pulumi.ibm.inputs.EnDestinationSlackConfigArgs;
import com.pulumi.ibm.inputs.EnDestinationSlackConfigParamsArgs;
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 slackEnDestination = new EnDestinationSlack("slackEnDestination", EnDestinationSlackArgs.builder()
            .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
            .type("slack")
            .collectFailedEvents(false)
            .description("Destination slack for event notification")
            .config(EnDestinationSlackConfigArgs.builder()
                .params(EnDestinationSlackConfigParamsArgs.builder()
                    .type("incoming_webhook")
                    .url("https://hooks.slack.com/services/G0gyhsush/TYodsjhs/GHTbfidsimkk")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  slackEnDestination:
    type: ibm:EnDestinationSlack
    properties:
      instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
      type: slack
      collectFailedEvents: false
      description: Destination slack for event notification
      config:
        params:
          type: incoming_webhook
          url: https://hooks.slack.com/services/G0gyhsush/TYodsjhs/GHTbfidsimkk
Copy

Destination example for Slack destination type direct_message

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const slackEnDestination = new ibm.EnDestinationSlack("slackEnDestination", {
    instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
    type: "slack",
    collectFailedEvents: false,
    description: "Destination slack for event notification",
    config: {
        params: {
            type: "direct_message",
            url: "dveufewldfwefewlfdweckewweldewfdewd",
        },
    },
});
Copy
import pulumi
import pulumi_ibm as ibm

slack_en_destination = ibm.EnDestinationSlack("slackEnDestination",
    instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
    type="slack",
    collect_failed_events=False,
    description="Destination slack for event notification",
    config={
        "params": {
            "type": "direct_message",
            "url": "dveufewldfwefewlfdweckewweldewfdewd",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewEnDestinationSlack(ctx, "slackEnDestination", &ibm.EnDestinationSlackArgs{
			InstanceGuid:        pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
			Type:                pulumi.String("slack"),
			CollectFailedEvents: pulumi.Bool(false),
			Description:         pulumi.String("Destination slack for event notification"),
			Config: &ibm.EnDestinationSlackConfigArgs{
				Params: &ibm.EnDestinationSlackConfigParamsArgs{
					Type: pulumi.String("direct_message"),
					Url:  pulumi.String("dveufewldfwefewlfdweckewweldewfdewd"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var slackEnDestination = new Ibm.EnDestinationSlack("slackEnDestination", new()
    {
        InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
        Type = "slack",
        CollectFailedEvents = false,
        Description = "Destination slack for event notification",
        Config = new Ibm.Inputs.EnDestinationSlackConfigArgs
        {
            Params = new Ibm.Inputs.EnDestinationSlackConfigParamsArgs
            {
                Type = "direct_message",
                Url = "dveufewldfwefewlfdweckewweldewfdewd",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnDestinationSlack;
import com.pulumi.ibm.EnDestinationSlackArgs;
import com.pulumi.ibm.inputs.EnDestinationSlackConfigArgs;
import com.pulumi.ibm.inputs.EnDestinationSlackConfigParamsArgs;
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 slackEnDestination = new EnDestinationSlack("slackEnDestination", EnDestinationSlackArgs.builder()
            .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
            .type("slack")
            .collectFailedEvents(false)
            .description("Destination slack for event notification")
            .config(EnDestinationSlackConfigArgs.builder()
                .params(EnDestinationSlackConfigParamsArgs.builder()
                    .type("direct_message")
                    .url("dveufewldfwefewlfdweckewweldewfdewd")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  slackEnDestination:
    type: ibm:EnDestinationSlack
    properties:
      instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
      type: slack
      collectFailedEvents: false
      description: Destination slack for event notification
      config:
        params:
          type: direct_message
          url: dveufewldfwefewlfdweckewweldewfdewd
Copy

Create EnDestinationSlack Resource

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

Constructor syntax

new EnDestinationSlack(name: string, args: EnDestinationSlackArgs, opts?: CustomResourceOptions);
@overload
def EnDestinationSlack(resource_name: str,
                       args: EnDestinationSlackArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def EnDestinationSlack(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       instance_guid: Optional[str] = None,
                       type: Optional[str] = None,
                       collect_failed_events: Optional[bool] = None,
                       config: Optional[EnDestinationSlackConfigArgs] = None,
                       description: Optional[str] = None,
                       en_destination_slack_id: Optional[str] = None,
                       name: Optional[str] = None)
func NewEnDestinationSlack(ctx *Context, name string, args EnDestinationSlackArgs, opts ...ResourceOption) (*EnDestinationSlack, error)
public EnDestinationSlack(string name, EnDestinationSlackArgs args, CustomResourceOptions? opts = null)
public EnDestinationSlack(String name, EnDestinationSlackArgs args)
public EnDestinationSlack(String name, EnDestinationSlackArgs args, CustomResourceOptions options)
type: ibm:EnDestinationSlack
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. EnDestinationSlackArgs
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. EnDestinationSlackArgs
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. EnDestinationSlackArgs
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. EnDestinationSlackArgs
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. EnDestinationSlackArgs
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 enDestinationSlackResource = new Ibm.EnDestinationSlack("enDestinationSlackResource", new()
{
    InstanceGuid = "string",
    Type = "string",
    CollectFailedEvents = false,
    Config = new Ibm.Inputs.EnDestinationSlackConfigArgs
    {
        Params = new Ibm.Inputs.EnDestinationSlackConfigParamsArgs
        {
            Type = "string",
            Token = "string",
            Url = "string",
        },
    },
    Description = "string",
    EnDestinationSlackId = "string",
    Name = "string",
});
Copy
example, err := ibm.NewEnDestinationSlack(ctx, "enDestinationSlackResource", &ibm.EnDestinationSlackArgs{
InstanceGuid: pulumi.String("string"),
Type: pulumi.String("string"),
CollectFailedEvents: pulumi.Bool(false),
Config: &.EnDestinationSlackConfigArgs{
Params: &.EnDestinationSlackConfigParamsArgs{
Type: pulumi.String("string"),
Token: pulumi.String("string"),
Url: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
EnDestinationSlackId: pulumi.String("string"),
Name: pulumi.String("string"),
})
Copy
var enDestinationSlackResource = new EnDestinationSlack("enDestinationSlackResource", EnDestinationSlackArgs.builder()
    .instanceGuid("string")
    .type("string")
    .collectFailedEvents(false)
    .config(EnDestinationSlackConfigArgs.builder()
        .params(EnDestinationSlackConfigParamsArgs.builder()
            .type("string")
            .token("string")
            .url("string")
            .build())
        .build())
    .description("string")
    .enDestinationSlackId("string")
    .name("string")
    .build());
Copy
en_destination_slack_resource = ibm.EnDestinationSlack("enDestinationSlackResource",
    instance_guid="string",
    type="string",
    collect_failed_events=False,
    config={
        "params": {
            "type": "string",
            "token": "string",
            "url": "string",
        },
    },
    description="string",
    en_destination_slack_id="string",
    name="string")
Copy
const enDestinationSlackResource = new ibm.EnDestinationSlack("enDestinationSlackResource", {
    instanceGuid: "string",
    type: "string",
    collectFailedEvents: false,
    config: {
        params: {
            type: "string",
            token: "string",
            url: "string",
        },
    },
    description: "string",
    enDestinationSlackId: "string",
    name: "string",
});
Copy
type: ibm:EnDestinationSlack
properties:
    collectFailedEvents: false
    config:
        params:
            token: string
            type: string
            url: string
    description: string
    enDestinationSlackId: string
    instanceGuid: string
    name: string
    type: string
Copy

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

InstanceGuid This property is required. string
Unique identifier for IBM Cloud Event Notifications instance.
Type This property is required. string
slack.
CollectFailedEvents bool
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
Config EnDestinationSlackConfig

Payload describing a destination configuration.

Nested scheme for config:

Description string
The Destination description.
EnDestinationSlackId string
(String) The unique identifier of the slack_en_destination.
Name string
The Destintion name.
InstanceGuid This property is required. string
Unique identifier for IBM Cloud Event Notifications instance.
Type This property is required. string
slack.
CollectFailedEvents bool
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
Config EnDestinationSlackConfigArgs

Payload describing a destination configuration.

Nested scheme for config:

Description string
The Destination description.
EnDestinationSlackId string
(String) The unique identifier of the slack_en_destination.
Name string
The Destintion name.
instanceGuid This property is required. String
Unique identifier for IBM Cloud Event Notifications instance.
type This property is required. String
slack.
collectFailedEvents Boolean
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config EnDestinationSlackConfig

Payload describing a destination configuration.

Nested scheme for config:

description String
The Destination description.
enDestinationSlackId String
(String) The unique identifier of the slack_en_destination.
name String
The Destintion name.
instanceGuid This property is required. string
Unique identifier for IBM Cloud Event Notifications instance.
type This property is required. string
slack.
collectFailedEvents boolean
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config EnDestinationSlackConfig

Payload describing a destination configuration.

Nested scheme for config:

description string
The Destination description.
enDestinationSlackId string
(String) The unique identifier of the slack_en_destination.
name string
The Destintion name.
instance_guid This property is required. str
Unique identifier for IBM Cloud Event Notifications instance.
type This property is required. str
slack.
collect_failed_events bool
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config EnDestinationSlackConfigArgs

Payload describing a destination configuration.

Nested scheme for config:

description str
The Destination description.
en_destination_slack_id str
(String) The unique identifier of the slack_en_destination.
name str
The Destintion name.
instanceGuid This property is required. String
Unique identifier for IBM Cloud Event Notifications instance.
type This property is required. String
slack.
collectFailedEvents Boolean
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config Property Map

Payload describing a destination configuration.

Nested scheme for config:

description String
The Destination description.
enDestinationSlackId String
(String) The unique identifier of the slack_en_destination.
name String
The Destintion name.

Outputs

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

DestinationId string
(String) The unique identifier of the created destination.
Id string
The provider-assigned unique ID for this managed resource.
SubscriptionCount double
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
SubscriptionNames List<string>
(List) List of subscriptions.
UpdatedAt string
(String) Last updated time.
DestinationId string
(String) The unique identifier of the created destination.
Id string
The provider-assigned unique ID for this managed resource.
SubscriptionCount float64
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
SubscriptionNames []string
(List) List of subscriptions.
UpdatedAt string
(String) Last updated time.
destinationId String
(String) The unique identifier of the created destination.
id String
The provider-assigned unique ID for this managed resource.
subscriptionCount Double
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscriptionNames List<String>
(List) List of subscriptions.
updatedAt String
(String) Last updated time.
destinationId string
(String) The unique identifier of the created destination.
id string
The provider-assigned unique ID for this managed resource.
subscriptionCount number
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscriptionNames string[]
(List) List of subscriptions.
updatedAt string
(String) Last updated time.
destination_id str
(String) The unique identifier of the created destination.
id str
The provider-assigned unique ID for this managed resource.
subscription_count float
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscription_names Sequence[str]
(List) List of subscriptions.
updated_at str
(String) Last updated time.
destinationId String
(String) The unique identifier of the created destination.
id String
The provider-assigned unique ID for this managed resource.
subscriptionCount Number
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscriptionNames List<String>
(List) List of subscriptions.
updatedAt String
(String) Last updated time.

Look up Existing EnDestinationSlack Resource

Get an existing EnDestinationSlack 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?: EnDestinationSlackState, opts?: CustomResourceOptions): EnDestinationSlack
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        collect_failed_events: Optional[bool] = None,
        config: Optional[EnDestinationSlackConfigArgs] = None,
        description: Optional[str] = None,
        destination_id: Optional[str] = None,
        en_destination_slack_id: Optional[str] = None,
        instance_guid: Optional[str] = None,
        name: Optional[str] = None,
        subscription_count: Optional[float] = None,
        subscription_names: Optional[Sequence[str]] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None) -> EnDestinationSlack
func GetEnDestinationSlack(ctx *Context, name string, id IDInput, state *EnDestinationSlackState, opts ...ResourceOption) (*EnDestinationSlack, error)
public static EnDestinationSlack Get(string name, Input<string> id, EnDestinationSlackState? state, CustomResourceOptions? opts = null)
public static EnDestinationSlack get(String name, Output<String> id, EnDestinationSlackState state, CustomResourceOptions options)
resources:  _:    type: ibm:EnDestinationSlack    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:
CollectFailedEvents bool
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
Config EnDestinationSlackConfig

Payload describing a destination configuration.

Nested scheme for config:

Description string
The Destination description.
DestinationId string
(String) The unique identifier of the created destination.
EnDestinationSlackId string
(String) The unique identifier of the slack_en_destination.
InstanceGuid string
Unique identifier for IBM Cloud Event Notifications instance.
Name string
The Destintion name.
SubscriptionCount double
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
SubscriptionNames List<string>
(List) List of subscriptions.
Type string
slack.
UpdatedAt string
(String) Last updated time.
CollectFailedEvents bool
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
Config EnDestinationSlackConfigArgs

Payload describing a destination configuration.

Nested scheme for config:

Description string
The Destination description.
DestinationId string
(String) The unique identifier of the created destination.
EnDestinationSlackId string
(String) The unique identifier of the slack_en_destination.
InstanceGuid string
Unique identifier for IBM Cloud Event Notifications instance.
Name string
The Destintion name.
SubscriptionCount float64
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
SubscriptionNames []string
(List) List of subscriptions.
Type string
slack.
UpdatedAt string
(String) Last updated time.
collectFailedEvents Boolean
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config EnDestinationSlackConfig

Payload describing a destination configuration.

Nested scheme for config:

description String
The Destination description.
destinationId String
(String) The unique identifier of the created destination.
enDestinationSlackId String
(String) The unique identifier of the slack_en_destination.
instanceGuid String
Unique identifier for IBM Cloud Event Notifications instance.
name String
The Destintion name.
subscriptionCount Double
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscriptionNames List<String>
(List) List of subscriptions.
type String
slack.
updatedAt String
(String) Last updated time.
collectFailedEvents boolean
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config EnDestinationSlackConfig

Payload describing a destination configuration.

Nested scheme for config:

description string
The Destination description.
destinationId string
(String) The unique identifier of the created destination.
enDestinationSlackId string
(String) The unique identifier of the slack_en_destination.
instanceGuid string
Unique identifier for IBM Cloud Event Notifications instance.
name string
The Destintion name.
subscriptionCount number
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscriptionNames string[]
(List) List of subscriptions.
type string
slack.
updatedAt string
(String) Last updated time.
collect_failed_events bool
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config EnDestinationSlackConfigArgs

Payload describing a destination configuration.

Nested scheme for config:

description str
The Destination description.
destination_id str
(String) The unique identifier of the created destination.
en_destination_slack_id str
(String) The unique identifier of the slack_en_destination.
instance_guid str
Unique identifier for IBM Cloud Event Notifications instance.
name str
The Destintion name.
subscription_count float
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscription_names Sequence[str]
(List) List of subscriptions.
type str
slack.
updated_at str
(String) Last updated time.
collectFailedEvents Boolean
Toggle switch to enable collect failed event in Cloud Object Storage bucket.
config Property Map

Payload describing a destination configuration.

Nested scheme for config:

description String
The Destination description.
destinationId String
(String) The unique identifier of the created destination.
enDestinationSlackId String
(String) The unique identifier of the slack_en_destination.
instanceGuid String
Unique identifier for IBM Cloud Event Notifications instance.
name String
The Destintion name.
subscriptionCount Number
(Integer) Number of subscriptions.

  • Constraints: The minimum value is 0.
subscriptionNames List<String>
(List) List of subscriptions.
type String
slack.
updatedAt String
(String) Last updated time.

Supporting Types

EnDestinationSlackConfig
, EnDestinationSlackConfigArgs

Params EnDestinationSlackConfigParams
Nested scheme for params:
Params EnDestinationSlackConfigParams
Nested scheme for params:
params EnDestinationSlackConfigParams
Nested scheme for params:
params EnDestinationSlackConfigParams
Nested scheme for params:
params EnDestinationSlackConfigParams
Nested scheme for params:
params Property Map
Nested scheme for params:

EnDestinationSlackConfigParams
, EnDestinationSlackConfigParamsArgs

Type This property is required. string
slack.
Token string
Slack Bot token. Required in case of type is direct_message
Url string
Slack webhook url. Required in case of type is incoming_webhook
Type This property is required. string
slack.
Token string
Slack Bot token. Required in case of type is direct_message
Url string
Slack webhook url. Required in case of type is incoming_webhook
type This property is required. String
slack.
token String
Slack Bot token. Required in case of type is direct_message
url String
Slack webhook url. Required in case of type is incoming_webhook
type This property is required. string
slack.
token string
Slack Bot token. Required in case of type is direct_message
url string
Slack webhook url. Required in case of type is incoming_webhook
type This property is required. str
slack.
token str
Slack Bot token. Required in case of type is direct_message
url str
Slack webhook url. Required in case of type is incoming_webhook
type This property is required. String
slack.
token String
Slack Bot token. Required in case of type is direct_message
url String
Slack webhook url. Required in case of type is incoming_webhook

Import

You can import the ibm_en_destination_slack resource by using id.

The id property can be formed from instance_guid, and destination_id in the following format:

<instance_guid>/<destination_id>

  • instance_guid: A string. Unique identifier for IBM Cloud Event Notifications instance.

  • destination_id: A string. Unique identifier for Destination.

Example

$ pulumi import ibm:index/enDestinationSlack:EnDestinationSlack slack_en_destination <instance_guid>/<destination_id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.