Mayank
Mayank

Reputation: 345

Lambda invocation from AWS RDS

I want to create an trigger which invoke the lambda function when there in any event(Insert, Update etc) in the RDS database table like in dynamoDB(For any database engine). And also want to create this Lambda dynamically in Node js.

Thanks in advance.

Upvotes: 0

Views: 1321

Answers (1)

Ashan
Ashan

Reputation: 19728

This is only supported only with AWS RDS Aurora Database. Check the article Capturing Data Changes in Amazon Aurora Using AWS Lambda in AWS Database blog for an example use case.

You can Dynamically Create the Lambda function and Update the Aurora Stored Procedure with a Query to trigger the created Lambda function.

Upvotes: 1

Related Questions