Amazon S3 Express One Zone now supports conditional deletes
Amazon S3 Express One Zone, a high-performance S3 storage class for latency-sensitive applications, can now evaluate whether an object is unchanged before deleting it. This conditional delete capability helps you improve data durability and reduce errors from accidental deletions in high-concurrency, multiple-writer scenarios.
Conditional writes simplify how distributed applications with multiple clients concurrently update data across shared datasets, helping to prevent unintentional overwrites. Now, in directory buckets, clients can perform conditional delete checks on an object’s last modified time, size, and Etag using the x-amz-if-match-last-modified-time, x-amz-if-match-size, and HTTP if-match headers, respectively, in the DeleteObject and DeleteObjects API. S3 Express One Zone then evaluates if each of these object attributes match the value provided in these headers and prevents your clients from deleting the object until the condition is satisfied. You can use these headers in conjunction or individually in a delete request to reliably offload object-state evaluation to S3 Express One Zone and efficiently secure your distributed and highly parallelized workloads against unintended deletions.
S3 Express One Zone support for conditional deletes is available at no additional charge in all AWS Regions where the storage class is available. You can use the S3 API, SDKs, and CLI to perform conditional deletes. To learn more, visit the S3 documentation.