How to create API Gateway with Lambda Proxy Integration

Accordingly with the aws documentation a proxy resource may have two type of integration: 1. HTTP proxy integration or 2. Lambda proxy integration. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-up-simple-proxy.html
Is it possible with servlerss to create a proxy resource with a Lambda function integration?
I don’t need the request to be proxied to a uri (http proxy integration), I need to request to be proxied to a lambda function that will generate a response. Is that possibile?

1 Like

Ok I have found what I need:

events:
- http:
method: any
path: api/{proxy+}