I have a server built with sam local start-api using a PostgreSQL database running in a Docker container.
I'd like to invoke a lambda function that sends emails via AWS SES on the execution of a trigger in the PostgreSQL database. Is this something possible to achieve?