[{"data":1,"prerenderedAt":54},["ShallowReactive",2],{"pattern-apigw-lambda-cdk-dotnet":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":25,"language":32,"level":33,"meta":34,"patternArch":35,"resources":6,"s3URL":6,"services":6,"stem":49,"testing":50,"videoId":6,"__hash__":53},"patterns\u002Fpatterns\u002Fapigw-lambda-cdk-dotnet.json","Amazon API Gateway to AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fankush-jain.json",{"text":13},[14],"cdk deploy","Create an Amazon API Gateway REST API to AWS Lambda","json","AWS CDK",{"template":19},{"repoURL":20,"projectFolder":21,"readmeURL":22,"templateURL":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-cdk-dotnet","apigw-lambda-cdk-dotnet","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-cdk-dotnet\u002FREADME.md","serverless-patterns\u002Fapigw-lambda-cdk-dotnet","src\u002Fcdk\u002Fsrc\u002FCdk\u002FCdkStack.cs",{"headline":26,"text":27},"How it works",[28,29,30,31],"The CDK stack creates an Amazon API Gateway REST API endpoint with AWS Lambda function proxy integration.","Proxy integration creates a proxy resource with the greedy path `{proxy+}` and the method `ANY`.","This means that the REST API endpoint accepts any method and any path by default.","The Lambda used in this pattern is an ASP.NET Core Web API application that has been configured to allow Lambda and API Gateway to act as the web server instead of Kestrel.",".NET","200",{},{"icon1":36,"icon2":41,"line1":45},{"x":37,"y":38,"service":39,"label":40},20,50,"apigw","API Gateway REST API",{"x":42,"y":38,"service":43,"label":44},80,"lambda","Lambda",{"from":46,"to":47,"label":48},"icon1","icon2","Request ANY {proxy+}","patterns\u002Fapigw-lambda-cdk-dotnet",{"text":51},[52],"See the GitHub repo for detailed testing instructions.","Ha8B9bTOTQA06DDPSUwQWHG28lV-9A0jvwIhG-QbwdE",1778846882109]