S3 Object Lock

An S3 feature that stores objects in write-once, read-many form, so they cannot be deleted or overwritten until a retention date.

In more detail

Governance mode lets specially permitted users lift the lock; compliance mode does not let anyone, even the root user. For audit logs it turns proof of tampering into prevention of tampering, even against administrators in compliance mode.

Examples

{"ObjectLockEnabled": "Enabled", "Rule": {"DefaultRetention": {"Days": 30, "Mode": "COMPLIANCE"}}}
aws s3api put-object-lock-configuration --bucket <bucket> --object-lock-configuration file://lock.json

Related terms

Taught in

References

Certification courses