Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Create S3 Bucket using Knox

View s3bucketcreate
1 2 3 4 5 6 7 8
// Create S3 bucket
var s3client = dynAws.getKnoxClient("bucketname");
var httpReq = s3client.put("/", {});
httpReq.on('response', function (response) {
// 200 indicates successful bucket creation
console.log(response.statusCode);
}).end();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.