By using AWS re:Post, you agree to the Terms of Use

S3 Bucket Object Versioning & Lifecycle Rules - Applied to Existing Objects or only New?


Do S3 Bucket Lifecycle Rules and Object Versioning apply to existing objects or only new ones?

asked 5 years ago85 views
1 Answers
Accepted Answer says: " When you add a lifecycle configuration to a bucket, the configuration rules apply to both existing objects and objects that you add later. For example, if you add a lifecycle configuration rule today with an expiration action that causes objects with a specific prefix to expire 30 days after creation, Amazon S3 will queue for removal any existing objects that are more than 30 days old. " says: " When you enable versioning on a bucket, existing objects, if any, in the bucket are unchanged: the version IDs (null), contents, and permissions remain the same. "

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions