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 個月前檢視次數 331 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南