[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-apigw-http-lambda-documentdb-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":28,"level":29,"meta":30,"patternArch":31,"resources":50,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Fapigw-http-lambda-documentdb-cdk.json","Amazon API Gateway to AWS Lambda to Amazon DocumentDB ",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fjoachim-aumann.json",{"text":13},[14],"cdk deploy","Create an Amazon API Gateway HTTP API to invoke a Lambda function to read and write to DocumentDB.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-http-lambda-documentdb-cdk","serverless-patterns\u002Fapigw-http-lambda-documentdb-cdk","apigw-http-lambda-documentdb-cdk","lib\u002Fapigw-http-lambda-documentdb-stack.ts",{"headline":25,"text":26},"How it works",[27],"This AWS CDK stack deploys an API Gateway HTTP API that integrates with a Lambda function and a DocumentDB cluster. The Lambda function is configured to use a customer VPC to connect to the DocumentDB cluster. The Lambda function implements CRUD operations on the database.","TypeScript","200",{},{"icon1":32,"icon2":37,"icon3":40,"line1":44,"line2":48},{"x":33,"y":34,"service":35,"label":36},20,50,"apigw","Amazon API Gateway",{"x":34,"y":34,"service":38,"label":39},"lambda","AWS Lambda",{"x":41,"y":34,"service":42,"label":43},80,"documentdb","Amazon DocumentDB",{"from":45,"to":46,"label":47},"icon1","icon2","",{"from":46,"to":49,"label":47},"icon3",{"bullets":51},[52,55],{"text":53,"link":54},"DocumentDB documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fdocumentdb\u002Flatest\u002Fdeveloperguide\u002F",{"text":56,"link":57},"Lambda documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html","patterns\u002Fapigw-http-lambda-documentdb-cdk",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","2n2XTqT-o5EWHI8-uqEDp0jXSYHiPyuP9N5u_l99g6I",1778846881948]