Skip to content
SaltwaterC edited this page Jan 20, 2012 · 2 revisions

About

S3 helper for setting region specific endpoints.

Reference

s3.setEndPoint(endpointPrefix)
  • 'endpointPrefix' - the endpoint prefix which should be something like: s3-us-west-1, s3-us-west-2, etc. The endpoint list is available here.

While technically this is just an alias of s3.setBucket(), this method has this additional name in order to remove any ambiguity into the code that calls this client.

This method is chainable (aka it returns the client object).

Clone this wiki locally