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 ?

posta 5 mesi fa334 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande