Alias resource records sets only: The value used depends on where you want to route traffic:
CloudFront distribution
Specify Z2FDTNDATAQYW2
.
Alias resource record sets for CloudFront can't be created in a private zone.
Elastic Beanstalk environment
Specify the hosted zone ID for the region that you created the environment in. The environment must have a
regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see AWS Elastic Beanstalk
in the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference.
ELB load balancer
Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone
ID:
-
Elastic Load Balancing table in
the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference: Use the value that
corresponds with the region that you created your load balancer in. Note that there are separate columns for
Application and Classic Load Balancers and for Network Load Balancers.
-
AWS Management Console: Go to the Amazon EC2 page, choose Load Balancers in the navigation pane,
select the load balancer, and get the value of the Hosted zone field on the Description tab.
-
Elastic Load Balancing API: Use DescribeLoadBalancers
to get the applicable value. For more
information, see the applicable guide:
-
AWS CLI: Use describe-load-balancers
to get the applicable value. For more information, see
the applicable guide:
An Amazon S3 bucket configured as a static website
Specify the hosted zone ID for the region that you created the bucket in. For more information about valid
values, see the Amazon Simple Storage
Service Website Endpoints table in the "AWS Regions and Endpoints" chapter of the Amazon Web Services
General Reference.
Another Route 53 resource record set in your hosted zone
Specify the hosted zone ID of your hosted zone. (An alias resource record set can't reference a resource record
set in a different hosted zone.)