[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigw-to-private-apig-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":16,"description":20,"extension":21,"framework":22,"gitHub":23,"highlight":6,"introBox":32,"language":36,"level":37,"meta":38,"patternArch":39,"resources":55,"s3URL":6,"services":64,"stem":65,"testing":66,"videoId":31,"__hash__":70},"patterns\u002Fpatterns\u002Fapigw-to-private-apig-cdk.json","Public Amazon API Gateway endpoint to private Amazon API Gateway endpoint",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.","3. You see a message confirming DELETE_COMPLETE.",[14,15],"content\u002Fcontributors\u002Frajneesh-ranjan.json","content\u002Fcontributors\u002Fbritney-tong.json",{"text":17},[18,19],"npx cdk bootstrap aws:\u002F\u002Faccountnumber\u002Fregion","npx cdk deploy --app 'ts-node .' --all","Create a public API Gateway endpoint integrated with a private API Gateway endpoint.","json","AWS CDK",{"template":24,"payloads":29},{"projectFolder":25,"repoURL":26,"templateURL":27,"templateFile":28},"apigw-to-private-apig-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-to-private-apig-cdk","serverless-patterns\u002Fapigw-to-private-apig-cdk","src\u002Findex.ts",[30],{"headline":31,"payloadURL":31},"",{"headline":33,"text":34},"How it works",[35],"This pattern in CDK creates a public API Amazon API Gateway endpoint integrated with a private API Gateway endpoint in a VPC.","Node.js","200",{},{"group2":40,"icon1":46,"icon2":50,"line1":52},{"x":41,"y":42,"w":43,"h":44,"label":45},55,20,40,60,"VPC",{"x":42,"y":47,"service":48,"label":49},50,"apigw","API Gateway",{"x":51,"y":47,"service":48,"label":49},80,{"from":53,"to":54,"label":31},"icon1","icon2",{"headline":56,"bullets":57},"Additional resources",[58,61],{"text":59,"link":60},"Creating a private API in Amazon API Gateway","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-private-apis.html",{"text":62,"link":63},"How to invoke a private API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-private-api-test-invoke-url.html",{"from":48,"to":48},"patterns\u002Fapigw-to-private-apig-cdk",{"headline":67,"text":68},"Testing",[69],"See the GitHub repo for detailed testing instructions.","AN8uZhUhfxMBfRV3VPwmj2-HYGmpGgzHCYrjUKWohfE",1778846882909]