Delete S3 bucket where Retention mode is set to "Compliance mode"

0

I want to delete an S3 bucket where where Retention mode is set to "Compliance mode" and it is Retain until date is August 4, 2031, 11:46:52 (UTC+05:30). Is there any way I can delete it now ?

質問済み 5ヶ月前330ビュー
1回答
2

Hello.

If the object remains in the S3 bucket, it cannot be deleted.
Wait until the object lock expires and delete the object before deleting the bucket.
Since the object lock cannot be disabled later, I think the only way is to wait until it expires, delete the object, and then delete the S3 bucket.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html#object-lock-overview

The only way to delete an object under the compliance mode before its retention date expires is to delete the associated AWS account.

profile picture
エキスパート
回答済み 5ヶ月前

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

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

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

関連するコンテンツ