DNS Adapter
Reference doc for the `sst.aws.dns` functions..
The AWS DNS Adapter lets you manage DNS records for domains hosted on Route 53.
This component looks up the Route 53 hosted zone for the domain and creates the DNS records.
sst.aws.dns();
Specify the specific hosted zone ID if you have multiple hosted zones with the same domain.
sst.aws.dns({ zone: "Z2FDTNDATAQYW2",});
Functions
dns
DnsArgs
transform?
transform.record?
Type RecordArgs
|
(
args
:
RecordArgs
=>
RecordArgs
|
void
)
Transform the AWS Route 53 record resource.
zone?
Type Input
<
string
>
The 14 letter ID of the Route 53 hosted zone that contains the domainName
. You can find the hosted zone ID in the Route 53 part of the AWS Console.
This option is useful for cases where you have multiple hosted zones that have the same domain.
{ zone: "Z2FDTNDATAQYW2"}