Home icon

Flexibly control Amazon S3 Object Lock retention based on real business events

Storage Blog



This article explains Amazon S3 Object Lock's variable retention feature, which enables retention periods triggered by business events rather than predetermined dates.

  • Variable retention uses event holds and configurable durations to protect data until triggering events occur
  • Retain-until-date dynamically computes as current time plus duration while hold is active, advancing automatically
  • Releasing the hold fixes the retain-until-date at release time plus duration, starting the countdown in compliance mode
  • Supports contract retention workflows where records must stay protected until contracts end, regardless of timing
  • Enables ransomware recovery windows by setting 30-day default retention on all new object versions
  • Separates hold release from deletion, allowing two-person approval with S3-enforced waiting periods
  • Works with S3 Batch Operations to migrate existing archives from rolling extension schedules
  • Integrates with CloudTrail, S3 Inventory, and S3 Storage Lens for monitoring and auditing
  • Available in all AWS Regions at no additional charge; billed as standard PUT requests

Variable retention eliminates the need for scheduled retention extension jobs while ensuring data remains protected until business obligations end and stops incurring storage charges afterward.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Sep 8
2026
Amazon S3 Object Lock now supports variable retention with event holds
Mar 27
2024
Maintaining object immutability by automatically extending Amazon S3 Object Lock retention periods
Jan 23
2026
Applying Amazon S3 Object Lock at scale for petabytes of existing data
Aug 7
2026
Securing your Amazon S3 buckets: Identifying and remediating over-permissioned access

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.