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
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.
1 Comment
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
This only works on RDS Aurora, not regular RDS. AWS support confirmed that for me today....