I'm trying to transfer hundreds of domain to AWS Route53. When I do it using AWS Route53 Console, during the transfer process I can set 'name-server option':
Does anyone know how I can approach the same thing using AWS CLI? I have already migrated my DNS records to Route53, so I'd like to use the 2nd option. I couldn't find anything in the documentation: transfer-domain . There is a 'nameservers' option, but there I can only define nameservers, but I want to use the Hosted Zone I've already created.
Here is my command:
aws route53domains transfer-domain --region us-east-1 --domain-name mydomain.co.uk --cli-input-json '{ ... }'