Added support for configuring AWS S3 CNAME.