Lifecycle rules automate transition and expiration of objects based on time since creation or tags.
Transition Actions:
- Move to Standard-IA after a set period (e.g., 60 days).
- Archive to Glacier after longer retention (e.g., 6 months).
Expiration Actions:
- Delete objects after a set time (e.g., logs after 365 days).
- Remove old versions if versioning is enabled.
- Delete incomplete multipart uploads.
Scope:
- Apply rules to a prefix (folder-like path) or to objects with specific tags.
Allowed Transition Paths
- Standard → IA / Intelligent-Tiering / One-Zone IA / Glacier Instant Retrieval / Glacier Flexible Retrieval / Glacier Deep Archive.
- Standard-IA → Intelligent-Tiering / One-Zone IA / Glacier Instant Retrieval / Glacier Flexible Retrieval / Glacier Deep Archive.
- Intelligent-Tiering → One-Zone IA / Glacier Instant Retrieval / Glacier Flexible Retrieval / Glacier Deep Archive.
- One-Zone IA → Glacier Instant Retrieval / Glacier Flexible Retrieval / Glacier Deep Archive.
- Glacier Instant Retrieval → Glacier Flexible Retrieval / Glacier Deep Archive.
- Glacier Flexible Retrieval → Glacier Deep Archive.