[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-msk-cfn-sasl-lambda":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":17,"description":20,"extension":21,"framework":22,"gitHub":23,"highlight":6,"introBox":29,"language":38,"level":39,"meta":40,"patternArch":41,"resources":55,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fmsk-cfn-sasl-lambda.json","Deploy MSK Cluster and AWS SAM project with AWS Lambda to demonstrate SASL authentication",null,{"text":8},[9,10],"Delete the Lambda Function: \u003Ccode>sam delete\u003C\u002Fcode>.","Delete CloudFormation stack to delete the MSK stack and associated resources.",[12,13,14,15,16],"content\u002Fcontributors\u002Fvaibhav-jain.json","content\u002Fcontributors\u002Fpaveen-allam.json","content\u002Fcontributors\u002Fsuraj-tripathi.json","content\u002Fcontributors\u002Fadam-wagner.json","content\u002Fcontributors\u002Findranil-banerjee.json",{"text":18},[19],"sam deploy --guided","Create an AWS Lambda function that uses an Amazon MSK Topic as an event source.","json","AWS SAM",{"template":24},{"repoURL":25,"templateURL":26,"projectFolder":27,"templateFile":28},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fmsk-cfn-sasl-lambda","serverless-patterns\u002Fmsk-cfn-sasl-lambda","msk-cfn-sasl-lambda","create-cluster-cfn\u002FMSKSampleStack.yml",{"headline":30,"text":31},"How it works",[32,33,34,35,36,37],"This pattern provides two resources - "," - An Amazon CloudFormation template to deploy a serverless or provisioned MSK cluster and Cloud9 instance in the same VPC to interact with the MSK cluster"," - An AWS SAM project with a Lambda Function to demonstrate SASL authentication.","To test this pattern, first deploy the CloudFormation stack using the template file MSKSampleStack.yml under msk-cfn-sasl-lambda\u002Fcreate-cluster-cfn. You will need to chose if you'd like to provision serverless or provisioned cluster. For both options, all available authentication mechanisms are enabled - TLS, SASL\u002FSCRAM, and IAM for provisioned cluster, and IAM for serverless. Follow msk-cfn-sasl-lambda\u002Fcreate-cluster-cfn\u002FREADME.md for detailed instructions","Next step is to deploy the Lambda Function. Follow steps under msk-cfn-sasl-lambda\u002FREADME.md to deploy and test the Lambda Function.","Note - Presently MSK with serverless is not supported for SASL authentication, you must use Provisioned option when deplying the MSK cluster.","Node.js","200",{},{"icon1":42,"icon2":47,"line1":51},{"x":43,"y":44,"service":45,"label":46},20,50,"msk","Amazon MSK",{"x":48,"y":44,"service":49,"label":50},80,"lambda","AWS Lambda",{"from":52,"to":53,"label":54},"icon1","icon2","SASL authentication",{"bullets":56},[57,60,63],{"text":58,"link":59},"Using AWS Lambda with Amazon MSK","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-msk.html",{"text":61,"link":62},"CloudFormation provisioned MSK cluster reference","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Faws-resource-msk-cluster.html",{"text":64,"link":65},"CloudFormation serverless MSK cluster reference","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Faws-resource-msk-serverlesscluster.html","patterns\u002Fmsk-cfn-sasl-lambda",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","T1HHt2j8rMpyS2ID3n7DoElWbMd9j8Gu0Zv8g0yBpCQ",1779273338116]