Skip to content

Commit dc5f240

Browse files
committed
docs(infra): explain "object lock" in infra/aws-s3/README.md
1 parent 0929e88 commit dc5f240

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

infra/aws-s3/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@
88
- An AWS IAM user with permissions to manage S3 buckets and IAM.
99
(e.g. predefined policy `AmazonS3FullAccess` and `IAMFullAccess`, though
1010
they're too permissive).
11+
12+
## Object Lock
13+
14+
Lifecycle rules of AWS S3 are configured to expire (delete) objects after they
15+
have been uploaded for a given period (e.g. 180 days). But we often want to keep
16+
certain objects forever. On this purpose, we can harness the [object lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html)
17+
feature, specificall by manually enabling the "Object Lock legal hold" for the
18+
underline object.

0 commit comments

Comments
 (0)