ibm.EnDestinationCe
Explore with Pulumi AI
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:
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ce Config Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- En
Destination stringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - Name string
- The Destintion name.
- Type string
- ibmce.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ce Config Args Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- En
Destination stringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - Name string
- The Destintion name.
- Type string
- ibmce.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- collect
Failed BooleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ce Config Payload describing a destination configuration.
Nested scheme for config:
- description String
- The Destination description.
- en
Destination StringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - name String
- The Destintion name.
- type String
- ibmce.
- instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- collect
Failed booleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ce Config Payload describing a destination configuration.
Nested scheme for config:
- description string
- The Destination description.
- en
Destination stringCe Id - (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_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ce Config Args Payload describing a destination configuration.
Nested scheme for config:
- description str
- The Destination description.
- en_
destination_ strce_ id - (String) The unique identifier of the
codeengine_en_destination
. - name str
- The Destintion name.
- type str
- ibmce.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- collect
Failed BooleanEvents - 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.
- en
Destination StringCe Id - (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:
- Destination
Id string - (String) The unique identifier of the created destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscription
Count double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names List<string> - (List) List of subscriptions.
- Updated
At string - (String) Last updated time.
- Destination
Id string - (String) The unique identifier of the created destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscription
Count float64 - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names []string - (List) List of subscriptions.
- Updated
At string - (String) Last updated time.
- destination
Id String - (String) The unique identifier of the created destination.
- id String
- The provider-assigned unique ID for this managed resource.
- subscription
Count Double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- updated
At String - (String) Last updated time.
- destination
Id string - (String) The unique identifier of the created destination.
- id string
- The provider-assigned unique ID for this managed resource.
- subscription
Count number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names string[] - (List) List of subscriptions.
- updated
At 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
.
- Constraints: The minimum value is
- subscription_
names Sequence[str] - (List) List of subscriptions.
- updated_
at str - (String) Last updated time.
- destination
Id String - (String) The unique identifier of the created destination.
- id String
- The provider-assigned unique ID for this managed resource.
- subscription
Count Number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- updated
At 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.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ce Config Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- Destination
Id string - (String) The unique identifier of the created destination.
- En
Destination stringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Name string
- The Destintion name.
- Subscription
Count double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names List<string> - (List) List of subscriptions.
- Type string
- ibmce.
- Updated
At string - (String) Last updated time.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ce Config Args Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- Destination
Id string - (String) The unique identifier of the created destination.
- En
Destination stringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Name string
- The Destintion name.
- Subscription
Count float64 - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names []string - (List) List of subscriptions.
- Type string
- ibmce.
- Updated
At string - (String) Last updated time.
- collect
Failed BooleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ce Config Payload describing a destination configuration.
Nested scheme for config:
- description String
- The Destination description.
- destination
Id String - (String) The unique identifier of the created destination.
- en
Destination StringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- name String
- The Destintion name.
- subscription
Count Double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- type String
- ibmce.
- updated
At String - (String) Last updated time.
- collect
Failed booleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ce Config Payload describing a destination configuration.
Nested scheme for config:
- description string
- The Destination description.
- destination
Id string - (String) The unique identifier of the created destination.
- en
Destination stringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- name string
- The Destintion name.
- subscription
Count number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names string[] - (List) List of subscriptions.
- type string
- ibmce.
- updated
At string - (String) Last updated time.
- collect_
failed_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ce Config Args 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_ strce_ id - (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
.
- Constraints: The minimum value is
- subscription_
names Sequence[str] - (List) List of subscriptions.
- type str
- ibmce.
- updated_
at str - (String) Last updated time.
- collect
Failed BooleanEvents - 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.
- destination
Id String - (String) The unique identifier of the created destination.
- en
Destination StringCe Id - (String) The unique identifier of the
codeengine_en_destination
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- name String
- The Destintion name.
- subscription
Count Number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- type String
- ibmce.
- updated
At String - (String) Last updated time.
Supporting Types
EnDestinationCeConfig, EnDestinationCeConfigArgs
- Params
En
Destination Ce Config Params - Nested scheme for params:
- Params
En
Destination Ce Config Params - Nested scheme for params:
- params
En
Destination Ce Config Params - Nested scheme for params:
- params
En
Destination Ce Config Params - Nested scheme for params:
- params
En
Destination Ce Config Params - Nested scheme for params:
- params Property Map
- Nested scheme for params:
EnDestinationCeConfigParams, EnDestinationCeConfigParamsArgs
- Custom
Headers Dictionary<string, string> - Custom headers (Key-Value pair) for webhook call.
- Job
Name string - Name of the code engine job.
- Project
Crn string - CRN of the code engine project.
- Sensitive
Headers 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.
- Custom
Headers map[string]string - Custom headers (Key-Value pair) for webhook call.
- Job
Name string - Name of the code engine job.
- Project
Crn string - CRN of the code engine project.
- Sensitive
Headers []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 Map<String,String> - Custom headers (Key-Value pair) for webhook call.
- job
Name String - Name of the code engine job.
- project
Crn String - CRN of the code engine project.
- sensitive
Headers 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.
- custom
Headers {[key: string]: string} - Custom headers (Key-Value pair) for webhook call.
- job
Name string - Name of the code engine job.
- project
Crn string - CRN of the code engine project.
- sensitive
Headers 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.
- custom
Headers Map<String> - Custom headers (Key-Value pair) for webhook call.
- job
Name String - Name of the code engine job.
- project
Crn String - CRN of the code engine project.
- sensitive
Headers 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.