I'm having issues finding examples on how to create "URL Query String Parameters" for "Integration Request" on API Gateway via Cloud Development Kit (CDK). Most examples I find are for lambda (I don't need this) not REST (I need this), and even those don't cover the integration requests.
I'm creating the api definition via aws-apigateway.SpecRestAPI.
const api = new apiGateway.SpecRestApi(this, 'my-api', {
apiDefinition: apiGateway.ApiDefinition.fromInline(openApiDefinition),
I'm not sure I'm even tying the integration to the API.
How do I tie the integration to the API and how do I map the integration request like I can through the GUI?
I've tried exporting a manually configured API Gateway but it doesn't include any information about where to perform the translation.
Let me know if I need to add more information and thanks in advance!