How to delete all version objects except for current version in specification bukets of S3

0

About title, I want to run it on the AWS console if possible.

質問済み 1年前3734ビュー
1回答
0

You can use Amazon S3 Lifecycle for deleting non-current versions of your objects. Read more about Managing your storage lifecycle.

The NoncurrentVersionExpiration action element of the lifecycle actions instructs Amazon S3 to permanently delete noncurrent versions of objects. Configure a lifecycle for your S3 bucket with a specific action date that is in the past. With this, all qualified objects become immediately eligible for that Lifecycle action, so the non-current versions of the objects will be deleted just after you activate the Lifecycle. After that, you can remove the Lifecycle if you want to keep all future non-current object versions.

profile pictureAWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ