1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnDestinationCe
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.EnDestinationCe

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeengineEnDestination = new ibm.EnDestinationCe("codeengineEnDestination", {
        instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
        type: "ibmce",
        collectFailedEvents: false,
        description: "Code Engine destination for event notification",
        config: {
            params: {
                type: "application",
                verb: "POST",
                url: "https://test.codetestcodeengine.com",
                customHeaders: {
                    authorization: "authorization",
                },
                sensitiveHeaders: ["authorization"],
            },
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    codeengine_en_destination = ibm.EnDestinationCe("codeengineEnDestination",
        instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
        type="ibmce",
        collect_failed_events=False,
        description="Code Engine destination for event notification",
        config={
            "params": {
                "type": "application",
                "verb": "POST",
                "url": "https://test.codetestcodeengine.com",
                "custom_headers": {
                    "authorization": "authorization",
                },
                "sensitive_headers": ["authorization"],
            },
        })
    
    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.NewEnDestinationCe(ctx, "codeengineEnDestination", &ibm.EnDestinationCeArgs{
    			InstanceGuid:        pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
    			Type:                pulumi.String("ibmce"),
    			CollectFailedEvents: pulumi.Bool(false),
    			Description:         pulumi.String("Code Engine destination for event notification"),
    			Config: &ibm.EnDestinationCeConfigArgs{
    				Params: &ibm.EnDestinationCeConfigParamsArgs{
    					Type: pulumi.String("application"),
    					Verb: pulumi.String("POST"),
    					Url:  pulumi.String("https://test.codetestcodeengine.com"),
    					CustomHeaders: pulumi.StringMap{
    						"authorization": pulumi.String("authorization"),
    					},
    					SensitiveHeaders: pulumi.StringArray{
    						pulumi.String("authorization"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeengineEnDestination = new Ibm.EnDestinationCe("codeengineEnDestination", new()
        {
            InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
            Type = "ibmce",
            CollectFailedEvents = false,
            Description = "Code Engine destination for event notification",
            Config = new Ibm.Inputs.EnDestinationCeConfigArgs
            {
                Params = new Ibm.Inputs.EnDestinationCeConfigParamsArgs
                {
                    Type = "application",
                    Verb = "POST",
                    Url = "https://test.codetestcodeengine.com",
                    CustomHeaders = 
                    {
                        { "authorization", "authorization" },
                    },
                    SensitiveHeaders = new[]
                    {
                        "authorization",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnDestinationCe;
    import com.pulumi.ibm.EnDestinationCeArgs;
    import com.pulumi.ibm.inputs.EnDestinationCeConfigArgs;
    import com.pulumi.ibm.inputs.EnDestinationCeConfigParamsArgs;
    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 codeengineEnDestination = new EnDestinationCe("codeengineEnDestination", EnDestinationCeArgs.builder()
                .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
                .type("ibmce")
                .collectFailedEvents(false)
                .description("Code Engine destination for event notification")
                .config(EnDestinationCeConfigArgs.builder()
                    .params(EnDestinationCeConfigParamsArgs.builder()
                        .type("application")
                        .verb("POST")
                        .url("https://test.codetestcodeengine.com")
                        .customHeaders(Map.of("authorization", "authorization"))
                        .sensitiveHeaders("authorization")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      codeengineEnDestination:
        type: ibm:EnDestinationCe
        properties:
          instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
          type: ibmce
          collectFailedEvents: false
          description: Code Engine destination for event notification
          config:
            params:
              type: application
              verb: POST
              url: https://test.codetestcodeengine.com
              customHeaders:
                authorization: authorization
              sensitiveHeaders:
                - authorization
    
    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeengineEnDestination = new ibm.EnDestinationCe("codeengineEnDestination", {
        instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
        type: "ibmce",
        collectFailedEvents: false,
        description: "Code Engine destination for event notification",
        config: {
            params: {
                jobName: "custom_job",
                projectCrn: "crn:v1:staging:public:codeengine:us-south:a/e7e5820aeccb40efb78fd69a7858ef23:xxxxxxxxxxxxxx::",
                type: "job",
            },
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    codeengine_en_destination = ibm.EnDestinationCe("codeengineEnDestination",
        instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
        type="ibmce",
        collect_failed_events=False,
        description="Code Engine destination for event notification",
        config={
            "params": {
                "job_name": "custom_job",
                "project_crn": "crn:v1:staging:public:codeengine:us-south:a/e7e5820aeccb40efb78fd69a7858ef23:xxxxxxxxxxxxxx::",
                "type": "job",
            },
        })
    
    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.NewEnDestinationCe(ctx, "codeengineEnDestination", &ibm.EnDestinationCeArgs{
    			InstanceGuid:        pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
    			Type:                pulumi.String("ibmce"),
    			CollectFailedEvents: pulumi.Bool(false),
    			Description:         pulumi.String("Code Engine destination for event notification"),
    			Config: &ibm.EnDestinationCeConfigArgs{
    				Params: &ibm.EnDestinationCeConfigParamsArgs{
    					JobName:    pulumi.String("custom_job"),
    					ProjectCrn: pulumi.String("crn:v1:staging:public:codeengine:us-south:a/e7e5820aeccb40efb78fd69a7858ef23:xxxxxxxxxxxxxx::"),
    					Type:       pulumi.String("job"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeengineEnDestination = new Ibm.EnDestinationCe("codeengineEnDestination", new()
        {
            InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
            Type = "ibmce",
            CollectFailedEvents = false,
            Description = "Code Engine destination for event notification",
            Config = new Ibm.Inputs.EnDestinationCeConfigArgs
            {
                Params = new Ibm.Inputs.EnDestinationCeConfigParamsArgs
                {
                    JobName = "custom_job",
                    ProjectCrn = "crn:v1:staging:public:codeengine:us-south:a/e7e5820aeccb40efb78fd69a7858ef23:xxxxxxxxxxxxxx::",
                    Type = "job",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnDestinationCe;
    import com.pulumi.ibm.EnDestinationCeArgs;
    import com.pulumi.ibm.inputs.EnDestinationCeConfigArgs;
    import com.pulumi.ibm.inputs.EnDestinationCeConfigParamsArgs;
    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 codeengineEnDestination = new EnDestinationCe("codeengineEnDestination", EnDestinationCeArgs.builder()
                .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
                .type("ibmce")
                .collectFailedEvents(false)
                .description("Code Engine destination for event notification")
                .config(EnDestinationCeConfigArgs.builder()
                    .params(EnDestinationCeConfigParamsArgs.builder()
                        .jobName("custom_job")
                        .projectCrn("crn:v1:staging:public:codeengine:us-south:a/e7e5820aeccb40efb78fd69a7858ef23:xxxxxxxxxxxxxx::")
                        .type("job")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      codeengineEnDestination:
        type: ibm:EnDestinationCe
        properties:
          instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
          type: ibmce
          collectFailedEvents: false
          description: Code Engine destination for event notification
          config:
            params:
              jobName: custom_job
              projectCrn: 'crn:v1:staging:public:codeengine:us-south:a/e7e5820aeccb40efb78fd69a7858ef23:xxxxxxxxxxxxxx::'
              type: job
    

    Create EnDestinationCe Resource

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

    Constructor syntax

    new EnDestinationCe(name: string, args: EnDestinationCeArgs, opts?: CustomResourceOptions);
    @overload
    def EnDestinationCe(resource_name: str,
                        args: EnDestinationCeArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnDestinationCe(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        instance_guid: Optional[str] = None,
                        collect_failed_events: Optional[bool] = None,
                        config: Optional[EnDestinationCeConfigArgs] = None,
                        description: Optional[str] = None,
                        en_destination_ce_id: Optional[str] = None,
                        name: Optional[str] = None,
                        type: Optional[str] = None)
    func NewEnDestinationCe(ctx *Context, name string, args EnDestinationCeArgs, opts ...ResourceOption) (*EnDestinationCe, error)
    public EnDestinationCe(string name, EnDestinationCeArgs args, CustomResourceOptions? opts = null)
    public EnDestinationCe(String name, EnDestinationCeArgs args)
    public EnDestinationCe(String name, EnDestinationCeArgs args, CustomResourceOptions options)
    
    type: ibm:EnDestinationCe
    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 EnDestinationCeArgs
    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 EnDestinationCeArgs
    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 EnDestinationCeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnDestinationCeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnDestinationCeArgs
    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 enDestinationCeResource = new Ibm.EnDestinationCe("enDestinationCeResource", new()
    {
        InstanceGuid = "string",
        CollectFailedEvents = false,
        Config = new Ibm.Inputs.EnDestinationCeConfigArgs
        {
            Params = new Ibm.Inputs.EnDestinationCeConfigParamsArgs
            {
                CustomHeaders = 
                {
                    { "string", "string" },
                },
                JobName = "string",
                ProjectCrn = "string",
                SensitiveHeaders = new[]
                {
                    "string",
                },
                Type = "string",
                Url = "string",
                Verb = "string",
            },
        },
        Description = "string",
        EnDestinationCeId = "string",
        Name = "string",
        Type = "string",
    });
    
    example, err := ibm.NewEnDestinationCe(ctx, "enDestinationCeResource", &ibm.EnDestinationCeArgs{
    	InstanceGuid:        pulumi.String("string"),
    	CollectFailedEvents: pulumi.Bool(false),
    	Config: &ibm.EnDestinationCeConfigArgs{
    		Params: &ibm.EnDestinationCeConfigParamsArgs{
    			CustomHeaders: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			JobName:    pulumi.String("string"),
    			ProjectCrn: pulumi.String("string"),
    			SensitiveHeaders: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Type: pulumi.String("string"),
    			Url:  pulumi.String("string"),
    			Verb: pulumi.String("string"),
    		},
    	},
    	Description:       pulumi.String("string"),
    	EnDestinationCeId: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Type:              pulumi.String("string"),
    })
    
    var enDestinationCeResource = new EnDestinationCe("enDestinationCeResource", EnDestinationCeArgs.builder()
        .instanceGuid("string")
        .collectFailedEvents(false)
        .config(EnDestinationCeConfigArgs.builder()
            .params(EnDestinationCeConfigParamsArgs.builder()
                .customHeaders(Map.of("string", "string"))
                .jobName("string")
                .projectCrn("string")
                .sensitiveHeaders("string")
                .type("string")
                .url("string")
                .verb("string")
                .build())
            .build())
        .description("string")
        .enDestinationCeId("string")
        .name("string")
        .type("string")
        .build());
    
    en_destination_ce_resource = ibm.EnDestinationCe("enDestinationCeResource",
        instance_guid="string",
        collect_failed_events=False,
        config={
            "params": {
                "custom_headers": {
                    "string": "string",
                },
                "job_name": "string",
                "project_crn": "string",
                "sensitive_headers": ["string"],
                "type": "string",
                "url": "string",
                "verb": "string",
            },
        },
        description="string",
        en_destination_ce_id="string",
        name="string",
        type="string")
    
    const enDestinationCeResource = new ibm.EnDestinationCe("enDestinationCeResource", {
        instanceGuid: "string",
        collectFailedEvents: false,
        config: {
            params: {
                customHeaders: {
                    string: "string",
                },
                jobName: "string",
                projectCrn: "string",
                sensitiveHeaders: ["string"],
                type: "string",
                url: "string",
                verb: "string",
            },
        },
        description: "string",
        enDestinationCeId: "string",
        name: "string",
        type: "string",
    });
    
    type: ibm:EnDestinationCe
    properties:
        collectFailedEvents: false
        config:
            params:
                customHeaders:
                    string: string
                jobName: string
                projectCrn: string
                sensitiveHeaders:
                    - string
                type: string
                url: string
                verb: string
        description: string
        enDestinationCeId: string
        instanceGuid: string
        name: string
        type: string
    

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

    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationCeConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    EnDestinationCeId string
    (String) The unique identifier of the codeengine_en_destination.
    Name string
    The Destintion name.
    Type string
    ibmce.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationCeConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    EnDestinationCeId string
    (String) The unique identifier of the codeengine_en_destination.
    Name string
    The Destintion name.
    Type string
    ibmce.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    collectFailedEvents Boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationCeConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description String
    The Destination description.
    enDestinationCeId String
    (String) The unique identifier of the codeengine_en_destination.
    name String
    The Destintion name.
    type String
    ibmce.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    collectFailedEvents boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationCeConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description string
    The Destination description.
    enDestinationCeId string
    (String) The unique identifier of the codeengine_en_destination.
    name string
    The Destintion name.
    type string
    ibmce.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    collect_failed_events bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationCeConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    description str
    The Destination description.
    en_destination_ce_id str
    (String) The unique identifier of the codeengine_en_destination.
    name str
    The Destintion name.
    type str
    ibmce.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    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.
    enDestinationCeId String
    (String) The unique identifier of the codeengine_en_destination.
    name String
    The Destintion name.
    type String
    ibmce.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnDestinationCe 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 EnDestinationCe Resource

    Get an existing EnDestinationCe 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?: EnDestinationCeState, opts?: CustomResourceOptions): EnDestinationCe
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            collect_failed_events: Optional[bool] = None,
            config: Optional[EnDestinationCeConfigArgs] = None,
            description: Optional[str] = None,
            destination_id: Optional[str] = None,
            en_destination_ce_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) -> EnDestinationCe
    func GetEnDestinationCe(ctx *Context, name string, id IDInput, state *EnDestinationCeState, opts ...ResourceOption) (*EnDestinationCe, error)
    public static EnDestinationCe Get(string name, Input<string> id, EnDestinationCeState? state, CustomResourceOptions? opts = null)
    public static EnDestinationCe get(String name, Output<String> id, EnDestinationCeState state, CustomResourceOptions options)
    resources:  _:    type: ibm:EnDestinationCe    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationCeConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    DestinationId string
    (String) The unique identifier of the created destination.
    EnDestinationCeId string
    (String) The unique identifier of the codeengine_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
    ibmce.
    UpdatedAt string
    (String) Last updated time.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationCeConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    DestinationId string
    (String) The unique identifier of the created destination.
    EnDestinationCeId string
    (String) The unique identifier of the codeengine_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
    ibmce.
    UpdatedAt string
    (String) Last updated time.
    collectFailedEvents Boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationCeConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description String
    The Destination description.
    destinationId String
    (String) The unique identifier of the created destination.
    enDestinationCeId String
    (String) The unique identifier of the codeengine_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
    ibmce.
    updatedAt String
    (String) Last updated time.
    collectFailedEvents boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationCeConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description string
    The Destination description.
    destinationId string
    (String) The unique identifier of the created destination.
    enDestinationCeId string
    (String) The unique identifier of the codeengine_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
    ibmce.
    updatedAt string
    (String) Last updated time.
    collect_failed_events bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationCeConfigArgs

    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_ce_id str
    (String) The unique identifier of the codeengine_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
    ibmce.
    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.
    enDestinationCeId String
    (String) The unique identifier of the codeengine_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
    ibmce.
    updatedAt String
    (String) Last updated time.

    Supporting Types

    EnDestinationCeConfig, EnDestinationCeConfigArgs

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

    EnDestinationCeConfigParams, EnDestinationCeConfigParamsArgs

    CustomHeaders Dictionary<string, string>
    Custom headers (Key-Value pair) for webhook call.
    JobName string
    Name of the code engine job.
    ProjectCrn string
    CRN of the code engine project.
    SensitiveHeaders List<string>
    List of sensitive headers from custom headers.
    Type string
    ibmce.
    Url string
    URL of code engine project.
    Verb string
    HTTP method of webhook.
    CustomHeaders map[string]string
    Custom headers (Key-Value pair) for webhook call.
    JobName string
    Name of the code engine job.
    ProjectCrn string
    CRN of the code engine project.
    SensitiveHeaders []string
    List of sensitive headers from custom headers.
    Type string
    ibmce.
    Url string
    URL of code engine project.
    Verb string
    HTTP method of webhook.
    customHeaders Map<String,String>
    Custom headers (Key-Value pair) for webhook call.
    jobName String
    Name of the code engine job.
    projectCrn String
    CRN of the code engine project.
    sensitiveHeaders List<String>
    List of sensitive headers from custom headers.
    type String
    ibmce.
    url String
    URL of code engine project.
    verb String
    HTTP method of webhook.
    customHeaders {[key: string]: string}
    Custom headers (Key-Value pair) for webhook call.
    jobName string
    Name of the code engine job.
    projectCrn string
    CRN of the code engine project.
    sensitiveHeaders string[]
    List of sensitive headers from custom headers.
    type string
    ibmce.
    url string
    URL of code engine project.
    verb string
    HTTP method of webhook.
    custom_headers Mapping[str, str]
    Custom headers (Key-Value pair) for webhook call.
    job_name str
    Name of the code engine job.
    project_crn str
    CRN of the code engine project.
    sensitive_headers Sequence[str]
    List of sensitive headers from custom headers.
    type str
    ibmce.
    url str
    URL of code engine project.
    verb str
    HTTP method of webhook.
    customHeaders Map<String>
    Custom headers (Key-Value pair) for webhook call.
    jobName String
    Name of the code engine job.
    projectCrn String
    CRN of the code engine project.
    sensitiveHeaders List<String>
    List of sensitive headers from custom headers.
    type String
    ibmce.
    url String
    URL of code engine project.
    verb String
    HTTP method of webhook.

    Import

    You can import the ibm_en_destination_ce 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/enDestinationCe:EnDestinationCe codeengine_en_destination <instance_guid>/<destination_id>
    

    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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud