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

ibm.EnSmtpConfiguration

Explore with Pulumi AI

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

    Create, update, and delete en_smtp_configurations with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const enSmtpConfigurationInstance = new ibm.EnSmtpConfiguration("enSmtpConfigurationInstance", {
        description: "SMTP Configuration",
        domain: "domain",
        instanceId: "instance_id",
        verificationType: "",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    en_smtp_configuration_instance = ibm.EnSmtpConfiguration("enSmtpConfigurationInstance",
        description="SMTP Configuration",
        domain="domain",
        instance_id="instance_id",
        verification_type="")
    
    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.NewEnSmtpConfiguration(ctx, "enSmtpConfigurationInstance", &ibm.EnSmtpConfigurationArgs{
    			Description:      pulumi.String("SMTP Configuration"),
    			Domain:           pulumi.String("domain"),
    			InstanceId:       pulumi.String("instance_id"),
    			VerificationType: pulumi.String(""),
    		})
    		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 enSmtpConfigurationInstance = new Ibm.EnSmtpConfiguration("enSmtpConfigurationInstance", new()
        {
            Description = "SMTP Configuration",
            Domain = "domain",
            InstanceId = "instance_id",
            VerificationType = "",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnSmtpConfiguration;
    import com.pulumi.ibm.EnSmtpConfigurationArgs;
    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 enSmtpConfigurationInstance = new EnSmtpConfiguration("enSmtpConfigurationInstance", EnSmtpConfigurationArgs.builder()
                .description("SMTP Configuration")
                .domain("domain")
                .instanceId("instance_id")
                .verificationType("")
                .build());
    
        }
    }
    
    resources:
      enSmtpConfigurationInstance:
        type: ibm:EnSmtpConfiguration
        properties:
          description: SMTP Configuration
          domain: domain
          instanceId: instance_id
          verificationType: ""
    

    NOTE:

    • To perform the verification for spf, dkim and en_authorization please follow the instructions here: https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-smtp-configurations#en-smtp-configurations-verify
    • verification_type is SMTP Configuration update parameter which can be used to verify the status of verfication depending on the type of verification.

    Create EnSmtpConfiguration Resource

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

    Constructor syntax

    new EnSmtpConfiguration(name: string, args: EnSmtpConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def EnSmtpConfiguration(resource_name: str,
                            args: EnSmtpConfigurationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnSmtpConfiguration(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            domain: Optional[str] = None,
                            instance_id: Optional[str] = None,
                            description: Optional[str] = None,
                            ibm_en_smtp_configuration_id: Optional[str] = None,
                            name: Optional[str] = None,
                            verification_type: Optional[str] = None)
    func NewEnSmtpConfiguration(ctx *Context, name string, args EnSmtpConfigurationArgs, opts ...ResourceOption) (*EnSmtpConfiguration, error)
    public EnSmtpConfiguration(string name, EnSmtpConfigurationArgs args, CustomResourceOptions? opts = null)
    public EnSmtpConfiguration(String name, EnSmtpConfigurationArgs args)
    public EnSmtpConfiguration(String name, EnSmtpConfigurationArgs args, CustomResourceOptions options)
    
    type: ibm:EnSmtpConfiguration
    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 EnSmtpConfigurationArgs
    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 EnSmtpConfigurationArgs
    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 EnSmtpConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnSmtpConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnSmtpConfigurationArgs
    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 enSmtpConfigurationResource = new Ibm.EnSmtpConfiguration("enSmtpConfigurationResource", new()
    {
        Domain = "string",
        InstanceId = "string",
        Description = "string",
        IbmEnSmtpConfigurationId = "string",
        Name = "string",
        VerificationType = "string",
    });
    
    example, err := ibm.NewEnSmtpConfiguration(ctx, "enSmtpConfigurationResource", &ibm.EnSmtpConfigurationArgs{
    	Domain:                   pulumi.String("string"),
    	InstanceId:               pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	IbmEnSmtpConfigurationId: pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    	VerificationType:         pulumi.String("string"),
    })
    
    var enSmtpConfigurationResource = new EnSmtpConfiguration("enSmtpConfigurationResource", EnSmtpConfigurationArgs.builder()
        .domain("string")
        .instanceId("string")
        .description("string")
        .ibmEnSmtpConfigurationId("string")
        .name("string")
        .verificationType("string")
        .build());
    
    en_smtp_configuration_resource = ibm.EnSmtpConfiguration("enSmtpConfigurationResource",
        domain="string",
        instance_id="string",
        description="string",
        ibm_en_smtp_configuration_id="string",
        name="string",
        verification_type="string")
    
    const enSmtpConfigurationResource = new ibm.EnSmtpConfiguration("enSmtpConfigurationResource", {
        domain: "string",
        instanceId: "string",
        description: "string",
        ibmEnSmtpConfigurationId: "string",
        name: "string",
        verificationType: "string",
    });
    
    type: ibm:EnSmtpConfiguration
    properties:
        description: string
        domain: string
        ibmEnSmtpConfigurationId: string
        instanceId: string
        name: string
        verificationType: string
    

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

    Domain string
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Description string
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    IbmEnSmtpConfigurationId string
    The unique identifier of the en_smtp_configuration.
    Name string
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    VerificationType string
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    Domain string
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Description string
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    IbmEnSmtpConfigurationId string
    The unique identifier of the en_smtp_configuration.
    Name string
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    VerificationType string
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    domain String
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description String
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    ibmEnSmtpConfigurationId String
    The unique identifier of the en_smtp_configuration.
    name String
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    verificationType String
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    domain string
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    instanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description string
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    ibmEnSmtpConfigurationId string
    The unique identifier of the en_smtp_configuration.
    name string
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    verificationType string
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    domain str
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    instance_id str
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description str
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    ibm_en_smtp_configuration_id str
    The unique identifier of the en_smtp_configuration.
    name str
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    verification_type str
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    domain String
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description String
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    ibmEnSmtpConfigurationId String
    The unique identifier of the en_smtp_configuration.
    name String
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    verificationType String
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.

    Outputs

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

    Configs List<EnSmtpConfigurationConfig>
    (List) Payload describing a SMTP configuration. Nested schema for config:
    EnSmtpConfigurationId string
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) Created time.
    Configs []EnSmtpConfigurationConfig
    (List) Payload describing a SMTP configuration. Nested schema for config:
    EnSmtpConfigurationId string
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) Created time.
    configs List<EnSmtpConfigurationConfig>
    (List) Payload describing a SMTP configuration. Nested schema for config:
    enSmtpConfigurationId String
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) Created time.
    configs EnSmtpConfigurationConfig[]
    (List) Payload describing a SMTP configuration. Nested schema for config:
    enSmtpConfigurationId string
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    (String) Created time.
    configs Sequence[EnSmtpConfigurationConfig]
    (List) Payload describing a SMTP configuration. Nested schema for config:
    en_smtp_configuration_id str
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    (String) Created time.
    configs List<Property Map>
    (List) Payload describing a SMTP configuration. Nested schema for config:
    enSmtpConfigurationId String
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) Created time.

    Look up Existing EnSmtpConfiguration Resource

    Get an existing EnSmtpConfiguration 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?: EnSmtpConfigurationState, opts?: CustomResourceOptions): EnSmtpConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configs: Optional[Sequence[EnSmtpConfigurationConfigArgs]] = None,
            description: Optional[str] = None,
            domain: Optional[str] = None,
            en_smtp_configuration_id: Optional[str] = None,
            ibm_en_smtp_configuration_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None,
            verification_type: Optional[str] = None) -> EnSmtpConfiguration
    func GetEnSmtpConfiguration(ctx *Context, name string, id IDInput, state *EnSmtpConfigurationState, opts ...ResourceOption) (*EnSmtpConfiguration, error)
    public static EnSmtpConfiguration Get(string name, Input<string> id, EnSmtpConfigurationState? state, CustomResourceOptions? opts = null)
    public static EnSmtpConfiguration get(String name, Output<String> id, EnSmtpConfigurationState state, CustomResourceOptions options)
    resources:  _:    type: ibm:EnSmtpConfiguration    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Configs List<EnSmtpConfigurationConfig>
    (List) Payload describing a SMTP configuration. Nested schema for config:
    Description string
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    Domain string
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    EnSmtpConfigurationId string
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    IbmEnSmtpConfigurationId string
    The unique identifier of the en_smtp_configuration.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Name string
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    UpdatedAt string
    (String) Created time.
    VerificationType string
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    Configs []EnSmtpConfigurationConfigArgs
    (List) Payload describing a SMTP configuration. Nested schema for config:
    Description string
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    Domain string
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    EnSmtpConfigurationId string
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    IbmEnSmtpConfigurationId string
    The unique identifier of the en_smtp_configuration.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Name string
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    UpdatedAt string
    (String) Created time.
    VerificationType string
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    configs List<EnSmtpConfigurationConfig>
    (List) Payload describing a SMTP configuration. Nested schema for config:
    description String
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain String
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    enSmtpConfigurationId String
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    ibmEnSmtpConfigurationId String
    The unique identifier of the en_smtp_configuration.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    name String
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    updatedAt String
    (String) Created time.
    verificationType String
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    configs EnSmtpConfigurationConfig[]
    (List) Payload describing a SMTP configuration. Nested schema for config:
    description string
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain string
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    enSmtpConfigurationId string
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    ibmEnSmtpConfigurationId string
    The unique identifier of the en_smtp_configuration.
    instanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    name string
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    updatedAt string
    (String) Created time.
    verificationType string
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    configs Sequence[EnSmtpConfigurationConfigArgs]
    (List) Payload describing a SMTP configuration. Nested schema for config:
    description str
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain str
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    en_smtp_configuration_id str
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    ibm_en_smtp_configuration_id str
    The unique identifier of the en_smtp_configuration.
    instance_id str
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    name str
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    updated_at str
    (String) Created time.
    verification_type str
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
    configs List<Property Map>
    (List) Payload describing a SMTP configuration. Nested schema for config:
    description String
    SMTP description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain String
    Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    enSmtpConfigurationId String
    (String) SMTP ID.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    ibmEnSmtpConfigurationId String
    The unique identifier of the en_smtp_configuration.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    name String
    SMTP name.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    updatedAt String
    (String) Created time.
    verificationType String
    The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.

    Supporting Types

    EnSmtpConfigurationConfig, EnSmtpConfigurationConfigArgs

    Dkims List<EnSmtpConfigurationConfigDkim>
    (List) The DKIM attributes. Nested schema for dkim:
    EnAuthorizations List<EnSmtpConfigurationConfigEnAuthorization>
    (List) The en_authorization attributes. Nested schema for en_authorization:
    Spfs List<EnSmtpConfigurationConfigSpf>
    (List) The SPF attributes. Nested schema for spf:
    Dkims []EnSmtpConfigurationConfigDkim
    (List) The DKIM attributes. Nested schema for dkim:
    EnAuthorizations []EnSmtpConfigurationConfigEnAuthorization
    (List) The en_authorization attributes. Nested schema for en_authorization:
    Spfs []EnSmtpConfigurationConfigSpf
    (List) The SPF attributes. Nested schema for spf:
    dkims List<EnSmtpConfigurationConfigDkim>
    (List) The DKIM attributes. Nested schema for dkim:
    enAuthorizations List<EnSmtpConfigurationConfigEnAuthorization>
    (List) The en_authorization attributes. Nested schema for en_authorization:
    spfs List<EnSmtpConfigurationConfigSpf>
    (List) The SPF attributes. Nested schema for spf:
    dkims EnSmtpConfigurationConfigDkim[]
    (List) The DKIM attributes. Nested schema for dkim:
    enAuthorizations EnSmtpConfigurationConfigEnAuthorization[]
    (List) The en_authorization attributes. Nested schema for en_authorization:
    spfs EnSmtpConfigurationConfigSpf[]
    (List) The SPF attributes. Nested schema for spf:
    dkims Sequence[EnSmtpConfigurationConfigDkim]
    (List) The DKIM attributes. Nested schema for dkim:
    en_authorizations Sequence[EnSmtpConfigurationConfigEnAuthorization]
    (List) The en_authorization attributes. Nested schema for en_authorization:
    spfs Sequence[EnSmtpConfigurationConfigSpf]
    (List) The SPF attributes. Nested schema for spf:
    dkims List<Property Map>
    (List) The DKIM attributes. Nested schema for dkim:
    enAuthorizations List<Property Map>
    (List) The en_authorization attributes. Nested schema for en_authorization:
    spfs List<Property Map>
    (List) The SPF attributes. Nested schema for spf:

    EnSmtpConfigurationConfigDkim, EnSmtpConfigurationConfigDkimArgs

    TxtName string
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    TxtValue string
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    TxtName string
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    TxtValue string
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtName String
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtValue String
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification String
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtName string
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtValue string
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txt_name str
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txt_value str
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification str
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtName String
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtValue String
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification String
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.

    EnSmtpConfigurationConfigEnAuthorization, EnSmtpConfigurationConfigEnAuthorizationArgs

    Verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification String
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification str
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification String
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.

    EnSmtpConfigurationConfigSpf, EnSmtpConfigurationConfigSpfArgs

    TxtName string
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    TxtValue string
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    TxtName string
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    TxtValue string
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtName String
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtValue String
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification String
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtName string
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtValue string
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification string
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txt_name str
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txt_value str
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification str
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtName String
    (String) spf text name.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    txtValue String
    (String) spf text value.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    verification String
    (String) spf verification.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /.*/.

    Import

    You can import the ibm_en_smtp_configuration resource by using id.

    The id property can be formed from instance_id, and en_smtp_configuration_id in the following format:

    
    <instance_id>/<en_smtp_configuration_id>
    
    
    • instance_id: A string. Unique identifier for IBM Cloud Event Notifications instance.

    • en_smtp_configuration_id: A string. SMTP ID.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/enSmtpConfiguration:EnSmtpConfiguration en_smtp_configuration /
    ```
    
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud