删除AWS S3上的旧对象版本 [英] Deleting old object versions on AWS S3

查看:80
本文介绍了删除AWS S3上的旧对象版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是从我的存储桶中删除所有旧版本的对象并仅保留当前版本的正确生命周期规则吗?

Is this the correct lifecycle rule to delete all old versions of objects from my bucket and only keep the current version?

这还能在我的整个存储桶上工作还是仅在添加到其中的对象上工作?

Also will this work on my entire bucket or only on objects added to it?

推荐答案

是的,这似乎是正确的.

Yes, that seems correct.

请注意,"1天后"字面意思是在至少24小时后进行的第一次背景清除操作期间",因此对象可能会在24到48小时之间徘徊.如果存在大量对象,则将花费更长的时间,但是您无需为存储超出其到期时间的时间付费.

Note that "1 day after" literally means "during the first background purge operation that occurs at least 24 hours after," so objects may linger for anywhere between 24 and 48 hours. If there are a large number of objects, it will take longer, but you aren't billed for the time to store the objects past their expiration.

这篇关于删除AWS S3上的旧对象版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆