RegisteredDomain

class RegisteredDomain : KotlinCustomResource

Provides a resource to manage a domain that has been registered and associated with the current AWS account. This is an advanced resource and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource. The aws.route53domains.RegisteredDomain resource behaves differently from normal resources in that if a domain has been registered, the provider does not register this domain, but instead "adopts" it into management. A destroy does not delete the domain but does remove the resource from state.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53domains.RegisteredDomain;
import com.pulumi.aws.route53domains.RegisteredDomainArgs;
import com.pulumi.aws.route53domains.inputs.RegisteredDomainNameServerArgs;
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 example = new RegisteredDomain("example", RegisteredDomainArgs.builder()
.domainName("example.com")
.nameServers(
RegisteredDomainNameServerArgs.builder()
.name("ns-195.awsdns-24.com")
.build(),
RegisteredDomainNameServerArgs.builder()
.name("ns-874.awsdns-45.net")
.build())
.tags(Map.of("Environment", "test"))
.build());
}
}

Properties

Link copied to clipboard

Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Link copied to clipboard

Phone number for reporting abuse.

Link copied to clipboard

Details about the domain administrative contact.

Link copied to clipboard
val adminPrivacy: Output<Boolean>?

Whether domain administrative contact information is concealed from WHOIS queries. Default: true.

Link copied to clipboard
val autoRenew: Output<Boolean>?

Whether the domain registration is set to renew automatically. Default: true.

Link copied to clipboard
val creationDate: Output<String>

The date when the domain was created as found in the response to a WHOIS query.

Link copied to clipboard
val domainName: Output<String>

The name of the registered domain.

Link copied to clipboard
val expirationDate: Output<String>

The date when the registration for the domain is set to expire.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The list of nameservers for the domain.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Details about the domain registrant.

Link copied to clipboard

Whether domain registrant contact information is concealed from WHOIS queries. Default: true.

Link copied to clipboard
val registrarName: Output<String>

Name of the registrar of the domain as identified in the registry.

Link copied to clipboard
val registrarUrl: Output<String>

Web address of the registrar.

Link copied to clipboard
val reseller: Output<String>

Reseller of the domain.

Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard

Details about the domain technical contact.

Link copied to clipboard
val techPrivacy: Output<Boolean>?

Whether domain technical contact information is concealed from WHOIS queries. Default: true.

Link copied to clipboard
val transferLock: Output<Boolean>?

Whether the domain is locked for transfer. Default: true.

Link copied to clipboard
val updatedDate: Output<String>

The last updated date of the domain as found in the response to a WHOIS query.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val whoisServer: Output<String>

The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.