Diagram

A state diagram showing an object version flowing through four states: live in Standard storage, transitioned to a colder storage class by SetStorageClass, becoming noncurrent after an overwrite or delete of the live version, and finally deleted. A dot travels state to state, revealing the version chain v1 live, v1 cold, v1 noncurrent while v2 is live, and v1 deleted.
How the NumNewerVersions Condition Controls Retention
The NumNewerVersions condition is a lifecycle condition that controls retention of noncurrent versions by counting how many newer versions exist. A lifecycle rule with this condition keeps a defined number of the most recent versions and makes older noncurrent versions eligible for transition or deletion. Data flows from live to noncurrent when an overwrite or delete occurs, and then the rule evaluates each noncurrent version against the count. Choose this condition when the goal is to keep recent history for recovery while automatically cleaning up older copies.
Domain 2 of 7
24 practice questions
Practice this DomainLast updated