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년 전