Reputation: 1
As the official document says when we enable versioning on bucket, deleted objects can be restored as only delete marker will be created.
When objects will be actually deleted then?
As if deleting them only created delete marker, they will still consume place in bucket, how many days they will be present in bucket after deleting?
Upvotes: -1
Views: 140
Reputation: 1
It will be there forever, unless you manually delete all the versions and the deletion marker. You can manually delete it by going tot he bucket, on versions, click "Show", then all the versions and deletion marker will be shown. You can delete them afterwards.
Upvotes: 0
Reputation: 270294
If Versioning is enabled on a bucket, objects will not be deleted.
If versioning is not enabled, then deleting an object will immediately delete it.
You can create lifecycle rules that can delete objects, or object versions, after a defined period of time.
Upvotes: 2