1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
I don't believe that you can maintain a number of 'latest' versions using a lifecycle rule unless you are using a bucket versioning. I think the solution may be to use a Lambda function to review the files in your bucket and to remove the ones you don't need. This function could be scheduled as frequently as needed, or on PUT events using EventBridge.
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
Thanks for suggesting