Learn how to deploy Amazon S3 Object Lock, cross-Region replication, and SSE-KMS encryption together as infrastructure as code with AWS CloudFormation. This post uses a three-stack pattern that correctly replicates Object Lock retention state and KMS-encrypted objects across two Regions for compliant, encrypted, WORM-protected storage.