简体   繁体   English

从AWS RDS调用Lambda

[英]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). 我想创建一个触发器,该触发器在RDS数据库表中的任何事件(插入,更新等)中都存在时(如dynamoDB(对于任何数据库引擎))调用lambda函数。 And also want to create this Lambda dynamically in Node js. 并且还希望在Node js中动态创建此Lambda。

Thanks in advance. 提前致谢。

This is only supported only with AWS RDS Aurora Database. 仅AWS RDS Aurora数据库仅支持此功能。 Check the article Capturing Data Changes in Amazon Aurora Using AWS Lambda in AWS Database blog for an example use case. 在示例数据库中查看文章AWS数据库博客中的使用AWS Lambda在Amazon Aurora中捕获数据更改

You can Dynamically Create the Lambda function and Update the Aurora Stored Procedure with a Query to trigger the created Lambda function. 您可以动态创建Lambda函数并使用查询更新Aurora存储过程以触发创建的Lambda函数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM