Home > Net >  How to send JSON body from API Gateway without using Lambda in CDK
How to send JSON body from API Gateway without using Lambda in CDK

Time:04-11

Is there a way to send JSON body as response for 'GET' method in AWS API Gateway without using AWS Lambda. Here JSON is constant. It will be same every time this 'GET' method is called that why I don't want create a Lambda for that.

CodePudding user response:

Yes, your use case is ideal for mock API integration - https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html

  • Related