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

ibm.EnSubscriptionCustomEmail

Explore with Pulumi AI

Create, update, or delete a Custom Email subscription by using IBM Cloud™ Event Notifications.

Example Usage

Custom Email Subscription Creation

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnSubscriptionCustomEmail;
import com.pulumi.ibm.EnSubscriptionCustomEmailArgs;
import com.pulumi.ibm.inputs.EnSubscriptionCustomEmailAttributesArgs;
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 customDomainEmailSubscription = new EnSubscriptionCustomEmail("customDomainEmailSubscription", EnSubscriptionCustomEmailArgs.builder()
            .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
            .description("Subscription for Certificate expiration alert")
            .destinationId(ibm_resource_instance.ibm_en_subscription_custom_email().destination_id())
            .topicId(ibm_en_topic.topic1().topic_id())
            .attributes(EnSubscriptionCustomEmailAttributesArgs.builder()
                .addNotificationPayload(true)
                .replyToMail("en@ibm.com")
                .replyToName("EYS ORG")
                .fromName("ABC ORG")
                .fromMail("Testuser@mailx.com")
                .inviteds("test@gmail.com")
                .build())
            .build());

    }
}
Copy
resources:
  customDomainEmailSubscription:
    type: ibm:EnSubscriptionCustomEmail
    properties:
      instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
      description: Subscription for Certificate expiration alert
      destinationId: ${ibm_resource_instance.ibm_en_subscription_custom_email.destination_id}
      topicId: ${ibm_en_topic.topic1.topic_id}
      attributes:
        addNotificationPayload: true
        replyToMail: en@ibm.com
        replyToName: EYS ORG
        fromName: ABC ORG
        fromMail: Testuser@mailx.com
        inviteds:
          - test@gmail.com
Copy

Email Subscription Updation

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnSubscriptionCustomEmail;
import com.pulumi.ibm.EnSubscriptionCustomEmailArgs;
import com.pulumi.ibm.inputs.EnSubscriptionCustomEmailAttributesArgs;
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 customDomainEmailSubscription = new EnSubscriptionCustomEmail("customDomainEmailSubscription", EnSubscriptionCustomEmailArgs.builder()
            .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
            .description("Subscription for Certificate expiration alert")
            .destinationId(ibm_resource_instance.ibm_en_subscription_custom_email().destination_id())
            .topicId(ibm_en_topic.topic1().topic_id())
            .attributes(EnSubscriptionCustomEmailAttributesArgs.builder()
                .addNotificationPayload(true)
                .replyToMail("en@ibm.com")
                .replyToName("EYS ORG")
                .fromName("ABC ORG")
                .fromMail("Testuser@mailx.com")
                .adds("productionuser@ibm.com")
                .removes("testuser@gamil.com")
                .build())
            .build());

    }
}
Copy
resources:
  customDomainEmailSubscription:
    type: ibm:EnSubscriptionCustomEmail
    properties:
      instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
      description: Subscription for Certificate expiration alert
      destinationId: ${ibm_resource_instance.ibm_en_subscription_custom_email.destination_id}
      topicId: ${ibm_en_topic.topic1.topic_id}
      attributes:
        addNotificationPayload: true
        replyToMail: en@ibm.com
        replyToName: EYS ORG
        fromName: ABC ORG
        fromMail: Testuser@mailx.com
        adds:
          - productionuser@ibm.com
        removes:
          - testuser@gamil.com
Copy

Create EnSubscriptionCustomEmail Resource

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

Constructor syntax

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

@overload
def EnSubscriptionCustomEmail(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              destination_id: Optional[str] = None,
                              instance_guid: Optional[str] = None,
                              topic_id: Optional[str] = None,
                              attributes: Optional[EnSubscriptionCustomEmailAttributesArgs] = None,
                              description: Optional[str] = None,
                              en_subscription_custom_email_id: Optional[str] = None,
                              name: Optional[str] = None)
func NewEnSubscriptionCustomEmail(ctx *Context, name string, args EnSubscriptionCustomEmailArgs, opts ...ResourceOption) (*EnSubscriptionCustomEmail, error)
public EnSubscriptionCustomEmail(string name, EnSubscriptionCustomEmailArgs args, CustomResourceOptions? opts = null)
public EnSubscriptionCustomEmail(String name, EnSubscriptionCustomEmailArgs args)
public EnSubscriptionCustomEmail(String name, EnSubscriptionCustomEmailArgs args, CustomResourceOptions options)
type: ibm:EnSubscriptionCustomEmail
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EnSubscriptionCustomEmailArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EnSubscriptionCustomEmailArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EnSubscriptionCustomEmailArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EnSubscriptionCustomEmailArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EnSubscriptionCustomEmailArgs
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 enSubscriptionCustomEmailResource = new Ibm.EnSubscriptionCustomEmail("enSubscriptionCustomEmailResource", new()
{
    DestinationId = "string",
    InstanceGuid = "string",
    TopicId = "string",
    Attributes = new Ibm.Inputs.EnSubscriptionCustomEmailAttributesArgs
    {
        AddNotificationPayload = false,
        Adds = new[]
        {
            "string",
        },
        FromEmail = "string",
        FromName = "string",
        Inviteds = new[]
        {
            "string",
        },
        Removes = new[]
        {
            "string",
        },
        ReplyToMail = "string",
        ReplyToName = "string",
        TemplateIdInvitation = "string",
        TemplateIdNotification = "string",
    },
    Description = "string",
    EnSubscriptionCustomEmailId = "string",
    Name = "string",
});
Copy
example, err := ibm.NewEnSubscriptionCustomEmail(ctx, "enSubscriptionCustomEmailResource", &ibm.EnSubscriptionCustomEmailArgs{
DestinationId: pulumi.String("string"),
InstanceGuid: pulumi.String("string"),
TopicId: pulumi.String("string"),
Attributes: &.EnSubscriptionCustomEmailAttributesArgs{
AddNotificationPayload: pulumi.Bool(false),
Adds: pulumi.StringArray{
pulumi.String("string"),
},
FromEmail: pulumi.String("string"),
FromName: pulumi.String("string"),
Inviteds: pulumi.StringArray{
pulumi.String("string"),
},
Removes: pulumi.StringArray{
pulumi.String("string"),
},
ReplyToMail: pulumi.String("string"),
ReplyToName: pulumi.String("string"),
TemplateIdInvitation: pulumi.String("string"),
TemplateIdNotification: pulumi.String("string"),
},
Description: pulumi.String("string"),
EnSubscriptionCustomEmailId: pulumi.String("string"),
Name: pulumi.String("string"),
})
Copy
var enSubscriptionCustomEmailResource = new EnSubscriptionCustomEmail("enSubscriptionCustomEmailResource", EnSubscriptionCustomEmailArgs.builder()
    .destinationId("string")
    .instanceGuid("string")
    .topicId("string")
    .attributes(EnSubscriptionCustomEmailAttributesArgs.builder()
        .addNotificationPayload(false)
        .adds("string")
        .fromEmail("string")
        .fromName("string")
        .inviteds("string")
        .removes("string")
        .replyToMail("string")
        .replyToName("string")
        .templateIdInvitation("string")
        .templateIdNotification("string")
        .build())
    .description("string")
    .enSubscriptionCustomEmailId("string")
    .name("string")
    .build());
Copy
en_subscription_custom_email_resource = ibm.EnSubscriptionCustomEmail("enSubscriptionCustomEmailResource",
    destination_id="string",
    instance_guid="string",
    topic_id="string",
    attributes={
        "add_notification_payload": False,
        "adds": ["string"],
        "from_email": "string",
        "from_name": "string",
        "inviteds": ["string"],
        "removes": ["string"],
        "reply_to_mail": "string",
        "reply_to_name": "string",
        "template_id_invitation": "string",
        "template_id_notification": "string",
    },
    description="string",
    en_subscription_custom_email_id="string",
    name="string")
Copy
const enSubscriptionCustomEmailResource = new ibm.EnSubscriptionCustomEmail("enSubscriptionCustomEmailResource", {
    destinationId: "string",
    instanceGuid: "string",
    topicId: "string",
    attributes: {
        addNotificationPayload: false,
        adds: ["string"],
        fromEmail: "string",
        fromName: "string",
        inviteds: ["string"],
        removes: ["string"],
        replyToMail: "string",
        replyToName: "string",
        templateIdInvitation: "string",
        templateIdNotification: "string",
    },
    description: "string",
    enSubscriptionCustomEmailId: "string",
    name: "string",
});
Copy
type: ibm:EnSubscriptionCustomEmail
properties:
    attributes:
        addNotificationPayload: false
        adds:
            - string
        fromEmail: string
        fromName: string
        inviteds:
            - string
        removes:
            - string
        replyToMail: string
        replyToName: string
        templateIdInvitation: string
        templateIdNotification: string
    description: string
    destinationId: string
    enSubscriptionCustomEmailId: string
    instanceGuid: string
    name: string
    topicId: string
Copy

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

DestinationId This property is required. string
Destination ID.
InstanceGuid This property is required. string
Unique identifier for IBM Cloud Event Notifications instance.
TopicId This property is required. string
Topic ID.
Attributes EnSubscriptionCustomEmailAttributes

Subscription attributes.

Nested scheme for attributes:

Description string
Subscription description.
EnSubscriptionCustomEmailId string
(String) The unique identifier of the custom_domain_email_subscription.
Name string
Subscription name.
DestinationId This property is required. string
Destination ID.
InstanceGuid This property is required. string
Unique identifier for IBM Cloud Event Notifications instance.
TopicId This property is required. string
Topic ID.
Attributes EnSubscriptionCustomEmailAttributesArgs

Subscription attributes.

Nested scheme for attributes:

Description string
Subscription description.
EnSubscriptionCustomEmailId string
(String) The unique identifier of the custom_domain_email_subscription.
Name string
Subscription name.
destinationId This property is required. String
Destination ID.
instanceGuid This property is required. String
Unique identifier for IBM Cloud Event Notifications instance.
topicId This property is required. String
Topic ID.
attributes EnSubscriptionCustomEmailAttributes

Subscription attributes.

Nested scheme for attributes:

description String
Subscription description.
enSubscriptionCustomEmailId String
(String) The unique identifier of the custom_domain_email_subscription.
name String
Subscription name.
destinationId This property is required. string
Destination ID.
instanceGuid This property is required. string
Unique identifier for IBM Cloud Event Notifications instance.
topicId This property is required. string
Topic ID.
attributes EnSubscriptionCustomEmailAttributes

Subscription attributes.

Nested scheme for attributes:

description string
Subscription description.
enSubscriptionCustomEmailId string
(String) The unique identifier of the custom_domain_email_subscription.
name string
Subscription name.
destination_id This property is required. str
Destination ID.
instance_guid This property is required. str
Unique identifier for IBM Cloud Event Notifications instance.
topic_id This property is required. str
Topic ID.
attributes EnSubscriptionCustomEmailAttributesArgs

Subscription attributes.

Nested scheme for attributes:

description str
Subscription description.
en_subscription_custom_email_id str
(String) The unique identifier of the custom_domain_email_subscription.
name str
Subscription name.
destinationId This property is required. String
Destination ID.
instanceGuid This property is required. String
Unique identifier for IBM Cloud Event Notifications instance.
topicId This property is required. String
Topic ID.
attributes Property Map

Subscription attributes.

Nested scheme for attributes:

description String
Subscription description.
enSubscriptionCustomEmailId String
(String) The unique identifier of the custom_domain_email_subscription.
name String
Subscription name.

Outputs

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

DestinationName string
The Destintion name.
DestinationType string
The type of Destination.
From string
From Email ID (it will be displayed only in case of smtp_ibm destination type).
Id string
The provider-assigned unique ID for this managed resource.
SubscriptionId string
(String) The unique identifier of the created subscription.
TopicName string
Name of the topic.
UpdatedAt string
(String) Last updated time.
DestinationName string
The Destintion name.
DestinationType string
The type of Destination.
From string
From Email ID (it will be displayed only in case of smtp_ibm destination type).
Id string
The provider-assigned unique ID for this managed resource.
SubscriptionId string
(String) The unique identifier of the created subscription.
TopicName string
Name of the topic.
UpdatedAt string
(String) Last updated time.
destinationName String
The Destintion name.
destinationType String
The type of Destination.
from String
From Email ID (it will be displayed only in case of smtp_ibm destination type).
id String
The provider-assigned unique ID for this managed resource.
subscriptionId String
(String) The unique identifier of the created subscription.
topicName String
Name of the topic.
updatedAt String
(String) Last updated time.
destinationName string
The Destintion name.
destinationType string
The type of Destination.
from string
From Email ID (it will be displayed only in case of smtp_ibm destination type).
id string
The provider-assigned unique ID for this managed resource.
subscriptionId string
(String) The unique identifier of the created subscription.
topicName string
Name of the topic.
updatedAt string
(String) Last updated time.
destination_name str
The Destintion name.
destination_type str
The type of Destination.
from_ str
From Email ID (it will be displayed only in case of smtp_ibm destination type).
id str
The provider-assigned unique ID for this managed resource.
subscription_id str
(String) The unique identifier of the created subscription.
topic_name str
Name of the topic.
updated_at str
(String) Last updated time.
destinationName String
The Destintion name.
destinationType String
The type of Destination.
from String
From Email ID (it will be displayed only in case of smtp_ibm destination type).
id String
The provider-assigned unique ID for this managed resource.
subscriptionId String
(String) The unique identifier of the created subscription.
topicName String
Name of the topic.
updatedAt String
(String) Last updated time.

Look up Existing EnSubscriptionCustomEmail Resource

Get an existing EnSubscriptionCustomEmail 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?: EnSubscriptionCustomEmailState, opts?: CustomResourceOptions): EnSubscriptionCustomEmail
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attributes: Optional[EnSubscriptionCustomEmailAttributesArgs] = None,
        description: Optional[str] = None,
        destination_id: Optional[str] = None,
        destination_name: Optional[str] = None,
        destination_type: Optional[str] = None,
        en_subscription_custom_email_id: Optional[str] = None,
        from_: Optional[str] = None,
        instance_guid: Optional[str] = None,
        name: Optional[str] = None,
        subscription_id: Optional[str] = None,
        topic_id: Optional[str] = None,
        topic_name: Optional[str] = None,
        updated_at: Optional[str] = None) -> EnSubscriptionCustomEmail
func GetEnSubscriptionCustomEmail(ctx *Context, name string, id IDInput, state *EnSubscriptionCustomEmailState, opts ...ResourceOption) (*EnSubscriptionCustomEmail, error)
public static EnSubscriptionCustomEmail Get(string name, Input<string> id, EnSubscriptionCustomEmailState? state, CustomResourceOptions? opts = null)
public static EnSubscriptionCustomEmail get(String name, Output<String> id, EnSubscriptionCustomEmailState state, CustomResourceOptions options)
resources:  _:    type: ibm:EnSubscriptionCustomEmail    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Attributes EnSubscriptionCustomEmailAttributes

Subscription attributes.

Nested scheme for attributes:

Description string
Subscription description.
DestinationId string
Destination ID.
DestinationName string
The Destintion name.
DestinationType string
The type of Destination.
EnSubscriptionCustomEmailId string
(String) The unique identifier of the custom_domain_email_subscription.
From string
From Email ID (it will be displayed only in case of smtp_ibm destination type).
InstanceGuid string
Unique identifier for IBM Cloud Event Notifications instance.
Name string
Subscription name.
SubscriptionId string
(String) The unique identifier of the created subscription.
TopicId string
Topic ID.
TopicName string
Name of the topic.
UpdatedAt string
(String) Last updated time.
Attributes EnSubscriptionCustomEmailAttributesArgs

Subscription attributes.

Nested scheme for attributes:

Description string
Subscription description.
DestinationId string
Destination ID.
DestinationName string
The Destintion name.
DestinationType string
The type of Destination.
EnSubscriptionCustomEmailId string
(String) The unique identifier of the custom_domain_email_subscription.
From string
From Email ID (it will be displayed only in case of smtp_ibm destination type).
InstanceGuid string
Unique identifier for IBM Cloud Event Notifications instance.
Name string
Subscription name.
SubscriptionId string
(String) The unique identifier of the created subscription.
TopicId string
Topic ID.
TopicName string
Name of the topic.
UpdatedAt string
(String) Last updated time.
attributes EnSubscriptionCustomEmailAttributes

Subscription attributes.

Nested scheme for attributes:

description String
Subscription description.
destinationId String
Destination ID.
destinationName String
The Destintion name.
destinationType String
The type of Destination.
enSubscriptionCustomEmailId String
(String) The unique identifier of the custom_domain_email_subscription.
from String
From Email ID (it will be displayed only in case of smtp_ibm destination type).
instanceGuid String
Unique identifier for IBM Cloud Event Notifications instance.
name String
Subscription name.
subscriptionId String
(String) The unique identifier of the created subscription.
topicId String
Topic ID.
topicName String
Name of the topic.
updatedAt String
(String) Last updated time.
attributes EnSubscriptionCustomEmailAttributes

Subscription attributes.

Nested scheme for attributes:

description string
Subscription description.
destinationId string
Destination ID.
destinationName string
The Destintion name.
destinationType string
The type of Destination.
enSubscriptionCustomEmailId string
(String) The unique identifier of the custom_domain_email_subscription.
from string
From Email ID (it will be displayed only in case of smtp_ibm destination type).
instanceGuid string
Unique identifier for IBM Cloud Event Notifications instance.
name string
Subscription name.
subscriptionId string
(String) The unique identifier of the created subscription.
topicId string
Topic ID.
topicName string
Name of the topic.
updatedAt string
(String) Last updated time.
attributes EnSubscriptionCustomEmailAttributesArgs

Subscription attributes.

Nested scheme for attributes:

description str
Subscription description.
destination_id str
Destination ID.
destination_name str
The Destintion name.
destination_type str
The type of Destination.
en_subscription_custom_email_id str
(String) The unique identifier of the custom_domain_email_subscription.
from_ str
From Email ID (it will be displayed only in case of smtp_ibm destination type).
instance_guid str
Unique identifier for IBM Cloud Event Notifications instance.
name str
Subscription name.
subscription_id str
(String) The unique identifier of the created subscription.
topic_id str
Topic ID.
topic_name str
Name of the topic.
updated_at str
(String) Last updated time.
attributes Property Map

Subscription attributes.

Nested scheme for attributes:

description String
Subscription description.
destinationId String
Destination ID.
destinationName String
The Destintion name.
destinationType String
The type of Destination.
enSubscriptionCustomEmailId String
(String) The unique identifier of the custom_domain_email_subscription.
from String
From Email ID (it will be displayed only in case of smtp_ibm destination type).
instanceGuid String
Unique identifier for IBM Cloud Event Notifications instance.
name String
Subscription name.
subscriptionId String
(String) The unique identifier of the created subscription.
topicId String
Topic ID.
topicName String
Name of the topic.
updatedAt String
(String) Last updated time.

Supporting Types

EnSubscriptionCustomEmailAttributes
, EnSubscriptionCustomEmailAttributesArgs

AddNotificationPayload bool
Whether to add the notification payload to the email.
Adds List<string>
The Email address to add in case of updating the list of email addressses
FromEmail string
The email from where it is sourced
FromName string
The email address user from which email is addressed(Should belong to the custom domain).
Inviteds List<string>
The Email address to send the email to.
Removes List<string>
The email id to be removed in case of smtp_ibm destination type.
ReplyToMail string
The email address to reply to.
ReplyToName string
The Email User Name to reply to.
TemplateIdInvitation string
The templete id for invitation.
TemplateIdNotification string
The templete id for notification.
AddNotificationPayload bool
Whether to add the notification payload to the email.
Adds []string
The Email address to add in case of updating the list of email addressses
FromEmail string
The email from where it is sourced
FromName string
The email address user from which email is addressed(Should belong to the custom domain).
Inviteds []string
The Email address to send the email to.
Removes []string
The email id to be removed in case of smtp_ibm destination type.
ReplyToMail string
The email address to reply to.
ReplyToName string
The Email User Name to reply to.
TemplateIdInvitation string
The templete id for invitation.
TemplateIdNotification string
The templete id for notification.
addNotificationPayload Boolean
Whether to add the notification payload to the email.
adds List<String>
The Email address to add in case of updating the list of email addressses
fromEmail String
The email from where it is sourced
fromName String
The email address user from which email is addressed(Should belong to the custom domain).
inviteds List<String>
The Email address to send the email to.
removes List<String>
The email id to be removed in case of smtp_ibm destination type.
replyToMail String
The email address to reply to.
replyToName String
The Email User Name to reply to.
templateIdInvitation String
The templete id for invitation.
templateIdNotification String
The templete id for notification.
addNotificationPayload boolean
Whether to add the notification payload to the email.
adds string[]
The Email address to add in case of updating the list of email addressses
fromEmail string
The email from where it is sourced
fromName string
The email address user from which email is addressed(Should belong to the custom domain).
inviteds string[]
The Email address to send the email to.
removes string[]
The email id to be removed in case of smtp_ibm destination type.
replyToMail string
The email address to reply to.
replyToName string
The Email User Name to reply to.
templateIdInvitation string
The templete id for invitation.
templateIdNotification string
The templete id for notification.
add_notification_payload bool
Whether to add the notification payload to the email.
adds Sequence[str]
The Email address to add in case of updating the list of email addressses
from_email str
The email from where it is sourced
from_name str
The email address user from which email is addressed(Should belong to the custom domain).
inviteds Sequence[str]
The Email address to send the email to.
removes Sequence[str]
The email id to be removed in case of smtp_ibm destination type.
reply_to_mail str
The email address to reply to.
reply_to_name str
The Email User Name to reply to.
template_id_invitation str
The templete id for invitation.
template_id_notification str
The templete id for notification.
addNotificationPayload Boolean
Whether to add the notification payload to the email.
adds List<String>
The Email address to add in case of updating the list of email addressses
fromEmail String
The email from where it is sourced
fromName String
The email address user from which email is addressed(Should belong to the custom domain).
inviteds List<String>
The Email address to send the email to.
removes List<String>
The email id to be removed in case of smtp_ibm destination type.
replyToMail String
The email address to reply to.
replyToName String
The Email User Name to reply to.
templateIdInvitation String
The templete id for invitation.
templateIdNotification String
The templete id for notification.

Import

You can import the ibm_en_subscription_custom_email resource by using id.

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

<instance_guid>/<subscription_id>

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

  • subscription_id: A string. Unique identifier for Subscription.

Example

$ pulumi import ibm:index/enSubscriptionCustomEmail:EnSubscriptionCustomEmail custom_domain_email_en_subscription <instance_guid>/<subscription_id>
Copy

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

Package Details

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