Authorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone request.
Request
Path Params
Responses
🟢200Success
application/json
Body
🟠480ConcurrentModification
🟠481TooManyVPCAssociationAuthorizations
🟠482NoSuchHostedZone
🟠483InvalidVPCId
🟠484InvalidInput
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request POST 'http://route53domains.{region}.amazonaws.com/2013-04-01/hostedzone//authorizevpcassociation' \
--header'Content-Type: text/plain' \
--data-raw''