Configuring Lifecycle

Last updated: 2020-12-23 12:02:02

    Use Cases

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

    • Transition: transitions objects to the STANDARD_IA, INTELLIGENT_TIERING, ARCHIVE or DEEP_ARCHIVE storage class 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.


    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: