- both retention and legal holds are replicated
2/3. if s3:GetObjectRetention and s3:GetObjectLegalHold are not set in the replication role, objects without retention/hold will be replicated, but objects with retention/hold will fail replication (no data will be replicated)
- yes, retention/holds applied after an object is replicated will also be replicated (similar to tags/acls)
- yes, retention/holds can be modified on objects in the destination after replication
- legal hold changes applied to the source object will be replicated to the destination object. for retention info, if in GOVERNANCE mode, the changes will be replicated; if in COMPLIANCE mode, the changes will be replicated only if the date for the source object is after the date for the destination object (in other words, in COMPLIANCE mode, replication can only extend the protection period)
hope that helps!
Thanks jakeataws. This is very helpful.
Can you help me with the following follow-up questions:
Let's assume that a source object has been replicated and the x-amz-replication-status has been set to COMPLETED (for the source object). If the retention on the source object is modified, will the x-amz-replication-status get changed to PENDING while the retention changes are being applied at the destination bucket and then change back to COMPLETED again after the retention changes are applied at the destination bucket?
Does the same apply to ACLs and tag changes as well?
S3 object lock on existing S3 objects?Accepted AnswerEXPERTasked 2 years ago
bucket is missing object lock configurationasked 4 years ago
S3 Object Lock and CRR
Enable Object Lock with Cloudformationasked 3 years ago
Question about Object Lockasked 3 months ago
S3 bucket replication with Object lock. "Contact support"asked 6 months ago
S3 Object-Lock and Glacier Vault Lock - Third Party Backup SupportAccepted Answerasked 3 years ago
S3: Configure object lock with replication (CRR) on aws s3 bucketsasked 5 months ago
S3 CRR and objects locksAccepted Answerasked 2 years ago
Does AWS S3 CRR/SRR replication order match the order of object creation?