My idea is to build an endpoint in an aws api gateway and use vpc link, the problem is that I can make it work but I have to use a mock function to create the event, my idea was to see if it can’t be done do in a way that does not create a function for me
VPCLink:
name: test-Vpc-Link
handler: src/functions/mock.handler # Seems like this is only needed to pass validation and never used
events:
- http:
path: /test/vpclink
method: get
integration: http-proxy
connectionType: vpc-link
connectionId: 'xxxxxxx'
cors: true
request:
uri: http://url.com/test/vpclink
parameters:
paths:
proxy: true