Category | Considerations |
Constraints and limitations |
|
Intelligent Tiering |
|
Operations that update an object's last modified time | Operations such as renaming or overwriting an object update its last modified time. For more information, see Which operations update an object's last modified time?. |
Permissions | Before you begin, ensure that your account has the tos:PutObjectSetLifecycleByTag, tos:GetObjectSetLifecycleByTag, and tos:DeleteObjectSetLifecycleByTag permissions. For more information, see Bucket policy overview. |
Parameter | Description |
Rule name | Used to identify the lifecycle rule. Lifecycle names must:
|
Status | Determines when the rule takes effect. The options are:
|
Target Tag Key | Sets the key of the ObjectSet tag for which you want to create a lifecycle rule. |
Target Tag Value | Sets the value of the ObjectSet tag for which you want to create a lifecycle rule. |
Impact Scope | Defines the ObjectSet prefix for objects to which the lifecycle rule applies. After you specify an ObjectSet prefix, the rule applies to matching objects. The prefix is a relative path. Once the rule takes effect, the relative path is automatically prefixed with the prefix of each ObjectSet bound to the tag. Leave this field empty to match all objects within those ObjectSets. |
Tag | TOS allows you to configure lifecycle rules for objects with specific tags. warning
|
Not | Enabling this option will prevent the lifecycle rule from applying to objects with the specified prefix and tag. Follow these guidelines when specifying a prefix or tag:
warning
|
File size | Specifies the size range of objects to which the lifecycle rule applies. Valid range: [1 B, 5 TiB]. The options are:
If both Specify the minimum file and Specify the maximum file are selected, the lifecycle rule only applies to objects whose sizes fall within this range. warning
|
Effective policy | Select Last modified time. tip TOS only retains the time when an object was last modified (last modified time). If you do not update the object's metadata or overwrite the object, the last modified time will remain the same as the creation time. For more information, see Which operations update an object's last modified time?. |
Latest file version expiration policy | Sets the expiration policy for latest object versions. This policy is turned on by default. The options are:
warning
|
File history version expiration policy | If versioning is enabled for your bucket, you can activate the latest file version expiration policy. This policy is turned off by default. The options are:
warning If you select multiple expiration policies, make sure the time interval between any two policies is greater than or equal to the minimum storage duration for each respective storage type. Otherwise, early deletion charges may apply. The minimum storage durations are as follows:
For example, if the number of days after which in-scope objects will automatically transition to Flashback Archive is set to 90, the transition to Archive must occur after at least 180 days to avoid early deletion charges. |
Part expiration policy | This policy is turned off by default. Once enabled, you can set an expiration period in days. Any incomplete multipart uploads will be automatically deleted after this period elapses. |