0

The project I'm working on requires creating an DB aurora (PostgreSQL) that will send request to a lambda function (After every insert to X table) and the lambda function invoke a step function.

Aurora > Lambda > Step Function > Lambda

So the question : How can I invoke (and sent data) to my lambda function and after that invoke the step function in every insert to my X table? (I am open to any solutions)

I'm using asp.net and C# and i want to use EF with the step function to do "Select Data".

1 Answer 1

2

So the question : How can I invoke (and sent data) to my lambda function

Follow this documentation to trigger a Lambda function from Aurora. It shows examples of sending payload data from Aurora to the Lambda function.

and after that invoke the step function in every insert to my X table?

Just use the AWS SDK in the Lambda function to call StartExecution on your Step Function. In C#, that would be this method.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.