2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
I would use a Lambda function triggered by any create action that had logic like this:
get count of objects in bucket
if count = 20 then
get create datetime for triggered object
get create datetime of objects in the bucket
loop through datetimes
find the oldest create datetime
if triggered object datetime = oldest datetime
move the files
end
end
0
Why do you have to wait at all? Why not move them one at a time? Also, this action is idempotent. If the file was already moved, it can return success.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un mois
- demandé il y a 3 mois
- demandé il y a 6 mois
- demandé il y a 9 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 3 ans