Skip to main content

Domains

Provides a Route53 Domain.

Example#

By using a route53 domain as a dependency to an hostedZone, the nameservers returns by the hosted zone will be used to update the route53 domain's nameserver.

const domainName = "mydomain.com";
const domain = provider.Route53Domains.useDomain({
name: domainName,
});
const hostedZone = provider.Route53.makeHostedZone({
name: `${domainName}.`,
dependencies: () => ({ domain }),
});

Source Code Examples#

Used By#