Assign the CloudWatch API endpoint URLs.

This fix is to avoid not to connect to the wrong URLs like
cloudwatch.ap-northeast-1.awsamazon.com but to connect to
the right URLs like monitoring.ap-northeast-1.awsamazon.com.