2 個答案
- 最新
- 最多得票
- 最多評論
0
Unfortunately, S3 lifecycle policy only supports expiration by days, so if you want to expire your objects in minutes, you need to develop your own solution.
As a possible solution, after you upload an S3 object that you want to expire in 15 minutes, you push its bucket and key info into an SQS queue. You can delay the message visibility for 15 minutes so that your queue processing function can "delay" the deletion for 15 minutes after the object was upload.
已回答 7 個月前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前