You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'region' - the region where to create the S3 bucket. Passing boolean false makes it to use us-east-1 which is the default S3 region. This argument accepts the same values as the query.setRegion() helper. It patches the S3 API inconsistencies. The allowed values:
'us-east-1' || false => Virginia
'us-west-1' => N. California
'us-west-2' => Oregon
'eu-west-1' => Ireland
'ap-southeast-1' => Singapore
'ap-northeast-1' => Tokyo
'callback' - the callback that is executed when the processing finishes. It has a couple of arguments: error and result.
If there's an error, the callback receives the error argument as Error instance.
If the error argument is null, then the response argument contains the response.headers object as returned by the node.js core HTTPS client.
This helper calls s3.setBucket() transparently. This means that after the bucket is created, you operate into its context.