Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const newMetaData = {
- ContentType: current.ContentType,
- ContentEncoding: current.ContentEncoding,
- ContentLanguage: current.ContentLanguage,
- Expires: current.Expires,
- WebsiteRedirectLocation: current.WebsiteRedirectLocation,
- CacheControl: current.CacheControl,
- ContentDisposition: current.ContentDisposition,
- ServerSideEncryption: current.ServerSideEncryption,
- StorageClass: current.StorageClass,
- SSEKMSKeyId: current.SSEKMSKeyId,
- MetadataDirective: 'REPLACE',
- Metadata: {
- 'my-new-key': 'some value'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement