[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-apigw-lambda-authorizer-basic-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":49,"s3URL":6,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Fapigw-lambda-authorizer-basic-cdk.json","Amazon API Gateway AWS Lambda authorizer for basic HTTP authentication",null,{"text":8},[9],"\u003Ccode>cdk destroy\u003C\u002Fcode>",[11],"content\u002Fcontributors\u002Fthiago-padua.json",{"text":13},[14],"cdk deploy","API Gateway REST API protected by a Lambda Authorizer supporting basic HTTP authentication.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-authorizer-basic-cdk","serverless-patterns\u002Fapigw-lambda-authorizer-basic-cdk","apigw-lambda-authorizer-basic-cdk","lib\u002Fbasic-authorizer-construct.js",{"headline":25,"text":26},"How it works",[27],"The Lambda authorizer decodes the credentials provided in the Authorization header. If authorized a policy is returned giving permissions to invoke the downstream Lambda function. If the user is not found a policy is returned denying access to the downstream Lambda function.","Node.js","300",{},{"icon1":32,"icon2":37,"icon3":40,"line1":42,"line2":46},{"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":38,"label":39},80,{"from":43,"to":44,"label":45},"icon1","icon2","Authorize",{"from":44,"to":47,"label":48},"icon3","",{"bullets":50},[51],{"text":52,"link":53},"Basic access authentication","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FBasic_access_authentication","patterns\u002Fapigw-lambda-authorizer-basic-cdk",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","rkG2GlPLA_6nAcUp92fmEWUHjTw7Zhneofs-j0Ok0Ao",1778927705011]