Tye AWS.S3.ManagedUpload object allows you to upload an object specifying "tags", but I don't see any documentation for specifying meta data on an uploaded object. Is this possible? If so, how?
Try with the following:
const params = {
Metadata: {
'my-key': 'some-value',
},
}
s3.upload(params, function(err, data) {
console.log(err, data);
});
Note that the SDK will add the prefix x-amz-meta-
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With