Closed LYHuang closed 5 years ago
Hello. IBM COS actually has a different retention policy framework than AWS S3. You can read about it in the documentation.
We have recently added support for bucket lifecycle policies if you need to schedule deletion of objects, but the { Expires: Date }
param simply adds some cache-control metadata to let a CDN know when the object is no longer cacheable.
Ah, get it. Thanks for the help.
Hello, I was checking S3 Object retention API and found that cos-sdk doesn't support
putObjectRetention
. I also tried to add{ Expires: Date }
params toupload
function but it is not work. Is there any way I can use to set up individual object's retention without setting global bucket expiration rule? Thanks.