AWS RDS and Aurora both support synchronous and asynchronous lambda invocations from the database. Should be used very carefully, but when you want/need a fully event-driven architecture, it's wonderful.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Postg...