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 ?

demandé il y a 5 mois330 vues
1 réponse
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
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions