Skip to main content

Route53 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 = await provider.useRoute53Domain({
name: domainName,
});
const hostedZone = await provider.makeHostedZone({
name: `${domainName}.`,
dependencies: { domain },
properties: ({}) => ({}),
});

Source Code Examples#

Used By#