scaleway.TemDomain
Explore with Pulumi AI
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:
- Accept
Tos 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.- Project
Id 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 string
The domain name, must not be used in another Transactional Email Domain.
Important: Updates to
name
will recreate the domain.- Project
Id 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 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.- project
Id 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 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.- project
Id 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.
- accept
Tos 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.- project
Id 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:
- Created
At string The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- Dkim
Config string The DKIM public key, as should be recorded in the DNS zone.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Error string The error message if the last check failed.
- Last
Valid stringAt The date and time the domain was last found to be valid (RFC 3339 format).
- Next
Check stringAt The date and time of the next scheduled check (RFC 3339 format).
- Revoked
At string The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string SMTP host to use to send emails
- Smtp
Port int SMTP port to use to send emails over TLS. (Port 587)
- Smtp
Port intAlternative SMTP port to use to send emails over TLS. (Port 2587)
- Smtp
Port intUnsecure 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 intAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- Spf
Config 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 string The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- Dkim
Config string The DKIM public key, as should be recorded in the DNS zone.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Error string The error message if the last check failed.
- Last
Valid stringAt The date and time the domain was last found to be valid (RFC 3339 format).
- Next
Check stringAt The date and time of the next scheduled check (RFC 3339 format).
- Revoked
At string The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string SMTP host to use to send emails
- Smtp
Port int SMTP port to use to send emails over TLS. (Port 587)
- Smtp
Port intAlternative SMTP port to use to send emails over TLS. (Port 2587)
- Smtp
Port intUnsecure 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 intAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- Spf
Config 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 String The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- dkim
Config String The DKIM public key, as should be recorded in the DNS zone.
- id String
The provider-assigned unique ID for this managed resource.
- last
Error String The error message if the last check failed.
- last
Valid StringAt The date and time the domain was last found to be valid (RFC 3339 format).
- next
Check StringAt The date and time of the next scheduled check (RFC 3339 format).
- revoked
At String The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String SMTP host to use to send emails
- smtp
Port Integer SMTP port to use to send emails over TLS. (Port 587)
- smtp
Port IntegerAlternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp
Port IntegerUnsecure SMTP port to use to send emails. (Port 25)
- smtps
Port Integer SMTPS port to use to send emails over TLS Wrapper. (Port 465)
- smtps
Port IntegerAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- spf
Config 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 string The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- dkim
Config string The DKIM public key, as should be recorded in the DNS zone.
- id string
The provider-assigned unique ID for this managed resource.
- last
Error string The error message if the last check failed.
- last
Valid stringAt The date and time the domain was last found to be valid (RFC 3339 format).
- next
Check stringAt The date and time of the next scheduled check (RFC 3339 format).
- revoked
At string The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host string SMTP host to use to send emails
- smtp
Port number SMTP port to use to send emails over TLS. (Port 587)
- smtp
Port numberAlternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp
Port numberUnsecure SMTP port to use to send emails. (Port 25)
- smtps
Port number SMTPS port to use to send emails over TLS Wrapper. (Port 465)
- smtps
Port numberAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- spf
Config 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_ strat The date and time the domain was last found to be valid (RFC 3339 format).
- next_
check_ strat 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_ intalternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp_
port_ intunsecure 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_ intalternative 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.
- created
At String The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- dkim
Config String The DKIM public key, as should be recorded in the DNS zone.
- id String
The provider-assigned unique ID for this managed resource.
- last
Error String The error message if the last check failed.
- last
Valid StringAt The date and time the domain was last found to be valid (RFC 3339 format).
- next
Check StringAt The date and time of the next scheduled check (RFC 3339 format).
- revoked
At String The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String SMTP host to use to send emails
- smtp
Port Number SMTP port to use to send emails over TLS. (Port 587)
- smtp
Port NumberAlternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp
Port NumberUnsecure SMTP port to use to send emails. (Port 25)
- smtps
Port Number SMTPS port to use to send emails over TLS Wrapper. (Port 465)
- smtps
Port NumberAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- spf
Config 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.
- Accept
Tos bool Acceptation of the Term of Service.
Important: This attribute must be set to
true
.- Created
At string The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- Dkim
Config string The DKIM public key, as should be recorded in the DNS zone.
- Last
Error string The error message if the last check failed.
- Last
Valid stringAt 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.- Next
Check stringAt The date and time of the next scheduled check (RFC 3339 format).
- Project
Id 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.- Revoked
At string The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string SMTP host to use to send emails
- Smtp
Port int SMTP port to use to send emails over TLS. (Port 587)
- Smtp
Port intAlternative SMTP port to use to send emails over TLS. (Port 2587)
- Smtp
Port intUnsecure 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 intAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- Spf
Config 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 string The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- Dkim
Config string The DKIM public key, as should be recorded in the DNS zone.
- Last
Error string The error message if the last check failed.
- Last
Valid stringAt 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.- Next
Check stringAt The date and time of the next scheduled check (RFC 3339 format).
- Project
Id 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.- Revoked
At string The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string SMTP host to use to send emails
- Smtp
Port int SMTP port to use to send emails over TLS. (Port 587)
- Smtp
Port intAlternative SMTP port to use to send emails over TLS. (Port 2587)
- Smtp
Port intUnsecure 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 intAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- Spf
Config 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 Boolean Acceptation of the Term of Service.
Important: This attribute must be set to
true
.- created
At String The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- dkim
Config String The DKIM public key, as should be recorded in the DNS zone.
- last
Error String The error message if the last check failed.
- last
Valid StringAt 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.- next
Check StringAt The date and time of the next scheduled check (RFC 3339 format).
- project
Id 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.- revoked
At String The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String SMTP host to use to send emails
- smtp
Port Integer SMTP port to use to send emails over TLS. (Port 587)
- smtp
Port IntegerAlternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp
Port IntegerUnsecure SMTP port to use to send emails. (Port 25)
- smtps
Port Integer SMTPS port to use to send emails over TLS Wrapper. (Port 465)
- smtps
Port IntegerAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- spf
Config 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 boolean Acceptation of the Term of Service.
Important: This attribute must be set to
true
.- created
At string The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- dkim
Config string The DKIM public key, as should be recorded in the DNS zone.
- last
Error string The error message if the last check failed.
- last
Valid stringAt 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.- next
Check stringAt The date and time of the next scheduled check (RFC 3339 format).
- project
Id 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.- revoked
At string The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host string SMTP host to use to send emails
- smtp
Port number SMTP port to use to send emails over TLS. (Port 587)
- smtp
Port numberAlternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp
Port numberUnsecure SMTP port to use to send emails. (Port 25)
- smtps
Port number SMTPS port to use to send emails over TLS Wrapper. (Port 465)
- smtps
Port numberAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- spf
Config 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_ strat 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_ strat 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_ intalternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp_
port_ intunsecure 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_ intalternative 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.
- accept
Tos Boolean Acceptation of the Term of Service.
Important: This attribute must be set to
true
.- created
At String The date and time of the Transaction Email Domain's creation (RFC 3339 format).
- dkim
Config String The DKIM public key, as should be recorded in the DNS zone.
- last
Error String The error message if the last check failed.
- last
Valid StringAt 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.- next
Check StringAt The date and time of the next scheduled check (RFC 3339 format).
- project
Id 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.- revoked
At String The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String SMTP host to use to send emails
- smtp
Port Number SMTP port to use to send emails over TLS. (Port 587)
- smtp
Port NumberAlternative SMTP port to use to send emails over TLS. (Port 2587)
- smtp
Port NumberUnsecure SMTP port to use to send emails. (Port 25)
- smtps
Port Number SMTPS port to use to send emails over TLS Wrapper. (Port 465)
- smtps
Port NumberAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
- spf
Config 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.