For Geo-targeting, Amazon uses CloudFront that will detect the user's country of origin. It passes the country code to you and you can use this information for customizing your responses without having any chance of using each country's unique URLs.
For more information, check out this AWS Tutorial.