RDS Service Triggering Lambda

Roopesh Kumar picture Roopesh Kumar · Nov 29, 2015 · Viewed 13.7k times · Source

I am new to AWS and I was looking for a way to trigger Lambda from RDS Service in particular MYSql. Is there any way possible to achieve it? If not is there any other way to achieve the same?

Answer

garnaat picture garnaat · Nov 29, 2015

There is no way to directly trigger Lambda functions from RDS but you can associate an SNS topic with an RDS instance for notifications (see this) and then add that SNS topic as an event source to a Lambda function which would have the same effect. This document describes the available event categories in RDS.