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.

feita há um ano3734 visualizações
1 Resposta
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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas