AWS::Route53GlobalResolver::HostedZoneAssociation - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Route53GlobalResolver::HostedZoneAssociation

Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.

Important

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon CLI commands.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Route53GlobalResolver::HostedZoneAssociation", "Properties" : { "HostedZoneId" : String, "Name" : String, "ResourceArn" : String } }

YAML

Type: AWS::Route53GlobalResolver::HostedZoneAssociation Properties: HostedZoneId: String Name: String ResourceArn: String

Properties

HostedZoneId

The ID of the hosted zone.

Required: Yes

Type: String

Minimum: 1

Maximum: 32

Update requires: Replacement

Name

The name of the hosted zone association.

Required: Yes

Type: String

Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_' ']+)

Minimum: 1

Maximum: 64

Update requires: No interruption

ResourceArn

The Amazon Resource Name (ARN) of the resource associated with the hosted zone.

Required: Yes

Type: String

Pattern: arn:[-.a-z0-9]{1,63}:[-.a-z0-9]{1,63}:[-.a-z0-9]{0,63}:[-.a-z0-9]{0,63}:[^/].{0,1023}

Minimum: 1

Maximum: 2048

Update requires: Replacement

Return values

Ref

Fn::GetAtt

CreatedAt

The date and time when the hosted zone association was created.

HostedZoneAssociationId

ID of the private hosted zone association.

HostedZoneName

The name of the hosted zone.

Status

The current status of the hosted zone association.

UpdatedAt

The date and time when the hosted zone association was last updated.