Amazon Aurora Postgres 是否支持 lambda 调用?

Does Amazon Aurora Postgres support lambda invocations?

根据我在 AWS 文档中收集到的信息,Aurora MySQL 支持调用 lambda 函数作为触发器: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Integrating.Lambda.html

Postgres 没有这样的文档。 有没有办法从 Postgres 实例调用 lambda?

RDS 上的 PostgreSQL:

如果您在 RDS 上使用 PostgreSQL,那么它目前不支持调用 lambda 函数作为触发器。

Amazon Aurora(PostgreSQL 兼容性):

截至目前,这也不支持调用 lambda 函数作为触发器。

EC2 上的 PostgreSQL:

但是如果您在 EC2 上设置了 PostgreSQL,那么您可以使用杠杆 PL/Python language 创建您的 用户定义函数 AWS Python SDK 调用 Lambda 函数。

在下面的链接中,查看标题为 PostgreSQL setup 的部分,他们在其中提供了实现相同目的的详细步骤。

AWS Blog Link: Set up a SQL-to-Lambda interface

GitHub Link: aws-lambda-rdbms-integration

自 2020 年 12 月起,Aurora PostgreSQL 支持 Lambda invocations. Documentation can be found here