Create API Gateway with VPC Link integration

Hi guys, I’m facing the issue that each time I want to create an API Gateway using an specific VPC Link ID the API Gateway is being created with AWS Lambda Integration.

provider:
name: aws
runtime: nodejs18.x
region: us-east-1

functions:
testFunction:
handler: handler.test
events:
- http:
path: /get/serverless/test
method: get
integration: http-proxy
connectionType: vpc-link
connectionId: ‘{VPC LINK ID}’
cors: true
request:
uri: {DNS-NLB}:80/serverless/test
method: get

apigateway-lambdaintegration

This api should be hitting a microservice that runs in an eks cluster.
Could someone give me a hint please?

Looks like your .yml isn’t indented correctly when you posted it here. For instance, maybe that’s the reason.

You’ve also not said how you have verified what is being created as a result.