I'm trying to simulate invoking lambda functions on my computer using LocalStack and PostgreSQL. In RDS, this can be done using the aws_lambda PostgreSQL extension. I was thinking of installing the aws_lambda in my local Postgre and make it trigger the lambda defined in LocalStack. However, I can't seem to find a way to install the aws_lambda extension.
Does anybody know if the extension is open source? Can I get my hands on it? If not, is there a way to simulate lambda invocation in Localstack?