Reputation: 13
Lets say I have folder-a/ , folder-b/ and folder-logs/ in S3 bucket.
I want to preserve folder-logs/ objects for 90 days, objects older than 90 days can be deleted. All other objects except folder-logs/ can be deleted in 30 days.
I have created a lifecycle config as
So, what happens to my folder-logs/ objects. Does 2nd rule takes precedence here? i.e., the folder-logs/ objects gets deleted after 30 days or it is preserved for 90 days? And does order of the lifecycle config matters here?.
I have created two lifecycle configs as mentioned above. Just wanted to know the result. This bucket is not enabled with versioning.
Upvotes: 1
Views: 465