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.