Posted On: Apr 14, 2021

Amazon RDS for PostgreSQL can now make calls to AWS Lambda functions. AWS Lambda lets you run code without provisioning or managing servers, and without worrying about scalability.

You can invoke Lambda functions directly from within an Amazon RDS for PostgreSQL database via stored procedures or user-defined functions. This allows you to extend the capabilities of the database and invoke external applications to act upon data changes. For example, you can create a Lambda function that sends emails to customers whenever their address in the database is updated. Lambda functions can be invoked either synchronously or asynchronously. For more details, read the Amazon RDS for PostgreSQL documentation.

Amazon RDS for PostgreSQL makes it easy to set up, operate, and scale PostgreSQL deployments in the cloud. See Amazon RDS for PostgreSQL Pricing for pricing details and regional availability. Create or update a fully managed Amazon RDS database in the Amazon RDS Management Console.