Is there any way to define an S3 trigger that says "only run after these 3 files have been uploaded"?
In this blog, we will delve into the intricacies of defining S3 triggers that meet multiple event requirements.
As far as I know, there is no direct way to trigger Lambda on the basis of such conditions. We need to write your logic in a separate lambda which will trigger your function.
I think we have some approaches here
Once the zip is uploaded to S3, the lambda gets notified, processes that zip, extracts all three files, does some processing, and triggers the state machine with processed data.
The S3 uploads would trigger an AWS Lambda function. This function should check for the existence of the other files. If they are present, it should continue processing. If they are not present, it should exit.
What if it simply notified an SNS topic that it had completed a batch of S3 uploads? You could subscribe your Lambda function to that SNS topic.
Reference
Table of Contents
- The blog introduces the "Fukatsu-style universal prompt," a method that can improve the accuracy of responses from ChatGPT. It is a must-read for anyone who wants to enhance their use of ChatGPT and obtain more accurate and reliable answers.
Auto Wake Your MacOS on Schedule
TIL how to wake your Mac automatically using macOS commands with a schedule. Discover effective methods to set reminders, keep your workflow smooth, and be productive!
