scaleway.TemDomain
Explore with Pulumi AI
Creates and manages Scaleway Transactional Email Domains. For more information refer to the API 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: ".",
});
const dmarc = new scaleway.DomainRecord("dmarc", {
dnsZone: domainName,
type: "TXT",
data: main.dmarcConfig,
});
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=".")
dmarc = scaleway.DomainRecord("dmarc",
dns_zone=domain_name,
type="TXT",
data=main.dmarc_config)
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
}
_, err = scaleway.NewDomainRecord(ctx, "dmarc", &scaleway.DomainRecordArgs{
DnsZone: pulumi.String(domainName),
Type: pulumi.String("TXT"),
Data: main.DmarcConfig,
})
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 = ".",
});
var dmarc = new Scaleway.DomainRecord("dmarc", new()
{
DnsZone = domainName,
Type = "TXT",
Data = main.DmarcConfig,
});
});
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());
var dmarc = new DomainRecord("dmarc", DomainRecordArgs.builder()
.dnsZone(domainName)
.type("TXT")
.data(main.dmarcConfig())
.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: .
dmarc:
type: scaleway:DomainRecord
properties:
dnsZone: ${domainName}
type: TXT
data: ${main.dmarcConfig}
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.
Constructor 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:
- 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.
- Dmarc
Config string - DMARC record for the domain, as should be recorded in the DNS zone.
- Dmarc
Name string - DMARC name for the domain, 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).
- Mx
Blackhole string - The Scaleway's blackhole MX server to use if you do not have one.
- Next
Check stringAt - The date and time of the next scheduled check (RFC 3339 format).
- Reputations
List<Pulumiverse.
Scaleway. Outputs. Tem Domain Reputation> - The domain's reputation.
- Revoked
At string - The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string - The SMTP host to use to send emails.
- Smtp
Port int - The SMTP port to use to send emails over TLS.
- Smtp
Port intAlternative - The SMTP port to use to send emails over TLS.
- Smtp
Port intUnsecure - The SMTP port to use to send emails.
- Smtps
Auth stringUser - 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 intAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- Spf
Config 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 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.
- Dmarc
Config string - DMARC record for the domain, as should be recorded in the DNS zone.
- Dmarc
Name string - DMARC name for the domain, 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).
- Mx
Blackhole string - The Scaleway's blackhole MX server to use if you do not have one.
- Next
Check stringAt - The date and time of the next scheduled check (RFC 3339 format).
- Reputations
[]Tem
Domain Reputation - The domain's reputation.
- Revoked
At string - The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string - The SMTP host to use to send emails.
- Smtp
Port int - The SMTP port to use to send emails over TLS.
- Smtp
Port intAlternative - The SMTP port to use to send emails over TLS.
- Smtp
Port intUnsecure - The SMTP port to use to send emails.
- Smtps
Auth stringUser - 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 intAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- Spf
Config 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 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.
- dmarc
Config String - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc
Name String - DMARC name for the domain, 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).
- mx
Blackhole String - The Scaleway's blackhole MX server to use if you do not have one.
- next
Check StringAt - The date and time of the next scheduled check (RFC 3339 format).
- reputations
List<Tem
Domain Reputation> - The domain's reputation.
- revoked
At String - The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String - The SMTP host to use to send emails.
- smtp
Port Integer - The SMTP port to use to send emails over TLS.
- smtp
Port IntegerAlternative - The SMTP port to use to send emails over TLS.
- smtp
Port IntegerUnsecure - The SMTP port to use to send emails.
- smtps
Auth StringUser - SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
- smtps
Port Integer - The SMTPS port to use to send emails over TLS Wrapper.
- smtps
Port IntegerAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- spf
Config 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 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.
- dmarc
Config string - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc
Name string - DMARC name for the domain, 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).
- mx
Blackhole string - The Scaleway's blackhole MX server to use if you do not have one.
- next
Check stringAt - The date and time of the next scheduled check (RFC 3339 format).
- reputations
Tem
Domain Reputation[] - The domain's reputation.
- revoked
At string - The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host string - The SMTP host to use to send emails.
- smtp
Port number - The SMTP port to use to send emails over TLS.
- smtp
Port numberAlternative - The SMTP port to use to send emails over TLS.
- smtp
Port numberUnsecure - The SMTP port to use to send emails.
- smtps
Auth stringUser - SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
- smtps
Port number - The SMTPS port to use to send emails over TLS Wrapper.
- smtps
Port numberAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- spf
Config 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.
- dmarc_
config str - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc_
name str - DMARC name for the domain, 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).
- mx_
blackhole str - The Scaleway's blackhole MX server to use if you do not have one.
- next_
check_ strat - The date and time of the next scheduled check (RFC 3339 format).
- reputations
Sequence[Tem
Domain Reputation] - 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_ intalternative - The SMTP port to use to send emails over TLS.
- smtp_
port_ intunsecure - The SMTP port to use to send emails.
- smtps_
auth_ struser - 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_ intalternative - 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.
- 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.
- dmarc
Config String - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc
Name String - DMARC name for the domain, 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).
- mx
Blackhole String - The Scaleway's blackhole MX server to use if you do not have one.
- next
Check StringAt - The date and time of the next scheduled check (RFC 3339 format).
- reputations List<Property Map>
- The domain's reputation.
- revoked
At String - The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String - The SMTP host to use to send emails.
- smtp
Port Number - The SMTP port to use to send emails over TLS.
- smtp
Port NumberAlternative - The SMTP port to use to send emails over TLS.
- smtp
Port NumberUnsecure - The SMTP port to use to send emails.
- smtps
Auth StringUser - SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
- smtps
Port Number - The SMTPS port to use to send emails over TLS Wrapper.
- smtps
Port NumberAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- spf
Config 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,
dmarc_config: Optional[str] = None,
dmarc_name: 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.
- 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.
- Dmarc
Config string - DMARC record for the domain, as should be recorded in the DNS zone.
- Dmarc
Name string - DMARC name for the domain, 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).
- Mx
Blackhole 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.- 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.- Reputations
List<Pulumiverse.
Scaleway. Inputs. Tem Domain Reputation> - The domain's reputation.
- Revoked
At string - The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string - The SMTP host to use to send emails.
- Smtp
Port int - The SMTP port to use to send emails over TLS.
- Smtp
Port intAlternative - The SMTP port to use to send emails over TLS.
- Smtp
Port intUnsecure - The SMTP port to use to send emails.
- Smtps
Auth stringUser - 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 intAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- Spf
Config 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 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.
- Dmarc
Config string - DMARC record for the domain, as should be recorded in the DNS zone.
- Dmarc
Name string - DMARC name for the domain, 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).
- Mx
Blackhole 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.- 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.- Reputations
[]Tem
Domain Reputation Args - The domain's reputation.
- Revoked
At string - The date and time of the revocation of the domain (RFC 3339 format).
- Smtp
Host string - The SMTP host to use to send emails.
- Smtp
Port int - The SMTP port to use to send emails over TLS.
- Smtp
Port intAlternative - The SMTP port to use to send emails over TLS.
- Smtp
Port intUnsecure - The SMTP port to use to send emails.
- Smtps
Auth stringUser - 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 intAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- Spf
Config 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 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.
- dmarc
Config String - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc
Name String - DMARC name for the domain, 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).
- mx
Blackhole 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.- 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.- reputations
List<Tem
Domain Reputation> - The domain's reputation.
- revoked
At String - The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String - The SMTP host to use to send emails.
- smtp
Port Integer - The SMTP port to use to send emails over TLS.
- smtp
Port IntegerAlternative - The SMTP port to use to send emails over TLS.
- smtp
Port IntegerUnsecure - The SMTP port to use to send emails.
- smtps
Auth StringUser - SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
- smtps
Port Integer - The SMTPS port to use to send emails over TLS Wrapper.
- smtps
Port IntegerAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- spf
Config 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 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.
- dmarc
Config string - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc
Name string - DMARC name for the domain, 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).
- mx
Blackhole 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.- 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.- reputations
Tem
Domain Reputation[] - The domain's reputation.
- revoked
At string - The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host string - The SMTP host to use to send emails.
- smtp
Port number - The SMTP port to use to send emails over TLS.
- smtp
Port numberAlternative - The SMTP port to use to send emails over TLS.
- smtp
Port numberUnsecure - The SMTP port to use to send emails.
- smtps
Auth stringUser - SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
- smtps
Port number - The SMTPS port to use to send emails over TLS Wrapper.
- smtps
Port numberAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- spf
Config 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.
- dmarc_
config str - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc_
name str - DMARC name for the domain, 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).
- 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_ 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.- reputations
Sequence[Tem
Domain Reputation Args] - 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_ intalternative - The SMTP port to use to send emails over TLS.
- smtp_
port_ intunsecure - The SMTP port to use to send emails.
- smtps_
auth_ struser - 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_ intalternative - 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.
- 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.
- dmarc
Config String - DMARC record for the domain, as should be recorded in the DNS zone.
- dmarc
Name String - DMARC name for the domain, 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).
- mx
Blackhole 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.- 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.- reputations List<Property Map>
- The domain's reputation.
- revoked
At String - The date and time of the revocation of the domain (RFC 3339 format).
- smtp
Host String - The SMTP host to use to send emails.
- smtp
Port Number - The SMTP port to use to send emails over TLS.
- smtp
Port NumberAlternative - The SMTP port to use to send emails over TLS.
- smtp
Port NumberUnsecure - The SMTP port to use to send emails.
- smtps
Auth StringUser - SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission.
- smtps
Port Number - The SMTPS port to use to send emails over TLS Wrapper.
- smtps
Port NumberAlternative - The SMTPS port to use to send emails over TLS Wrapper.
- spf
Config 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
- Previous
Score int - The previously-calculated domain's reputation score.
- Previous
Scored stringAt - 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 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 stringAt - 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 string - The time and date the score was calculated.
- Status string
- The status of the domain's reputation.
- previous
Score Integer - The previously-calculated domain's reputation score.
- previous
Scored StringAt - 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.
- scored
At String - The time and date the score was calculated.
- status String
- The status of the domain's reputation.
- previous
Score number - The previously-calculated domain's reputation score.
- previous
Scored stringAt - 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.
- scored
At 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_ strat - 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.
- previous
Score Number - The previously-calculated domain's reputation score.
- previous
Scored StringAt - 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.
- scored
At 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.