Check region against static list, only if host is a subdomain of amazonaws.com
Merge pull request #3109 from fwiesel/region_check_amazon

Check region against static list, only if host is a subdomain of amazonaws