Please be careful about which topic "Swap URL" is being discussed ... If you mean AWAS Elastic Beanstalk "Actions" | " Swap URL Environment ", my experience is that this feature has nothing to do with DNS and is not connected to route 53.
From what I see, the AWS EB Swap URL just changes the public URL of your beanstalk environments ... Keep you from having to change your DNS at all.
Example:
Suppose you have two EB environments:
"quality" with the EB URL "quality-qq443224.elasticbeanstalk.com"
"quality-patched1" with the EB URL "quality-patched1.elasticbeanstalk.com"
If you select the instance of "quality-patched1" and select the "Swap Environment URL" with your instance of "quality" ... Everything that happens will now display as :
"quality" with the EB URL "quality-patched1.elasticbeanstalk.com"
"quality-patched1" with the EB URL "quality-qq443224.elasticbeanstalk.com"
Therefore, your EXISTING DNS CNAMEs (supposedly located in Route 53 and supposed to indicate / quality -qq443224 ... /) should not be changed at all ... They will be sent to your new one .
Dave collins
source share