Skip to main content

hosted_zone

Gets an individual hosted_zone resource

Overview

Namehosted_zone
TypeResource
Descriptionhosted_zone
Idawscc.route53.hosted_zone

Fields

NameDatatypeDescription
idstring
hosted_zone_configobject
hosted_zone_tagsarrayAdds, edits, or deletes tags for a health check or a hosted zone.<br/><br/>For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
namestringThe name of the domain. Specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.<br/><br/>If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of NameServers that are returned by the Fn::GetAtt intrinsic function.
query_logging_configobject
vpcsarrayA complex type that contains information about the VPCs that are associated with the specified hosted zone.
name_serversarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
hosted_zone_config,
hosted_zone_tags,
name,
query_logging_config,
vpcs,
name_servers
FROM awscc.route53.hosted_zone
WHERE data__Identifier = '<Id>';

Permissions

To operate on the hosted_zone resource, the following permissions are required:

Read

route53:GetHostedZone,
route53:ListTagsForResource,
route53:ListQueryLoggingConfigs

Update

route53:GetChange,
route53:ListTagsForResource,
route53:UpdateHostedZoneComment,
route53:ChangeTagsForResource,
route53:AssociateVPCWithHostedZone,
route53:DisassociateVPCFromHostedZone,
route53:CreateQueryLoggingConfig,
route53:DeleteQueryLoggingConfig,
ec2:DescribeVpcs

Delete

route53:DeleteHostedZone,
route53:DeleteQueryLoggingConfig,
route53:ListQueryLoggingConfigs,
route53:GetChange