AWS/node.js question

I'm looking for sample code that sets the "website-redirect-location" property of an S3 object using the AWS toolkit for node.js.

Here's the code I wrote that does not succeed in setting the property on the object.

s3.putObject ({Bucket: "scripting.com", Key: "hello.html", WebsiteRedirectLocation: "http://amazon.com/"});

I've stared at the code, tried all kinds of permutations, but there really isn't that much I can change.

If anyone has working code for this please let me know. I have a really cool feature waiting for this to work.


Last built: Wed, Jul 9, 2014 at 11:23 AM

By Dave Winer, Friday, January 31, 2014 at 11:07 AM. Still diggin!