2 Answers
- Newest
- Most votes
- Most comments
0
You can follow the AWS Blog https://aws.amazon.com/blogs/database/trigger-an-aws-lambda-function-from-amazon-rds-for-mysql-or-amazon-rds-for-mariadb-using-audit-logs-and-amazon-cloudwatch/
answered 2 months ago
-1
Hi,
There is such a solution:
- write an SQL trigger to be started on each row insert for table(s) of interest: https://www.mysqltutorial.org/mysql-triggers/mysql-after-insert-trigger/
- Call the Lambda (sync or async from this trigger): https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.Lambda.html
Hope it helps! Didier
Relevant content
- asked 4 years ago
- asked 7 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
Hello,
As I mentioned, It's RDS MySQL not RDS Aurora MySQL. Using lambda_sync and lambda_async native functions we can trigger lambda function but, incase of RDS MySQL how can we invoke a lambda function? Thanks, Kasha.