Reputation: 33
I want to soft delete AWS S3 objects. What approach can I use? I searched tags and versioning. What is the best practice?
I can use the AWS console or the .Net SDK.
Upvotes: 0
Views: 5184
Reputation: 78840
Use S3 object versioning. When you delete a versioned object, S3 simply writes a deletion marker to S3. You can later delete the deletion marker to reinstate the object.
Upvotes: 6