Last active
April 13, 2021 13:19
-
-
Save erfanium/8011b58a5c5a25d7adc4eef1ba83b904 to your computer and use it in GitHub Desktop.
S3 expire all objects in bucket after X days
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<LifecycleConfiguration> | |
<Rule> | |
<ID>expire</ID> | |
<Filter> | |
<Prefix></Prefix> | |
</Filter> | |
<Status>Enabled</Status> | |
<Expiration> | |
<Days>X</Days> | |
</Expiration> | |
</Rule> | |
</LifecycleConfiguration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment