Home > Software engineering >  How to trigger lambda function through another function?
How to trigger lambda function through another function?

Time:05-28

I would like to run one lambda function, that would return a list of parameters. Based on the number of parameters I would like to trigger another lambda functions to finish the process individually (e.g. 100 independent sub-lambda function).

Would like to know how this be done? It would be great if there are some github settings? Thanks a lot.

CodePudding user response:

There are three options: first, call Invoke using the AWS SDK for your language.

Second, use Step Functions.

Third, write each parameter onto an SQS queue, and configure the second Lambda to be triggered by that queue. This is the approach that I'd use.

  • Related