Amazon S3 now supports conditional deletes in S3 general purpose buckets, which verify that an object is unchanged before deleting it. This helps you to prevent accidental deletions in high-concurrency, multiple-writer scenarios.
You can now perform conditional deletes using the HTTP if-match header with an ETag value. Amazon S3 will only allow your delete request to succeed if the Etag provided matches that of the object. Additionally, you can use the s3:if-match condition key in your S3 bucket policies to enforce conditional delete operations. For example, you can require clients to use the HTTP if-match header in both S3 DeleteObject and S3 DeleteObjects API requests, helping you to minimize the risk of accidentally deleting objects in your bucket.
Conditional deletes are available in S3 general purpose buckets at no additional cost in all AWS Regions. You can use the Amazon S3 API, SDKs, and CLI to perform conditional deletes. To learn more, visit the S3 User guide.
Categories: general:products/aws-govcloud-us,general:products/amazon-s3,marketing:marchitecture/storage
Source: Amazon Web Services
Latest Posts
- Microsoft Teams Rooms on Android: License-based management updates for DM-synced devices [MC1242781]
![Microsoft Teams Rooms on Android: License-based management updates for DM-synced devices [MC1242781] 2 pexels timmossholder 1154739](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Purview Insider Risk Management: Pay-as-you-go model for generative AI apps [MC1242784]
![Microsoft Purview Insider Risk Management: Pay-as-you-go model for generative AI apps [MC1242784] 3 pexels scottwebb 1048049](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Set a custom name for the OneDrive sync folder [MC1242782]
![Set a custom name for the OneDrive sync folder [MC1242782] 4 pexels felixmittermeier 956999](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Set expiration policies for “People in your organization” sharing links in SharePoint and OneDrive [MC1242772]
![Set expiration policies for "People in your organization" sharing links in SharePoint and OneDrive [MC1242772] 5 cubes 3381438 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Microsoft Teams Rooms on Android: License-based management updates for DM-synced devices [MC1242781] 2 pexels timmossholder 1154739](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-timmossholder-1154739-150x150.webp)
![Microsoft Purview Insider Risk Management: Pay-as-you-go model for generative AI apps [MC1242784] 3 pexels scottwebb 1048049](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-scottwebb-1048049-150x150.webp)
![Set a custom name for the OneDrive sync folder [MC1242782] 4 pexels felixmittermeier 956999](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-felixmittermeier-956999-150x150.webp)
![Set expiration policies for "People in your organization" sharing links in SharePoint and OneDrive [MC1242772] 5 cubes 3381438 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/cubes-3381438_1920-150x150.webp)
