Creating a hosted zone

To start adding DNS records, we need to add a hosted zone to Route 53. As you can see in the following code, this is reasonably simple to do. The Name we are going to supply will be provided as a parameter to our CloudFormation template. Add the following code to the top of the file:

Parameters:
DNSHostedZone:
Type: "AWS::Route53::HostedZone"
Properties:
Name:
Ref: DomainName

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset