[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"pattern-apigw-rest-api-lambda-vpc-sqs-sam":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":55,"s3URL":6,"services":6,"stem":72,"testing":73,"videoId":6,"__hash__":76},"patterns\u002Fpatterns\u002Fapigw-rest-api-lambda-vpc-sqs-sam.json","Amazon API Gateway REST API to AWS Lambda in VPC to Amazon SQS",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsana-fathallah.json",{"text":13},[14],"sam deploy","Create a REST API to send message to Lambda then to SQS.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-api-lambda-vpc-sqs","serverless-patterns\u002Fapigw-rest-api-lambda-vpc-sqs","apigw-rest-api-lambda-vpc-sqs","template.yml",{"headline":25,"text":26},"How it works",[27],"This pattern deploys an Amazon API Gateway REST API with Dev stage, the API key required for the authentication, and a Lambda proxy integration. The API will send a message to the Lambda function that has customer VPC access, and this function will send the message to the SQS queue.","Python","300",{},{"group1":32,"icon1":38,"icon2":43,"icon3":46,"line1":50,"line2":53},{"x":33,"y":34,"w":35,"h":36,"label":37},26,15,72,70,"VPC",{"x":39,"y":40,"service":41,"label":42},13,50,"apigw","REST API",{"x":40,"y":40,"service":44,"label":45},"lambda","AWS Lambda",{"x":47,"y":40,"service":48,"label":49},80,"sqs","Amazon SQS",{"from":51,"to":52},"icon1","icon2",{"from":52,"to":54},"icon3",{"bullets":56},[57,60,63,66,69],{"text":58,"link":59},"Working with REST APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-rest-api.html",{"text":61,"link":62},"Working with AWS Lambda proxy integrations","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fset-up-lambda-proxy-integrations.html",{"text":64,"link":65},"API key","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapi-gateway-setup-api-key-with-console.html",{"text":67,"link":68},"Configuring a Lambda function to access resources in a VPC","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-vpc.html",{"text":70,"link":71},"Lambda with SQS","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-sqs.html","patterns\u002Fapigw-rest-api-lambda-vpc-sqs-sam",{"text":74},[75],"See the GitHub repo for detailed testing instructions.","KEzfHMIoxKSDs5v7IvY2zr6LTt5aq3eA88u9kyoyrAU",1778846882635]