I have a bucket with a structure like this:
- root
- source
- processed
- form
I would like non-current versions to expire in everything except the form directory.
Will this work, or do I need to create individual rules for source, processed, and forms?
"LifecycleConfiguration": {
"Rules" : [{
"NoncurrentVersionExpiration" : {
"NoncurrentDays": 1
},
"Status": "Enabled"
}, {
"Prefix": "form",
"NoncurrentVersionExpiration" : {
"NoncurrentDays": 1
},
"Status": "Disabled"
}]
},