Configuring Lifecycle

Last updated: 2019-10-15 21:16:40

PDF

Use Cases

With lifecycle configuration, certain predefined actions can be automatically performed when a rule is applied to objects. For example:

  • Transition: transition objects to STANDARD_IA storage or ARCHIVE storage after a specified time of period.
  • Expiration: automatically delete objects after their specified expiration time.

For more information, see Lifecycle Overview and Elements of Lifecycle Configuration.

Directions

Via the COS Console

You can configure the lifecycle in the COS Console. For more information, see Lifecycle Management in Console Guide.

Via REST API

You can configure and manage the lifecycle of objects in a bucket through the REST API as described in the following API documentations:

Via the SDK

You can directly call the lifecycle method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: