Emptying Buckets
When a bucket has more than 1000 objects, it’s burdensome to empty it synchronously. The best solution is to take advantage of lifecycle rules which asynchronously operate on destination bucket. Here is a sample lifecycle ruleSample lifecycle rule
lifecycle.json and you can apply that to the bucket you intend to empty ---