All languages

Python scripts

You're viewing a free preview. Sign in free to read every script.

S3 Bucket Cleanup by Retention Age

Deletes objects under an S3 prefix older than a retention window, in batches, with a dry-run mode — for cases where a native S3 lifecycle rule can't express the logic you need.

Sign in free to read this script, along with the rest of the library.

Sign in free