If you want to delete a large number of objects from a bucket, you can configure a lifecycle rule to implement automatic deletion upon expiration or schedule the time for automatic deletion. On the Lifecycle Rule page, create rules and configure parameters by referring to Table 1:
Parameter |
Value |
---|---|
Status |
Enable |
Rule Name |
Example: rule-delete |
Applies To |
You can apply the deletion rule to the entire bucket or to objects that share the same name prefix in the bucket. |
Current Version |
Expiration Time Days: 1 |
Historical Version |
Expiration Time Days: 1 |
One day later, objects in the bucket are successfully deleted based on the rule. If you do not need this lifecycle rule, you can disable it or delete it.