Skip to main content

LifecycleExpiration

Configuration for automatic object deletion (expiration).

When the expiration condition is met, objects matching this rule are permanently deleted.

Specify ONE Condition (Not Both)

  • days: Delete objects N days after their creation date
  • date: Delete all matching objects on a specific date


<Schema
{...require("./lifecycleexpiration.Schema.json")}
>

</Schema>

LifecycleExpiration
{
"days": 0,
"date": "2025-01-01T00:00:00Z"
}