Create a string representing a public S3 file url.
This code is lifted from node-s3-client
s3.getHttps(bucket, key, [bucketLocation])
bucketLocationstring, one of these:
- "" (default) - US Standard
returns a string which looks like this:
or maybe this if you are not in US Standard:
Works for any region, and returns a string which looks like this: