Posted On: Apr 26, 2021

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

You can invoke Amazon 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. Learn more about upgrading your database instances from the Amazon RDS User Guide. See Amazon RDS for PostgreSQL Pricing for pricing details.