published on Monday, Jun 15, 2026 by ibm-cloud
published on Monday, Jun 15, 2026 by ibm-cloud
Create, update, or delete a Custom Email destination by using IBM Cloud™ Event Notifications.
Example Usage
Production Custom Email Destination
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const customDomainEnDestination = new ibm.EnDestinationCustomEmail("custom_domain_en_destination", {
instanceGuid: enTerraformTestResource.guid,
name: "Custom Email EN Destination",
type: "smtp_custom",
collectFailedEvents: true,
isSandbox: false,
description: "Production custom email destination for event notification",
config: {
params: [{
domain: "mailx.com",
}],
},
});
import pulumi
import pulumi_ibm as ibm
custom_domain_en_destination = ibm.EnDestinationCustomEmail("custom_domain_en_destination",
instance_guid=en_terraform_test_resource["guid"],
name="Custom Email EN Destination",
type="smtp_custom",
collect_failed_events=True,
is_sandbox=False,
description="Production custom email destination for event notification",
config={
"params": [{
"domain": "mailx.com",
}],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewEnDestinationCustomEmail(ctx, "custom_domain_en_destination", &ibm.EnDestinationCustomEmailArgs{
InstanceGuid: pulumi.Any(enTerraformTestResource.Guid),
Name: pulumi.String("Custom Email EN Destination"),
Type: pulumi.String("smtp_custom"),
CollectFailedEvents: pulumi.Bool(true),
IsSandbox: pulumi.Bool(false),
Description: pulumi.String("Production custom email destination for event notification"),
Config: &ibm.EnDestinationCustomEmailConfigArgs{
Params: ibm.EnDestinationCustomEmailConfigParamArray{
&ibm.EnDestinationCustomEmailConfigParamArgs{
Domain: pulumi.String("mailx.com"),
},
},
},
})
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 customDomainEnDestination = new Ibm.EnDestinationCustomEmail("custom_domain_en_destination", new()
{
InstanceGuid = enTerraformTestResource.Guid,
Name = "Custom Email EN Destination",
Type = "smtp_custom",
CollectFailedEvents = true,
IsSandbox = false,
Description = "Production custom email destination for event notification",
Config = new Ibm.Inputs.EnDestinationCustomEmailConfigArgs
{
Params = new[]
{
new Ibm.Inputs.EnDestinationCustomEmailConfigParamArgs
{
Domain = "mailx.com",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnDestinationCustomEmail;
import com.pulumi.ibm.EnDestinationCustomEmailArgs;
import com.pulumi.ibm.inputs.EnDestinationCustomEmailConfigArgs;
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 customDomainEnDestination = new EnDestinationCustomEmail("customDomainEnDestination", EnDestinationCustomEmailArgs.builder()
.instanceGuid(enTerraformTestResource.guid())
.name("Custom Email EN Destination")
.type("smtp_custom")
.collectFailedEvents(true)
.isSandbox(false)
.description("Production custom email destination for event notification")
.config(EnDestinationCustomEmailConfigArgs.builder()
.params(EnDestinationCustomEmailConfigParamArgs.builder()
.domain("mailx.com")
.build())
.build())
.build());
}
}
resources:
customDomainEnDestination:
type: ibm:EnDestinationCustomEmail
name: custom_domain_en_destination
properties:
instanceGuid: ${enTerraformTestResource.guid}
name: Custom Email EN Destination
type: smtp_custom
collectFailedEvents: true
isSandbox: false
description: Production custom email destination for event notification
config:
params:
- domain: mailx.com
Example coming soon!
Sandbox Custom Email Destination
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const sandboxCustomDomainEnDestination = new ibm.EnDestinationCustomEmail("sandbox_custom_domain_en_destination", {
instanceGuid: enTerraformTestResource.guid,
name: "Sandbox Custom Email EN Destination",
type: "smtp_custom",
collectFailedEvents: false,
isSandbox: true,
description: "Sandbox custom email destination for testing",
config: {
params: [{
domain: "sandbox.example.com",
}],
},
});
import pulumi
import pulumi_ibm as ibm
sandbox_custom_domain_en_destination = ibm.EnDestinationCustomEmail("sandbox_custom_domain_en_destination",
instance_guid=en_terraform_test_resource["guid"],
name="Sandbox Custom Email EN Destination",
type="smtp_custom",
collect_failed_events=False,
is_sandbox=True,
description="Sandbox custom email destination for testing",
config={
"params": [{
"domain": "sandbox.example.com",
}],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewEnDestinationCustomEmail(ctx, "sandbox_custom_domain_en_destination", &ibm.EnDestinationCustomEmailArgs{
InstanceGuid: pulumi.Any(enTerraformTestResource.Guid),
Name: pulumi.String("Sandbox Custom Email EN Destination"),
Type: pulumi.String("smtp_custom"),
CollectFailedEvents: pulumi.Bool(false),
IsSandbox: pulumi.Bool(true),
Description: pulumi.String("Sandbox custom email destination for testing"),
Config: &ibm.EnDestinationCustomEmailConfigArgs{
Params: ibm.EnDestinationCustomEmailConfigParamArray{
&ibm.EnDestinationCustomEmailConfigParamArgs{
Domain: pulumi.String("sandbox.example.com"),
},
},
},
})
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 sandboxCustomDomainEnDestination = new Ibm.EnDestinationCustomEmail("sandbox_custom_domain_en_destination", new()
{
InstanceGuid = enTerraformTestResource.Guid,
Name = "Sandbox Custom Email EN Destination",
Type = "smtp_custom",
CollectFailedEvents = false,
IsSandbox = true,
Description = "Sandbox custom email destination for testing",
Config = new Ibm.Inputs.EnDestinationCustomEmailConfigArgs
{
Params = new[]
{
new Ibm.Inputs.EnDestinationCustomEmailConfigParamArgs
{
Domain = "sandbox.example.com",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnDestinationCustomEmail;
import com.pulumi.ibm.EnDestinationCustomEmailArgs;
import com.pulumi.ibm.inputs.EnDestinationCustomEmailConfigArgs;
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 sandboxCustomDomainEnDestination = new EnDestinationCustomEmail("sandboxCustomDomainEnDestination", EnDestinationCustomEmailArgs.builder()
.instanceGuid(enTerraformTestResource.guid())
.name("Sandbox Custom Email EN Destination")
.type("smtp_custom")
.collectFailedEvents(false)
.isSandbox(true)
.description("Sandbox custom email destination for testing")
.config(EnDestinationCustomEmailConfigArgs.builder()
.params(EnDestinationCustomEmailConfigParamArgs.builder()
.domain("sandbox.example.com")
.build())
.build())
.build());
}
}
resources:
sandboxCustomDomainEnDestination:
type: ibm:EnDestinationCustomEmail
name: sandbox_custom_domain_en_destination
properties:
instanceGuid: ${enTerraformTestResource.guid}
name: Sandbox Custom Email EN Destination
type: smtp_custom
collectFailedEvents: false
isSandbox: true
description: Sandbox custom email destination for testing
config:
params:
- domain: sandbox.example.com
Example coming soon!
Create EnDestinationCustomEmail Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnDestinationCustomEmail(name: string, args: EnDestinationCustomEmailArgs, opts?: CustomResourceOptions);@overload
def EnDestinationCustomEmail(resource_name: str,
args: EnDestinationCustomEmailArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnDestinationCustomEmail(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_guid: Optional[str] = None,
type: Optional[str] = None,
collect_failed_events: Optional[bool] = None,
config: Optional[EnDestinationCustomEmailConfigArgs] = None,
description: Optional[str] = None,
en_destination_custom_email_id: Optional[str] = None,
is_sandbox: Optional[bool] = None,
name: Optional[str] = None,
verification_type: Optional[str] = None)func NewEnDestinationCustomEmail(ctx *Context, name string, args EnDestinationCustomEmailArgs, opts ...ResourceOption) (*EnDestinationCustomEmail, error)public EnDestinationCustomEmail(string name, EnDestinationCustomEmailArgs args, CustomResourceOptions? opts = null)
public EnDestinationCustomEmail(String name, EnDestinationCustomEmailArgs args)
public EnDestinationCustomEmail(String name, EnDestinationCustomEmailArgs args, CustomResourceOptions options)
type: ibm:EnDestinationCustomEmail
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ibm_endestinationcustomemail" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EnDestinationCustomEmailArgs
- 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 EnDestinationCustomEmailArgs
- 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 EnDestinationCustomEmailArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnDestinationCustomEmailArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnDestinationCustomEmailArgs
- 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 enDestinationCustomEmailResource = new Ibm.EnDestinationCustomEmail("enDestinationCustomEmailResource", new()
{
InstanceGuid = "string",
Type = "string",
CollectFailedEvents = false,
Config = new Ibm.Inputs.EnDestinationCustomEmailConfigArgs
{
Params = new[]
{
new Ibm.Inputs.EnDestinationCustomEmailConfigParamArgs
{
Domain = "string",
Dkims = new[]
{
new Ibm.Inputs.EnDestinationCustomEmailConfigParamDkimArgs
{
PublicKey = "string",
Selector = "string",
Verification = "string",
},
},
Spfs = new[]
{
new Ibm.Inputs.EnDestinationCustomEmailConfigParamSpfArgs
{
TxtName = "string",
TxtValue = "string",
Verification = "string",
},
},
},
},
},
Description = "string",
EnDestinationCustomEmailId = "string",
IsSandbox = false,
Name = "string",
VerificationType = "string",
});
example, err := ibm.NewEnDestinationCustomEmail(ctx, "enDestinationCustomEmailResource", &ibm.EnDestinationCustomEmailArgs{
InstanceGuid: pulumi.String("string"),
Type: pulumi.String("string"),
CollectFailedEvents: pulumi.Bool(false),
Config: &ibm.EnDestinationCustomEmailConfigArgs{
Params: ibm.EnDestinationCustomEmailConfigParamArray{
&ibm.EnDestinationCustomEmailConfigParamArgs{
Domain: pulumi.String("string"),
Dkims: ibm.EnDestinationCustomEmailConfigParamDkimArray{
&ibm.EnDestinationCustomEmailConfigParamDkimArgs{
PublicKey: pulumi.String("string"),
Selector: pulumi.String("string"),
Verification: pulumi.String("string"),
},
},
Spfs: ibm.EnDestinationCustomEmailConfigParamSpfArray{
&ibm.EnDestinationCustomEmailConfigParamSpfArgs{
TxtName: pulumi.String("string"),
TxtValue: pulumi.String("string"),
Verification: pulumi.String("string"),
},
},
},
},
},
Description: pulumi.String("string"),
EnDestinationCustomEmailId: pulumi.String("string"),
IsSandbox: pulumi.Bool(false),
Name: pulumi.String("string"),
VerificationType: pulumi.String("string"),
})
resource "ibm_endestinationcustomemail" "enDestinationCustomEmailResource" {
instance_guid = "string"
type = "string"
collect_failed_events = false
config = {
params = [{
"domain" = "string"
"dkims" = [{
"publicKey" = "string"
"selector" = "string"
"verification" = "string"
}]
"spfs" = [{
"txtName" = "string"
"txtValue" = "string"
"verification" = "string"
}]
}]
}
description = "string"
en_destination_custom_email_id = "string"
is_sandbox = false
name = "string"
verification_type = "string"
}
var enDestinationCustomEmailResource = new EnDestinationCustomEmail("enDestinationCustomEmailResource", EnDestinationCustomEmailArgs.builder()
.instanceGuid("string")
.type("string")
.collectFailedEvents(false)
.config(EnDestinationCustomEmailConfigArgs.builder()
.params(EnDestinationCustomEmailConfigParamArgs.builder()
.domain("string")
.dkims(EnDestinationCustomEmailConfigParamDkimArgs.builder()
.publicKey("string")
.selector("string")
.verification("string")
.build())
.spfs(EnDestinationCustomEmailConfigParamSpfArgs.builder()
.txtName("string")
.txtValue("string")
.verification("string")
.build())
.build())
.build())
.description("string")
.enDestinationCustomEmailId("string")
.isSandbox(false)
.name("string")
.verificationType("string")
.build());
en_destination_custom_email_resource = ibm.EnDestinationCustomEmail("enDestinationCustomEmailResource",
instance_guid="string",
type="string",
collect_failed_events=False,
config={
"params": [{
"domain": "string",
"dkims": [{
"public_key": "string",
"selector": "string",
"verification": "string",
}],
"spfs": [{
"txt_name": "string",
"txt_value": "string",
"verification": "string",
}],
}],
},
description="string",
en_destination_custom_email_id="string",
is_sandbox=False,
name="string",
verification_type="string")
const enDestinationCustomEmailResource = new ibm.EnDestinationCustomEmail("enDestinationCustomEmailResource", {
instanceGuid: "string",
type: "string",
collectFailedEvents: false,
config: {
params: [{
domain: "string",
dkims: [{
publicKey: "string",
selector: "string",
verification: "string",
}],
spfs: [{
txtName: "string",
txtValue: "string",
verification: "string",
}],
}],
},
description: "string",
enDestinationCustomEmailId: "string",
isSandbox: false,
name: "string",
verificationType: "string",
});
type: ibm:EnDestinationCustomEmail
properties:
collectFailedEvents: false
config:
params:
- dkims:
- publicKey: string
selector: string
verification: string
domain: string
spfs:
- txtName: string
txtValue: string
verification: string
description: string
enDestinationCustomEmailId: string
instanceGuid: string
isSandbox: false
name: string
type: string
verificationType: string
EnDestinationCustomEmail 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 EnDestinationCustomEmail resource accepts the following input properties:
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Type string
- smtp_custom.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Custom Email Config Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- En
Destination stringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - Is
Sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- Name string
- The Destintion name.
- Verification
Type string - Verification Method spf/dkim.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Type string
- smtp_custom.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Custom Email Config Args Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- En
Destination stringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - Is
Sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- Name string
- The Destintion name.
- Verification
Type string - Verification Method spf/dkim.
- instance_
guid string - Unique identifier for IBM Cloud Event Notifications instance.
- type string
- smtp_custom.
- collect_
failed_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config object
Payload describing a destination configuration.
Nested scheme for config:
- description string
- The Destination description.
- en_
destination_ stringcustom_ email_ id - (String) The unique identifier of the
custom_domain_en_destination. - is_
sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- name string
- The Destintion name.
- verification_
type string - Verification Method spf/dkim.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- type String
- smtp_custom.
- collect
Failed BooleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Custom Email Config Payload describing a destination configuration.
Nested scheme for config:
- description String
- The Destination description.
- en
Destination StringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - is
Sandbox Boolean - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- name String
- The Destintion name.
- verification
Type String - Verification Method spf/dkim.
- instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- type string
- smtp_custom.
- collect
Failed booleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Custom Email Config Payload describing a destination configuration.
Nested scheme for config:
- description string
- The Destination description.
- en
Destination stringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - is
Sandbox boolean - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- name string
- The Destintion name.
- verification
Type string - Verification Method spf/dkim.
- instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- type str
- smtp_custom.
- collect_
failed_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Custom Email Config Args Payload describing a destination configuration.
Nested scheme for config:
- description str
- The Destination description.
- en_
destination_ strcustom_ email_ id - (String) The unique identifier of the
custom_domain_en_destination. - is_
sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- name str
- The Destintion name.
- verification_
type str - Verification Method spf/dkim.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- type String
- smtp_custom.
- 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 StringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - is
Sandbox Boolean - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- name String
- The Destintion name.
- verification
Type String - Verification Method spf/dkim.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnDestinationCustomEmail 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 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.
- 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 EnDestinationCustomEmail Resource
Get an existing EnDestinationCustomEmail 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?: EnDestinationCustomEmailState, opts?: CustomResourceOptions): EnDestinationCustomEmail@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
collect_failed_events: Optional[bool] = None,
config: Optional[EnDestinationCustomEmailConfigArgs] = None,
description: Optional[str] = None,
destination_id: Optional[str] = None,
en_destination_custom_email_id: Optional[str] = None,
instance_guid: Optional[str] = None,
is_sandbox: Optional[bool] = 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,
verification_type: Optional[str] = None) -> EnDestinationCustomEmailfunc GetEnDestinationCustomEmail(ctx *Context, name string, id IDInput, state *EnDestinationCustomEmailState, opts ...ResourceOption) (*EnDestinationCustomEmail, error)public static EnDestinationCustomEmail Get(string name, Input<string> id, EnDestinationCustomEmailState? state, CustomResourceOptions? opts = null)public static EnDestinationCustomEmail get(String name, Output<String> id, EnDestinationCustomEmailState state, CustomResourceOptions options)resources: _: type: ibm:EnDestinationCustomEmail get: id: ${id}import {
to = ibm_endestinationcustomemail.example
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 Custom Email 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 stringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Is
Sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- Updated
At string - (String) Last updated time.
- Verification
Type string - Verification Method spf/dkim.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Custom Email 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 stringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Is
Sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- Updated
At string - (String) Last updated time.
- Verification
Type string - Verification Method spf/dkim.
- collect_
failed_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config object
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_ stringcustom_ email_ id - (String) The unique identifier of the
custom_domain_en_destination. - instance_
guid string - Unique identifier for IBM Cloud Event Notifications instance.
- is_
sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- updated_
at string - (String) Last updated time.
- verification_
type string - Verification Method spf/dkim.
- collect
Failed BooleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Custom Email 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 StringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- is
Sandbox Boolean - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- updated
At String - (String) Last updated time.
- verification
Type String - Verification Method spf/dkim.
- collect
Failed booleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Custom Email 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 stringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- is
Sandbox boolean - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- updated
At string - (String) Last updated time.
- verification
Type string - Verification Method spf/dkim.
- collect_
failed_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Custom Email 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_ strcustom_ email_ id - (String) The unique identifier of the
custom_domain_en_destination. - instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- is_
sandbox bool - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- updated_
at str - (String) Last updated time.
- verification_
type str - Verification Method spf/dkim.
- 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 StringCustom Email Id - (String) The unique identifier of the
custom_domain_en_destination. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- is
Sandbox Boolean - Toggle switch to enable sandbox mode. Default value is
false.- When
true: Creates a sandbox destination (smtp_custom_sandboxtype) for testing without domain verification - When
false: Creates a production destination (smtp_customtype) requiring domain verification - Upgrade: Can be changed from
truetofalseto upgrade sandbox to production - Downgrade: Cannot be changed from
falsetotrue(production to sandbox downgrade is not supported) - Domain Updates:
- Sandbox destinations: Domain can be updated at any time
- Production destinations: Domain is immutable after creation
- When
- 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
- smtp_custom.
- updated
At String - (String) Last updated time.
- verification
Type String - Verification Method spf/dkim.
Supporting Types
EnDestinationCustomEmailConfig, EnDestinationCustomEmailConfigArgs
- Params
List<En
Destination Custom Email Config Param> - Nested scheme for params:
- Params
[]En
Destination Custom Email Config Param - Nested scheme for params:
- params list(object)
- Nested scheme for params:
- params
List<En
Destination Custom Email Config Param> - Nested scheme for params:
- params
En
Destination Custom Email Config Param[] - Nested scheme for params:
- params
Sequence[En
Destination Custom Email Config Param] - Nested scheme for params:
- params List<Property Map>
- Nested scheme for params:
EnDestinationCustomEmailConfigParam, EnDestinationCustomEmailConfigParamArgs
- Domain string
- Domain for the Custom Domain Email Destination
- Dkims
List<En
Destination Custom Email Config Param Dkim> - The DKIM attributes.
- Spfs
List<En
Destination Custom Email Config Param Spf> - The SPF attributes.
- Domain string
- Domain for the Custom Domain Email Destination
- Dkims
[]En
Destination Custom Email Config Param Dkim - The DKIM attributes.
- Spfs
[]En
Destination Custom Email Config Param Spf - The SPF attributes.
- domain string
- Domain for the Custom Domain Email Destination
- dkims list(object)
- The DKIM attributes.
- spfs list(object)
- The SPF attributes.
- domain String
- Domain for the Custom Domain Email Destination
- dkims
List<En
Destination Custom Email Config Param Dkim> - The DKIM attributes.
- spfs
List<En
Destination Custom Email Config Param Spf> - The SPF attributes.
- domain string
- Domain for the Custom Domain Email Destination
- dkims
En
Destination Custom Email Config Param Dkim[] - The DKIM attributes.
- spfs
En
Destination Custom Email Config Param Spf[] - The SPF attributes.
- domain str
- Domain for the Custom Domain Email Destination
- dkims
Sequence[En
Destination Custom Email Config Param Dkim] - The DKIM attributes.
- spfs
Sequence[En
Destination Custom Email Config Param Spf] - The SPF attributes.
- domain String
- Domain for the Custom Domain Email Destination
- dkims List<Property Map>
- The DKIM attributes.
- spfs List<Property Map>
- The SPF attributes.
EnDestinationCustomEmailConfigParamDkim, EnDestinationCustomEmailConfigParamDkimArgs
- Public
Key string - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Selector string
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Verification string
- Public
Key string - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Selector string
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Verification string
- public_
key string - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- selector string
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification string
- public
Key String - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- selector String
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification String
- public
Key string - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- selector string
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification string
- public_
key str - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- selector str
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification str
- public
Key String - dkim public key.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- selector String
- dkim selector.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification String
EnDestinationCustomEmailConfigParamSpf, EnDestinationCustomEmailConfigParamSpfArgs
- Txt
Name string - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Txt
Value string - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Verification string
- Txt
Name string - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Txt
Value string - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- Verification string
- txt_
name string - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- txt_
value string - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification string
- txt
Name String - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- txt
Value String - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification String
- txt
Name string - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- txt
Value string - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification string
- txt_
name str - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- txt_
value str - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification str
- txt
Name String - spf text name.
- Constraints: The maximum length is
255characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- txt
Value String - spf text value.
- Constraints: The maximum length is
500characters. The minimum length is1character. The value must match regular expression/.*/.
- Constraints: The maximum length is
- verification String
Import
You can import the ibm_en_destination_custom_email 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/enDestinationCustomEmail:EnDestinationCustomEmail custom_domain_email_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
ibmTerraform Provider.
published on Monday, Jun 15, 2026 by ibm-cloud