[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-apigw-lambda-tenant-isolation":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":56,"testing":57,"videoId":6,"__hash__":60},"patterns\u002Fpatterns\u002Fapigw-lambda-tenant-isolation.json","Multi-tenant API with AWS Lambda tenant isolation",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":13},[14,15],"sam build","sam deploy --guided","This sample project demonstrates the tenant isolation mode of AWS Lambda functions.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-tenant-isolation","serverless-patterns\u002Fapigw-lambda-tenant-isolation","apigw-lambda-tenant-isolation","template.yaml",{"headline":26,"text":27},"How it works",[28,29,30],"Amazon API Gateway receives the HTTP GET request with tenant id in the header x-tenant-id.","The API Gateway triggers either the standard or the tenant isolated Lambda functions depending on the URI.","Observe the counter variable value between standard and tenant isolation mode enabled Lambda function as you invoke the APIs for different tenant.","Python","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},30,50,"apigw","Amazon API Gateway REST API",{"x":41,"y":37,"service":42,"label":43},80,"lambda","AWS Lambda",{"from":45,"to":46,"label":47},"icon1","icon2","Request by tenant",{"bullets":49},[50,53],{"text":51,"link":52},"AWS Lambda tenant isolation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Ftenant-isolation.html",{"text":54,"link":55},"AWS Blog - Building multi-tenant SaaS applications with AWS Lambda’s new tenant isolation mode","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fbuilding-multi-tenant-saas-applications-with-aws-lambdas-new-tenant-isolation-mode\u002F","patterns\u002Fapigw-lambda-tenant-isolation",{"text":58},[59],"See the GitHub repo for detailed testing instructions.","yD_aowF7wbJv_eisc6PN8BTq_aViAOw-8Dxv4nek0CI",1778846882432]