简体   繁体   中英

Expired objects do not delete from s3 bucket, been months

I set expiration dates on objects through the API. It's now May and many of these objects expired in March. All the docs say expired objects will be wiped on a daily basis but I think something is wrong.

在此处输入图片说明

The Expires metadata field is used to control caching of objects in browsers and CDNs. It is not related to actually deleting objects from Amazon S3.

If you wish to automatically delete objects from Amazon S3 after a certain period of time, you should crate a Lifecycle Rule.

See: Object Lifecycle Management - Amazon Simple Storage Service

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM