Created
December 21, 2011 23:02
-
-
Save nagoodman/1508111 to your computer and use it in GitHub Desktop.
Create S3 Bucket using Knox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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
what is dynAws ???