Object lifecycles
Object Storage lets you define the actions automatically applied to individual objects or groups of objects in the bucket at specified points in time.
Types of actions:
- Change storage class for objects from
STANDARD
toCOLD
. - Delete objects.
- Deleting incomplete multipart uploads.
You can only configure object lifecycles for each individual bucket. You can't configure lifecycles for a bucket group, folder, or cloud.
To manage object lifecycles, you can use:
-
The Yandex Cloud management console.
-
Amazon S3-compatible HTTP API.
This way you can manage lifecycle configurations using tools with Amazon S3 HTTP API support.
When managing lifecycles via the Amazon S3-compatible HTTP API, define the configuration in XML format. Different tools may require different configuration formats, see the example for the AWS CLI in Managing lifecycles of object in buckets.
Changes are applied to the lifecycles at 00:00 UTC every 24 hours.