1 個回答
- 最新
- 最多得票
- 最多評論
1
Hi,
It would be interesting to hear different approaches to find the most elegant/effective, first what came to my mind are:
Straightforward
- Use tags to add a time, after which file must be moved
- Use EventBridge scheduler to trigger Lambda, which will search all files with tag, compare it with the creation time and make decision if file must be moved. Remove tag after the move, so we are not triggering it anymore.
More effective
- Use DynamoDB with link to S3, creation time, set TTL to the record.
- Trigger Lambda when item deleted from DynamoDB to initiate move
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前