compliance mode

An S3 Object Lock setting where nobody, not even the account's root user, can delete a locked object or shorten its retention before it expires.

In more detail

Compliance mode gives the strongest protection for backups because no stolen credential can undo it. The same rule cuts both ways: if you set the retention too long or lock the wrong data, you have to wait for it to expire or close the account. Test the settings in governance mode first, then switch to compliance mode for the copy that must survive an attacker.

Example

"DefaultRetention": {"Days": 30, "Mode": "COMPLIANCE"}

Related terms

Taught in

References

Certification courses