AWS Fundamentals Logo
AWS Fundamentals
AWS::Route53::HostedZone

Route53 HostedZone

Creates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs). You can't convert a public hosted zone to a private hosted zone or vice versa....

Properties

6 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
HostedZoneConfig
HostedZoneConfig
HostedZoneFeatures
HostedZoneFeatures
HostedZoneTags
Array<HostedZoneTag>
Name
string
Create-only
QueryLoggingConfig
QueryLoggingConfig
VPCs
Array<VPC>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Idstring-
NameServersArray<string>-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Route53::HostedZone

Resources:
  MyResource:
    Type: AWS::Route53::HostedZone
    Properties:
      Name: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

route53:GetHostedZoneroute53:ListTagsForResourceroute53:ListQueryLoggingConfigs

create

route53:CreateHostedZoneroute53:CreateQueryLoggingConfigroute53:ChangeTagsForResourceroute53:GetChangeroute53:GetHostedZoneroute53:UpdateHostedZoneFeaturesroute53:AssociateVPCWithHostedZoneec2:DescribeVpcs

update

route53:GetChangeroute53:GetHostedZoneroute53:ListTagsForResourceroute53:ListQueryLoggingConfigsroute53:UpdateHostedZoneCommentroute53:UpdateHostedZoneFeaturesroute53:ChangeTagsForResourceroute53:AssociateVPCWithHostedZone

list

route53:GetHostedZoneroute53:ListHostedZonesroute53:ListQueryLoggingConfigsroute53:ListTagsForResource

delete

route53:DeleteHostedZoneroute53:DeleteQueryLoggingConfigroute53:ListQueryLoggingConfigsroute53:UpdateHostedZoneFeaturesroute53:GetHostedZoneroute53:GetChange

Get the Route53 Cheat Sheet

Everything you need to know about Route53 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceRoute53
Properties8
Required0
TaggingSupported
Primary IDId

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Name

External Links