[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-apigw-websocket-api-lambda-authorizer":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":29,"level":30,"meta":31,"patternArch":32,"resources":6,"s3URL":6,"services":6,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Fapigw-websocket-api-lambda-authorizer.json","WebSocket API Amazon Cognito authentication using AWS Lambda authorizer",null,{"text":8},[9],"Delete the template: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fankush-jain.json",{"text":13},[14,15],"sam build","sam deploy --guided","This pattern shows how to integrate Cognito authentication with Amazon API Gateway WebSocket API.","json","AWS SAM",{"template":20},{"repoURL":21,"projectFolder":22,"templateURL":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-websocket-api-lambda-authorizer","apigw-websocket-api-lambda-authorizer","serverless-patterns\u002Fapigw-websocket-api-lambda-authorizer","template.yaml",{"headline":26,"text":27},"How it works",[16,28],"It includes the Lambda implementations for Lambda authorizer, Lambda functions for $connect, $disconnect and custom route, and AWS Serverless Application Model (SAM) code to deploy backend infrastructure.",".NET","200",{},{"icon1":33,"icon2":37,"icon3":42,"icon4":43,"icon5":47,"line1":50,"line2":54,"line3":57,"line4":59},{"x":34,"y":34,"service":35,"label":36},20,"apigw","API Gateway Websocket API",{"x":38,"y":39,"service":40,"label":41},55,70,"lambda","AWS Lambda",{"x":38,"y":34,"service":40,"label":41},{"x":44,"y":34,"service":45,"label":46},80,"dynamodb","DynamoDB",{"x":44,"y":39,"service":48,"label":49},"cognito","Cognito",{"from":51,"to":52,"label":53},"icon2","icon5","",{"from":55,"to":56,"label":53},"icon1","icon3",{"from":56,"to":58,"label":53},"icon4",{"from":55,"to":51,"label":53},"patterns\u002Fapigw-websocket-api-lambda-authorizer",{"text":62},[63],"See the GitHub repo for detailed testing instructions.","hOsYgnuz5fxn7c5n_wlFVlL_rwO1usaMJ0lQYMpWoqA",1781087767193]