Is there a way to trigger lambda only after multiple files have uploaded in s3
问题 A user uploads multiple files into my S3 bucket with the current day as prefix for all the files. I need to trigger a lambda function only after I have received all the files under the prefix. How can I do that?. 回答1: Create a DynamoDb table to keep track of the uploaded parts. You should use a HASH key to store the prefix of the files, or something like that. Another attribute could be a count of parts. On each part uploaded, a lambda will be called and it will update the record at the table