2

I could see that in AWS documentation we can invoke lambda function from Aurora MySQL. But, I didn't see any documentation on RDS SQL Server. So, is it possible to invoke lambda function from AWS RDS SQL Server on table row insert or update?

3 Answers 3

1

As of now, there is no available feature as you expected. One approach that may help you, is to use the AWS DMS to stream Change Data to Amazon Kinesis Data Streams. Refer to this blog post for the detail of implementation.

You can consume the stream from kinesis with Lambda (or any other Kinesis-enabled app) afterward.

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

1 Comment

Thanks Teddy for response, here I am already using DMS for ongoing replication to RDS SQL Server. So, after every insertion into target table I want to invoke lambda/SNS with the jobid. I see option of lamnda_async for mysql but not seeing anything for SQL server.
0

Yes, I think it possible using SNS. You need to add a permissions to invoke lambda to your database. See the documentations: https://docs.aws.amazon.com/lambda/latest/dg/services-rds.html

Comments

0

This only works on RDS Aurora, not regular RDS. AWS support confirmed that for me today....

1 Comment

Do you have any documentation for this? Did it work for you? Thanks

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.