- Newest
- Most votes
- Most comments
The statement is not entirely correct. In Amazon S3 Object Lock, the maximum allowable retention period is 100 years, not 100 days or years as stated. You can set retention periods in either days or years, and you can also set minimum and maximum allowable retention periods for a bucket by using a bucket policy. When you set a retention period, Amazon S3 calculates a "Retain Until Date" for the object version by adding the specified duration to the object version's creation timestamp. The retention period applies to individual object versions, and different versions of a single object can have different retention modes and periods.
Sources
Object Lock considerations - Amazon Simple Storage Service
Locking objects with Object Lock - Amazon Simple Storage Service
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails - AWS Security Hub
Relevant content
- AWS OFFICIALUpdated a year ago
