Hi, Thank you for this great tutorial. Just wanted to know if it's possible to have the reverse scenario whereby StepFunction gets auto triggered upon receiving a message in certain SQS. Thanks!
Hi Vaib, this is possible but you would need to use something a Lambda function to poll the message from the SQS queue and invoke the step function. Hope this helps
hi iam recieving sqs messages through lambda trigger in event.records,how can i send that event.records data to another lambda and process its job through step functions.
Thanks man for the video, I have the opposite situation, I have messages from SQS and I want to pass them to StepFunctions, how can I do that? do I need a lambda to trigger this job? or I can pass them directly to StepFunctions from the SQS queue? The msg I have is an S3 notification from a PUT request to give you more visibility about what I'm asking for.
Hi Mo7dBa7rani, Good question. You will definitely need *something* to trigger the start of the step function. A lambda is definitely a low cost and an effective way to do this. I'm not sure if your use case warrants this, but you can possibly get rid of your SQS and use the S3 PUT notification to trigger a Lambda directly. In the Lambda you would start the Step Function execution like normal. The S3 notification will contain the data about the file that was uploaded if you need additional context when starting the step function. I have a tutorial on S3 PUT -> Lambda trigger here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H_rRlnSw_5s.html You can possibly combine the above video with this video on starting a Step Function from Lambda: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kpuqc_7DQZA.html Hope this helps!
AWS Simplified thanks for the fast reply, I’m doing some experiments on that and used sqs to manage the high number of requests that my concurrent won’t handle. It’s for a project that I’ll upload in SAR. Thanks for the help..