This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Stack, StackProps } from 'aws-cdk-lib'; | |
import * as apigateway from 'aws-cdk-lib/aws-apigateway'; | |
import { Construct } from 'constructs'; | |
export class MyStack extends Stack { | |
constructor(scope: Construct, id: string, props?: StackProps) { | |
super(scope, id, props); | |
const mockIntegration = new apigateway.MockIntegration({ | |
passthroughBehavior: apigateway.PassthroughBehavior.WHEN_NO_TEMPLATES, |
OlderNewer