1. Packages
  2. Scaleway
  3. API Docs
  4. TemDomain
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.TemDomain

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Creates and manages Scaleway Transactional Email Domains. For more information see the documentation.

    Examples

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const main = new scaleway.TemDomain("main", {acceptTos: true});
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    main = scaleway.TemDomain("main", accept_tos=True)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new Scaleway.TemDomain("main", new()
        {
            AcceptTos = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scaleway.NewTemDomain(ctx, "main", &scaleway.TemDomainArgs{
    			AcceptTos: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.TemDomain;
    import com.pulumi.scaleway.TemDomainArgs;
    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 main = new TemDomain("main", TemDomainArgs.builder()        
                .acceptTos(true)
                .build());
    
        }
    }
    
    resources:
      main:
        type: scaleway:TemDomain
        properties:
          acceptTos: true
    

    Add the required records to your DNS zone

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const config = new pulumi.Config();
    const domainName = config.require("domainName");
    const main = new scaleway.TemDomain("main", {acceptTos: true});
    const spf = new scaleway.DomainRecord("spf", {
        dnsZone: domainName,
        type: "TXT",
        data: pulumi.interpolate`v=spf1 ${main.spfConfig} -all`,
    });
    const dkim = new scaleway.DomainRecord("dkim", {
        dnsZone: domainName,
        type: "TXT",
        data: main.dkimConfig,
    });
    const mx = new scaleway.DomainRecord("mx", {
        dnsZone: domainName,
        type: "MX",
        data: ".",
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    config = pulumi.Config()
    domain_name = config.require("domainName")
    main = scaleway.TemDomain("main", accept_tos=True)
    spf = scaleway.DomainRecord("spf",
        dns_zone=domain_name,
        type="TXT",
        data=main.spf_config.apply(lambda spf_config: f"v=spf1 {spf_config} -all"))
    dkim = scaleway.DomainRecord("dkim",
        dns_zone=domain_name,
        type="TXT",
        data=main.dkim_config)
    mx = scaleway.DomainRecord("mx",
        dns_zone=domain_name,
        type="MX",
        data=".")
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var domainName = config.Require("domainName");
        var main = new Scaleway.TemDomain("main", new()
        {
            AcceptTos = true,
        });
    
        var spf = new Scaleway.DomainRecord("spf", new()
        {
            DnsZone = domainName,
            Type = "TXT",
            Data = main.SpfConfig.Apply(spfConfig => $"v=spf1 {spfConfig} -all"),
        });
    
        var dkim = new Scaleway.DomainRecord("dkim", new()
        {
            DnsZone = domainName,
            Type = "TXT",
            Data = main.DkimConfig,
        });
    
        var mx = new Scaleway.DomainRecord("mx", new()
        {
            DnsZone = domainName,
            Type = "MX",
            Data = ".",
        });
    
    });
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		domainName := cfg.Require("domainName")
    		main, err := scaleway.NewTemDomain(ctx, "main", &scaleway.TemDomainArgs{
    			AcceptTos: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewDomainRecord(ctx, "spf", &scaleway.DomainRecordArgs{
    			DnsZone: pulumi.String(domainName),
    			Type:    pulumi.String("TXT"),
    			Data: main.SpfConfig.ApplyT(func(spfConfig string) (string, error) {
    				return fmt.Sprintf("v=spf1 %v -all", spfConfig), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewDomainRecord(ctx, "dkim", &scaleway.DomainRecordArgs{
    			DnsZone: pulumi.String(domainName),
    			Type:    pulumi.String("TXT"),
    			Data:    main.DkimConfig,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewDomainRecord(ctx, "mx", &scaleway.DomainRecordArgs{
    			DnsZone: pulumi.String(domainName),
    			Type:    pulumi.String("MX"),
    			Data:    pulumi.String("."),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.TemDomain;
    import com.pulumi.scaleway.TemDomainArgs;
    import com.pulumi.scaleway.DomainRecord;
    import com.pulumi.scaleway.DomainRecordArgs;
    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) {
            final var config = ctx.config();
            final var domainName = config.get("domainName");
            var main = new TemDomain("main", TemDomainArgs.builder()        
                .acceptTos(true)
                .build());
    
            var spf = new DomainRecord("spf", DomainRecordArgs.builder()        
                .dnsZone(domainName)
                .type("TXT")
                .data(main.spfConfig().applyValue(spfConfig -> String.format("v=spf1 %s -all", spfConfig)))
                .build());
    
            var dkim = new DomainRecord("dkim", DomainRecordArgs.builder()        
                .dnsZone(domainName)
                .type("TXT")
                .data(main.dkimConfig())
                .build());
    
            var mx = new DomainRecord("mx", DomainRecordArgs.builder()        
                .dnsZone(domainName)
                .type("MX")
                .data(".")
                .build());
    
        }
    }
    
    configuration:
      domainName:
        type: string
    resources:
      main:
        type: scaleway:TemDomain
        properties:
          acceptTos: true
      spf:
        type: scaleway:DomainRecord
        properties:
          dnsZone: ${domainName}
          type: TXT
          data: v=spf1 ${main.spfConfig} -all
      dkim:
        type: scaleway:DomainRecord
        properties:
          dnsZone: ${domainName}
          type: TXT
          data: ${main.dkimConfig}
      mx:
        type: scaleway:DomainRecord
        properties:
          dnsZone: ${domainName}
          type: MX
          data: .
    

    Create TemDomain Resource

    new TemDomain(name: string, args: TemDomainArgs, opts?: CustomResourceOptions);
    @overload
    def TemDomain(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  accept_tos: Optional[bool] = None,
                  name: Optional[str] = None,
                  project_id: Optional[str] = None,
                  region: Optional[str] = None)
    @overload
    def TemDomain(resource_name: str,
                  args: TemDomainArgs,
                  opts: Optional[ResourceOptions] = None)
    func NewTemDomain(ctx *Context, name string, args TemDomainArgs, opts ...ResourceOption) (*TemDomain, error)
    public TemDomain(string name, TemDomainArgs args, CustomResourceOptions? opts = null)
    public TemDomain(String name, TemDomainArgs args)
    public TemDomain(String name, TemDomainArgs args, CustomResourceOptions options)
    
    type: scaleway:TemDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args TemDomainArgs
    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 TemDomainArgs
    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 TemDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TemDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TemDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TemDomain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TemDomain resource accepts the following input properties:

    AcceptTos bool

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    Name string

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    ProjectId string

    project_id) The ID of the project the domain is associated with.

    Region string

    region). The region in which the domain should be created.

    AcceptTos bool

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    Name string

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    ProjectId string

    project_id) The ID of the project the domain is associated with.

    Region string

    region). The region in which the domain should be created.

    acceptTos Boolean

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    name String

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    projectId String

    project_id) The ID of the project the domain is associated with.

    region String

    region). The region in which the domain should be created.

    acceptTos boolean

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    name string

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    projectId string

    project_id) The ID of the project the domain is associated with.

    region string

    region). The region in which the domain should be created.

    accept_tos bool

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    name str

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    project_id str

    project_id) The ID of the project the domain is associated with.

    region str

    region). The region in which the domain should be created.

    acceptTos Boolean

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    name String

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    projectId String

    project_id) The ID of the project the domain is associated with.

    region String

    region). The region in which the domain should be created.

    Outputs

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

    CreatedAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    DkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    Id string

    The provider-assigned unique ID for this managed resource.

    LastError string

    The error message if the last check failed.

    LastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    NextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    RevokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    SmtpHost string

    SMTP host to use to send emails

    SmtpPort int

    SMTP port to use to send emails over TLS. (Port 587)

    SmtpPortAlternative int

    SMTP port to use to send emails over TLS. (Port 2587)

    SmtpPortUnsecure int

    SMTP port to use to send emails. (Port 25)

    SmtpsPort int

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    SmtpsPortAlternative int

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    SpfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    Status string

    The status of the Transaction Email Domain.

    CreatedAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    DkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    Id string

    The provider-assigned unique ID for this managed resource.

    LastError string

    The error message if the last check failed.

    LastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    NextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    RevokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    SmtpHost string

    SMTP host to use to send emails

    SmtpPort int

    SMTP port to use to send emails over TLS. (Port 587)

    SmtpPortAlternative int

    SMTP port to use to send emails over TLS. (Port 2587)

    SmtpPortUnsecure int

    SMTP port to use to send emails. (Port 25)

    SmtpsPort int

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    SmtpsPortAlternative int

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    SpfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    Status string

    The status of the Transaction Email Domain.

    createdAt String

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig String

    The DKIM public key, as should be recorded in the DNS zone.

    id String

    The provider-assigned unique ID for this managed resource.

    lastError String

    The error message if the last check failed.

    lastValidAt String

    The date and time the domain was last found to be valid (RFC 3339 format).

    nextCheckAt String

    The date and time of the next scheduled check (RFC 3339 format).

    revokedAt String

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost String

    SMTP host to use to send emails

    smtpPort Integer

    SMTP port to use to send emails over TLS. (Port 587)

    smtpPortAlternative Integer

    SMTP port to use to send emails over TLS. (Port 2587)

    smtpPortUnsecure Integer

    SMTP port to use to send emails. (Port 25)

    smtpsPort Integer

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtpsPortAlternative Integer

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spfConfig String

    The snippet of the SPF record that should be registered in the DNS zone.

    status String

    The status of the Transaction Email Domain.

    createdAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    id string

    The provider-assigned unique ID for this managed resource.

    lastError string

    The error message if the last check failed.

    lastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    nextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    revokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost string

    SMTP host to use to send emails

    smtpPort number

    SMTP port to use to send emails over TLS. (Port 587)

    smtpPortAlternative number

    SMTP port to use to send emails over TLS. (Port 2587)

    smtpPortUnsecure number

    SMTP port to use to send emails. (Port 25)

    smtpsPort number

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtpsPortAlternative number

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    status string

    The status of the Transaction Email Domain.

    created_at str

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkim_config str

    The DKIM public key, as should be recorded in the DNS zone.

    id str

    The provider-assigned unique ID for this managed resource.

    last_error str

    The error message if the last check failed.

    last_valid_at str

    The date and time the domain was last found to be valid (RFC 3339 format).

    next_check_at str

    The date and time of the next scheduled check (RFC 3339 format).

    revoked_at str

    The date and time of the revocation of the domain (RFC 3339 format).

    smtp_host str

    SMTP host to use to send emails

    smtp_port int

    SMTP port to use to send emails over TLS. (Port 587)

    smtp_port_alternative int

    SMTP port to use to send emails over TLS. (Port 2587)

    smtp_port_unsecure int

    SMTP port to use to send emails. (Port 25)

    smtps_port int

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtps_port_alternative int

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spf_config str

    The snippet of the SPF record that should be registered in the DNS zone.

    status str

    The status of the Transaction Email Domain.

    createdAt String

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig String

    The DKIM public key, as should be recorded in the DNS zone.

    id String

    The provider-assigned unique ID for this managed resource.

    lastError String

    The error message if the last check failed.

    lastValidAt String

    The date and time the domain was last found to be valid (RFC 3339 format).

    nextCheckAt String

    The date and time of the next scheduled check (RFC 3339 format).

    revokedAt String

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost String

    SMTP host to use to send emails

    smtpPort Number

    SMTP port to use to send emails over TLS. (Port 587)

    smtpPortAlternative Number

    SMTP port to use to send emails over TLS. (Port 2587)

    smtpPortUnsecure Number

    SMTP port to use to send emails. (Port 25)

    smtpsPort Number

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtpsPortAlternative Number

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spfConfig String

    The snippet of the SPF record that should be registered in the DNS zone.

    status String

    The status of the Transaction Email Domain.

    Look up Existing TemDomain Resource

    Get an existing TemDomain 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?: TemDomainState, opts?: CustomResourceOptions): TemDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accept_tos: Optional[bool] = None,
            created_at: Optional[str] = None,
            dkim_config: Optional[str] = None,
            last_error: Optional[str] = None,
            last_valid_at: Optional[str] = None,
            name: Optional[str] = None,
            next_check_at: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            revoked_at: Optional[str] = None,
            smtp_host: Optional[str] = None,
            smtp_port: Optional[int] = None,
            smtp_port_alternative: Optional[int] = None,
            smtp_port_unsecure: Optional[int] = None,
            smtps_port: Optional[int] = None,
            smtps_port_alternative: Optional[int] = None,
            spf_config: Optional[str] = None,
            status: Optional[str] = None) -> TemDomain
    func GetTemDomain(ctx *Context, name string, id IDInput, state *TemDomainState, opts ...ResourceOption) (*TemDomain, error)
    public static TemDomain Get(string name, Input<string> id, TemDomainState? state, CustomResourceOptions? opts = null)
    public static TemDomain get(String name, Output<String> id, TemDomainState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AcceptTos bool

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    CreatedAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    DkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    LastError string

    The error message if the last check failed.

    LastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    Name string

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    NextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    ProjectId string

    project_id) The ID of the project the domain is associated with.

    Region string

    region). The region in which the domain should be created.

    RevokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    SmtpHost string

    SMTP host to use to send emails

    SmtpPort int

    SMTP port to use to send emails over TLS. (Port 587)

    SmtpPortAlternative int

    SMTP port to use to send emails over TLS. (Port 2587)

    SmtpPortUnsecure int

    SMTP port to use to send emails. (Port 25)

    SmtpsPort int

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    SmtpsPortAlternative int

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    SpfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    Status string

    The status of the Transaction Email Domain.

    AcceptTos bool

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    CreatedAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    DkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    LastError string

    The error message if the last check failed.

    LastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    Name string

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    NextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    ProjectId string

    project_id) The ID of the project the domain is associated with.

    Region string

    region). The region in which the domain should be created.

    RevokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    SmtpHost string

    SMTP host to use to send emails

    SmtpPort int

    SMTP port to use to send emails over TLS. (Port 587)

    SmtpPortAlternative int

    SMTP port to use to send emails over TLS. (Port 2587)

    SmtpPortUnsecure int

    SMTP port to use to send emails. (Port 25)

    SmtpsPort int

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    SmtpsPortAlternative int

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    SpfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    Status string

    The status of the Transaction Email Domain.

    acceptTos Boolean

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    createdAt String

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig String

    The DKIM public key, as should be recorded in the DNS zone.

    lastError String

    The error message if the last check failed.

    lastValidAt String

    The date and time the domain was last found to be valid (RFC 3339 format).

    name String

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    nextCheckAt String

    The date and time of the next scheduled check (RFC 3339 format).

    projectId String

    project_id) The ID of the project the domain is associated with.

    region String

    region). The region in which the domain should be created.

    revokedAt String

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost String

    SMTP host to use to send emails

    smtpPort Integer

    SMTP port to use to send emails over TLS. (Port 587)

    smtpPortAlternative Integer

    SMTP port to use to send emails over TLS. (Port 2587)

    smtpPortUnsecure Integer

    SMTP port to use to send emails. (Port 25)

    smtpsPort Integer

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtpsPortAlternative Integer

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spfConfig String

    The snippet of the SPF record that should be registered in the DNS zone.

    status String

    The status of the Transaction Email Domain.

    acceptTos boolean

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    createdAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    lastError string

    The error message if the last check failed.

    lastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    name string

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    nextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    projectId string

    project_id) The ID of the project the domain is associated with.

    region string

    region). The region in which the domain should be created.

    revokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost string

    SMTP host to use to send emails

    smtpPort number

    SMTP port to use to send emails over TLS. (Port 587)

    smtpPortAlternative number

    SMTP port to use to send emails over TLS. (Port 2587)

    smtpPortUnsecure number

    SMTP port to use to send emails. (Port 25)

    smtpsPort number

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtpsPortAlternative number

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    status string

    The status of the Transaction Email Domain.

    accept_tos bool

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    created_at str

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkim_config str

    The DKIM public key, as should be recorded in the DNS zone.

    last_error str

    The error message if the last check failed.

    last_valid_at str

    The date and time the domain was last found to be valid (RFC 3339 format).

    name str

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    next_check_at str

    The date and time of the next scheduled check (RFC 3339 format).

    project_id str

    project_id) The ID of the project the domain is associated with.

    region str

    region). The region in which the domain should be created.

    revoked_at str

    The date and time of the revocation of the domain (RFC 3339 format).

    smtp_host str

    SMTP host to use to send emails

    smtp_port int

    SMTP port to use to send emails over TLS. (Port 587)

    smtp_port_alternative int

    SMTP port to use to send emails over TLS. (Port 2587)

    smtp_port_unsecure int

    SMTP port to use to send emails. (Port 25)

    smtps_port int

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtps_port_alternative int

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spf_config str

    The snippet of the SPF record that should be registered in the DNS zone.

    status str

    The status of the Transaction Email Domain.

    acceptTos Boolean

    Acceptation of the Term of Service.

    Important: This attribute must be set to true.

    createdAt String

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig String

    The DKIM public key, as should be recorded in the DNS zone.

    lastError String

    The error message if the last check failed.

    lastValidAt String

    The date and time the domain was last found to be valid (RFC 3339 format).

    name String

    The domain name, must not be used in another Transactional Email Domain.

    Important: Updates to name will recreate the domain.

    nextCheckAt String

    The date and time of the next scheduled check (RFC 3339 format).

    projectId String

    project_id) The ID of the project the domain is associated with.

    region String

    region). The region in which the domain should be created.

    revokedAt String

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost String

    SMTP host to use to send emails

    smtpPort Number

    SMTP port to use to send emails over TLS. (Port 587)

    smtpPortAlternative Number

    SMTP port to use to send emails over TLS. (Port 2587)

    smtpPortUnsecure Number

    SMTP port to use to send emails. (Port 25)

    smtpsPort Number

    SMTPS port to use to send emails over TLS Wrapper. (Port 465)

    smtpsPortAlternative Number

    SMTPS port to use to send emails over TLS Wrapper. (Port 2465)

    spfConfig String

    The snippet of the SPF record that should be registered in the DNS zone.

    status String

    The status of the Transaction Email Domain.

    Import

    Domains can be imported using the {region}/{id}, e.g. bash

     $ pulumi import scaleway:index/temDomain:TemDomain main fr-par/11111111-1111-1111-1111-111111111111
    

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs