-
Notifications
You must be signed in to change notification settings - Fork 32
s3.setBucket()
SaltwaterC edited this page Nov 15, 2011
·
4 revisions
S3 helper for setting up the bucket name when doing host based addressing.
s3.setBucket(bucket)
- 'bucket' - the S3 bucket name
Basically this helper modifies the endpoint. Its modifications may be revealed by client.getEndPoint(). For example, s3.setBucket('foo') sets the endpoint to be foo.s3.amazonaws.com.