---
title: "POST /hosted-zone-associations/{hostedZoneId}"
method: POST
path: "/hosted-zone-associations/{hostedZoneId}"
---

# POST /hosted-zone-associations/{hostedZoneId}

`POST /hosted-zone-associations/{hostedZoneId}`

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.

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 Web Services CLI commands.

## Path parameters

- `hostedZoneId` string, required

## Request body

- object
  - `resourceArn` string, required — An Amazon Resource Name (ARN) of the Route 53 Global Resolver the private hosted zone will be associated to.
  - `name` string, required — Name for the private hosted zone association.

## Response `200`

Success

- AssociateHostedZoneOutput
  - `id` string, required — ID of the association.
  - `resourceArn` string, required — An Amazon Resource Name (ARN) of the Route 53 Global Resolver the private hosted zone is associated to.
  - `hostedZoneId` string, required — ID of the private hosted zone.
  - `hostedZoneName` string, required — Name of the hosted zone (also the domain associated with the hosted zone).
  - `name` string, required — Name for the private hosted zone association.
  - `createdAt` string, date-time, required — The date and time the private hosted zone association was created.
  - `updatedAt` string, date-time, required — The date and time the private hosted zone association was modified.
  - `status` 'CREATING' | 'OPERATIONAL' | 'DELETING', required — Aggregate status for all the Amazon Web Services Regions in which the Route 53 Global Resolver exists.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — ConflictException
- `483` — ServiceQuotaExceededException
- `484` — AccessDeniedException
- `485` — ThrottlingException
- `486` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/route53globalresolver.md) · [All operations](https://skmtc.net/aws/apis/route53globalresolver/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/route53globalresolver/versions/5ebf158d0c4b/schema)
