Is it possible to trigger a AWS Lambda function once a set of files has been uploaded to AWS S3. For example, if and only if file A, B, and C have been uploaded?
0
votes
1 Answers
1
votes
Not that I've found, the only way I've found to do it is to send a notification file once the others are complete, so create A, B and C then create files.complete - I usually pass it the file names for the params.Body. You can then S3.listObjects on your bucket (the bucket name is passed in the event data) to get the names and iterate through that list to access them.