2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
3
You will need to put this logic inside your Lambda function. Something like this:
If (my companion file exists in the bucket) then
if (my file datetime is newer that my companion file) then
parse files and add data to queue
end
end
0
Hi, short Answer. That is not possible. The S3 Lambda Trigger sends an Event for every Object.
You can send the message to SQS and than trigger the Lambda function via the SQS Trigger. S3 -> SQS -> Lambda -> SQS The SQS Trigger offers a configurable Batch size and Batch window. That can work if you can guarantee that only these two files trigger the S3 Events in the defined Batch window.
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 4 meses
- AWS OFICIALAtualizada há 2 anos