Please refer "Enabling S3 Object Lock" under https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-overview.html#object-lock-bucket-config
- When you create a bucket with Object Lock enabled, Amazon S3 automatically enables versioning for the bucket.
- If you create a bucket with Object Lock enabled, you can't disable Object Lock or suspend versioning for the bucket.
When you turn on Object Lock for a bucket, the bucket can store protected objects. However, the setting doesn't automatically protect objects that you put into the bucket. If you want to automatically protect object versions that are placed in the bucket, you can configure a default retention period. Default settings apply to all new objects that are placed in the bucket, unless you explicitly specify a different retention mode and period for an object when you create it. Bucket default settings require both a mode and a period. A bucket default mode is either governance or compliance.
S3 object lock on existing S3 objects?Accepted AnswerEXPERTasked 3 years ago
Enable Object Lock on Existing Bucketasked 8 months ago
Question about Object Lockasked 6 months ago
S3 Object lock in compliance mode, file uploaded thru cli, file properties shows compliance mode, I can still delete it.Accepted Answerasked a year ago
S3 bucket replication with Object lock. "Contact support"asked 9 months ago
S3 Object Lock and CRRasked 3 years ago
Enable Object Lock with Cloudformationasked 4 years ago
S3 Object Lock and incomplete uploads.asked 2 months ago
S3 Bucket Object Lock - Deleting an object version with no retention settings requires 'BypassGovernanceRetention' permissionsasked 18 days ago
S3: Configure object lock with replication (CRR) on aws s3 bucketsasked 7 months ago