Skip to content

In AWS S3, the lock or retention on the bucket or object should be limited to 100 days or years. Is the statement correct

0

In AWS S3, the lock or retention on the bucket or object should be limited to 100 days or years. Is the statement correct

asked 10 months ago192 views

1 Answer
0

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

answered 10 months ago

EXPERT

reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.