1. Packages
  2. Scaleway
  3. API Docs
  4. TemDomain
Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse

scaleway.TemDomain

Explore with Pulumi AI

scaleway logo
Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse

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

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = new scaleway.TemDomain("main", {acceptTos: true});
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    main = scaleway.TemDomain("main", accept_tos=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new Scaleway.TemDomain("main", new()
        {
            AcceptTos = true,
        });
    
    });
    
    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 "@pulumiverse/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 pulumiverse_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=".")
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.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 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

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

    Constructor syntax

    new TemDomain(name: string, args: TemDomainArgs, opts?: CustomResourceOptions);
    @overload
    def TemDomain(resource_name: str,
                  args: TemDomainArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var temDomainResource = new Scaleway.TemDomain("temDomainResource", new()
    {
        AcceptTos = false,
        Name = "string",
        ProjectId = "string",
        Region = "string",
    });
    
    example, err := scaleway.NewTemDomain(ctx, "temDomainResource", &scaleway.TemDomainArgs{
    	AcceptTos: pulumi.Bool(false),
    	Name:      pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	Region:    pulumi.String("string"),
    })
    
    var temDomainResource = new TemDomain("temDomainResource", TemDomainArgs.builder()        
        .acceptTos(false)
        .name("string")
        .projectId("string")
        .region("string")
        .build());
    
    tem_domain_resource = scaleway.TemDomain("temDomainResource",
        accept_tos=False,
        name="string",
        project_id="string",
        region="string")
    
    const temDomainResource = new scaleway.TemDomain("temDomainResource", {
        acceptTos: false,
        name: "string",
        projectId: "string",
        region: "string",
    });
    
    type: scaleway:TemDomain
    properties:
        acceptTos: false
        name: string
        projectId: string
        region: string
    

    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).
    MxBlackhole string
    The Scaleway's blackhole MX server to use if you do not have one.
    NextCheckAt string
    The date and time of the next scheduled check (RFC 3339 format).
    Reputations List<Pulumiverse.Scaleway.Outputs.TemDomainReputation>
    The domain's reputation.
    RevokedAt string
    The date and time of the revocation of the domain (RFC 3339 format).
    SmtpHost string
    The SMTP host to use to send emails.
    SmtpPort int
    The SMTP port to use to send emails over TLS.
    SmtpPortAlternative int
    The SMTP port to use to send emails over TLS.
    SmtpPortUnsecure int
    The SMTP port to use to send emails.
    SmtpsAuthUser string
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    SmtpsPort int
    The SMTPS port to use to send emails over TLS Wrapper.
    SmtpsPortAlternative int
    The SMTPS port to use to send emails over TLS Wrapper.
    SpfConfig string
    The snippet of the SPF record that should be registered in the DNS zone.
    Status string
    The status of the domain's reputation.
    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).
    MxBlackhole string
    The Scaleway's blackhole MX server to use if you do not have one.
    NextCheckAt string
    The date and time of the next scheduled check (RFC 3339 format).
    Reputations []TemDomainReputation
    The domain's reputation.
    RevokedAt string
    The date and time of the revocation of the domain (RFC 3339 format).
    SmtpHost string
    The SMTP host to use to send emails.
    SmtpPort int
    The SMTP port to use to send emails over TLS.
    SmtpPortAlternative int
    The SMTP port to use to send emails over TLS.
    SmtpPortUnsecure int
    The SMTP port to use to send emails.
    SmtpsAuthUser string
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    SmtpsPort int
    The SMTPS port to use to send emails over TLS Wrapper.
    SmtpsPortAlternative int
    The SMTPS port to use to send emails over TLS Wrapper.
    SpfConfig string
    The snippet of the SPF record that should be registered in the DNS zone.
    Status string
    The status of the domain's reputation.
    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).
    mxBlackhole String
    The Scaleway's blackhole MX server to use if you do not have one.
    nextCheckAt String
    The date and time of the next scheduled check (RFC 3339 format).
    reputations List<TemDomainReputation>
    The domain's reputation.
    revokedAt String
    The date and time of the revocation of the domain (RFC 3339 format).
    smtpHost String
    The SMTP host to use to send emails.
    smtpPort Integer
    The SMTP port to use to send emails over TLS.
    smtpPortAlternative Integer
    The SMTP port to use to send emails over TLS.
    smtpPortUnsecure Integer
    The SMTP port to use to send emails.
    smtpsAuthUser String
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtpsPort Integer
    The SMTPS port to use to send emails over TLS Wrapper.
    smtpsPortAlternative Integer
    The SMTPS port to use to send emails over TLS Wrapper.
    spfConfig String
    The snippet of the SPF record that should be registered in the DNS zone.
    status String
    The status of the domain's reputation.
    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).
    mxBlackhole string
    The Scaleway's blackhole MX server to use if you do not have one.
    nextCheckAt string
    The date and time of the next scheduled check (RFC 3339 format).
    reputations TemDomainReputation[]
    The domain's reputation.
    revokedAt string
    The date and time of the revocation of the domain (RFC 3339 format).
    smtpHost string
    The SMTP host to use to send emails.
    smtpPort number
    The SMTP port to use to send emails over TLS.
    smtpPortAlternative number
    The SMTP port to use to send emails over TLS.
    smtpPortUnsecure number
    The SMTP port to use to send emails.
    smtpsAuthUser string
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtpsPort number
    The SMTPS port to use to send emails over TLS Wrapper.
    smtpsPortAlternative number
    The SMTPS port to use to send emails over TLS Wrapper.
    spfConfig string
    The snippet of the SPF record that should be registered in the DNS zone.
    status string
    The status of the domain's reputation.
    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).
    mx_blackhole str
    The Scaleway's blackhole MX server to use if you do not have one.
    next_check_at str
    The date and time of the next scheduled check (RFC 3339 format).
    reputations Sequence[TemDomainReputation]
    The domain's reputation.
    revoked_at str
    The date and time of the revocation of the domain (RFC 3339 format).
    smtp_host str
    The SMTP host to use to send emails.
    smtp_port int
    The SMTP port to use to send emails over TLS.
    smtp_port_alternative int
    The SMTP port to use to send emails over TLS.
    smtp_port_unsecure int
    The SMTP port to use to send emails.
    smtps_auth_user str
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtps_port int
    The SMTPS port to use to send emails over TLS Wrapper.
    smtps_port_alternative int
    The SMTPS port to use to send emails over TLS Wrapper.
    spf_config str
    The snippet of the SPF record that should be registered in the DNS zone.
    status str
    The status of the domain's reputation.
    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).
    mxBlackhole String
    The Scaleway's blackhole MX server to use if you do not have one.
    nextCheckAt String
    The date and time of the next scheduled check (RFC 3339 format).
    reputations List<Property Map>
    The domain's reputation.
    revokedAt String
    The date and time of the revocation of the domain (RFC 3339 format).
    smtpHost String
    The SMTP host to use to send emails.
    smtpPort Number
    The SMTP port to use to send emails over TLS.
    smtpPortAlternative Number
    The SMTP port to use to send emails over TLS.
    smtpPortUnsecure Number
    The SMTP port to use to send emails.
    smtpsAuthUser String
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtpsPort Number
    The SMTPS port to use to send emails over TLS Wrapper.
    smtpsPortAlternative Number
    The SMTPS port to use to send emails over TLS Wrapper.
    spfConfig String
    The snippet of the SPF record that should be registered in the DNS zone.
    status String
    The status of the domain's reputation.

    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,
            mx_blackhole: Optional[str] = None,
            name: Optional[str] = None,
            next_check_at: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            reputations: Optional[Sequence[TemDomainReputationArgs]] = 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_auth_user: Optional[str] = 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).
    MxBlackhole string
    The Scaleway's blackhole MX server to use if you do not have one.
    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.
    Reputations List<Pulumiverse.Scaleway.Inputs.TemDomainReputation>
    The domain's reputation.
    RevokedAt string
    The date and time of the revocation of the domain (RFC 3339 format).
    SmtpHost string
    The SMTP host to use to send emails.
    SmtpPort int
    The SMTP port to use to send emails over TLS.
    SmtpPortAlternative int
    The SMTP port to use to send emails over TLS.
    SmtpPortUnsecure int
    The SMTP port to use to send emails.
    SmtpsAuthUser string
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    SmtpsPort int
    The SMTPS port to use to send emails over TLS Wrapper.
    SmtpsPortAlternative int
    The SMTPS port to use to send emails over TLS Wrapper.
    SpfConfig string
    The snippet of the SPF record that should be registered in the DNS zone.
    Status string
    The status of the domain's reputation.
    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).
    MxBlackhole string
    The Scaleway's blackhole MX server to use if you do not have one.
    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.
    Reputations []TemDomainReputationArgs
    The domain's reputation.
    RevokedAt string
    The date and time of the revocation of the domain (RFC 3339 format).
    SmtpHost string
    The SMTP host to use to send emails.
    SmtpPort int
    The SMTP port to use to send emails over TLS.
    SmtpPortAlternative int
    The SMTP port to use to send emails over TLS.
    SmtpPortUnsecure int
    The SMTP port to use to send emails.
    SmtpsAuthUser string
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    SmtpsPort int
    The SMTPS port to use to send emails over TLS Wrapper.
    SmtpsPortAlternative int
    The SMTPS port to use to send emails over TLS Wrapper.
    SpfConfig string
    The snippet of the SPF record that should be registered in the DNS zone.
    Status string
    The status of the domain's reputation.
    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).
    mxBlackhole String
    The Scaleway's blackhole MX server to use if you do not have one.
    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.
    reputations List<TemDomainReputation>
    The domain's reputation.
    revokedAt String
    The date and time of the revocation of the domain (RFC 3339 format).
    smtpHost String
    The SMTP host to use to send emails.
    smtpPort Integer
    The SMTP port to use to send emails over TLS.
    smtpPortAlternative Integer
    The SMTP port to use to send emails over TLS.
    smtpPortUnsecure Integer
    The SMTP port to use to send emails.
    smtpsAuthUser String
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtpsPort Integer
    The SMTPS port to use to send emails over TLS Wrapper.
    smtpsPortAlternative Integer
    The SMTPS port to use to send emails over TLS Wrapper.
    spfConfig String
    The snippet of the SPF record that should be registered in the DNS zone.
    status String
    The status of the domain's reputation.
    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).
    mxBlackhole string
    The Scaleway's blackhole MX server to use if you do not have one.
    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.
    reputations TemDomainReputation[]
    The domain's reputation.
    revokedAt string
    The date and time of the revocation of the domain (RFC 3339 format).
    smtpHost string
    The SMTP host to use to send emails.
    smtpPort number
    The SMTP port to use to send emails over TLS.
    smtpPortAlternative number
    The SMTP port to use to send emails over TLS.
    smtpPortUnsecure number
    The SMTP port to use to send emails.
    smtpsAuthUser string
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtpsPort number
    The SMTPS port to use to send emails over TLS Wrapper.
    smtpsPortAlternative number
    The SMTPS port to use to send emails over TLS Wrapper.
    spfConfig string
    The snippet of the SPF record that should be registered in the DNS zone.
    status string
    The status of the domain's reputation.
    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).
    mx_blackhole str
    The Scaleway's blackhole MX server to use if you do not have one.
    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.
    reputations Sequence[TemDomainReputationArgs]
    The domain's reputation.
    revoked_at str
    The date and time of the revocation of the domain (RFC 3339 format).
    smtp_host str
    The SMTP host to use to send emails.
    smtp_port int
    The SMTP port to use to send emails over TLS.
    smtp_port_alternative int
    The SMTP port to use to send emails over TLS.
    smtp_port_unsecure int
    The SMTP port to use to send emails.
    smtps_auth_user str
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtps_port int
    The SMTPS port to use to send emails over TLS Wrapper.
    smtps_port_alternative int
    The SMTPS port to use to send emails over TLS Wrapper.
    spf_config str
    The snippet of the SPF record that should be registered in the DNS zone.
    status str
    The status of the domain's reputation.
    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).
    mxBlackhole String
    The Scaleway's blackhole MX server to use if you do not have one.
    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.
    reputations List<Property Map>
    The domain's reputation.
    revokedAt String
    The date and time of the revocation of the domain (RFC 3339 format).
    smtpHost String
    The SMTP host to use to send emails.
    smtpPort Number
    The SMTP port to use to send emails over TLS.
    smtpPortAlternative Number
    The SMTP port to use to send emails over TLS.
    smtpPortUnsecure Number
    The SMTP port to use to send emails.
    smtpsAuthUser String
    SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
    smtpsPort Number
    The SMTPS port to use to send emails over TLS Wrapper.
    smtpsPortAlternative Number
    The SMTPS port to use to send emails over TLS Wrapper.
    spfConfig String
    The snippet of the SPF record that should be registered in the DNS zone.
    status String
    The status of the domain's reputation.

    Supporting Types

    TemDomainReputation, TemDomainReputationArgs

    PreviousScore int
    The previously-calculated domain's reputation score.
    PreviousScoredAt string
    The time and date the previous reputation score was calculated.
    Score int
    A range from 0 to 100 that determines your domain's reputation score.
    ScoredAt string
    The time and date the score was calculated.
    Status string
    The status of the domain's reputation.
    PreviousScore int
    The previously-calculated domain's reputation score.
    PreviousScoredAt string
    The time and date the previous reputation score was calculated.
    Score int
    A range from 0 to 100 that determines your domain's reputation score.
    ScoredAt string
    The time and date the score was calculated.
    Status string
    The status of the domain's reputation.
    previousScore Integer
    The previously-calculated domain's reputation score.
    previousScoredAt String
    The time and date the previous reputation score was calculated.
    score Integer
    A range from 0 to 100 that determines your domain's reputation score.
    scoredAt String
    The time and date the score was calculated.
    status String
    The status of the domain's reputation.
    previousScore number
    The previously-calculated domain's reputation score.
    previousScoredAt string
    The time and date the previous reputation score was calculated.
    score number
    A range from 0 to 100 that determines your domain's reputation score.
    scoredAt string
    The time and date the score was calculated.
    status string
    The status of the domain's reputation.
    previous_score int
    The previously-calculated domain's reputation score.
    previous_scored_at str
    The time and date the previous reputation score was calculated.
    score int
    A range from 0 to 100 that determines your domain's reputation score.
    scored_at str
    The time and date the score was calculated.
    status str
    The status of the domain's reputation.
    previousScore Number
    The previously-calculated domain's reputation score.
    previousScoredAt String
    The time and date the previous reputation score was calculated.
    score Number
    A range from 0 to 100 that determines your domain's reputation score.
    scoredAt String
    The time and date the score was calculated.
    status String
    The status of the domain's reputation.

    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
    

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

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse