[{"data":1,"prerenderedAt":57},["ShallowReactive",2],{"pattern-lambda-iot-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":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":51,"stem":52,"testing":53,"videoId":6,"__hash__":56},"patterns\u002Fpatterns\u002Flambda-iot-sam.json","AWS Lambda to AWS IoT Core",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdaniele-frasca.json",{"text":13},[14],"sam deploy","AWS Lambda function publishing to AWS IoT Core topic.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-iot-sam","serverless-patterns\u002Flambda-iot-sam","lambda-iot-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This pattern contains a sample AWS SAM stack with an AWS IoT Core thing and a Lambda function.","The Lambda function publishes a message to the IoT topic which you can view in the console.","Node.js","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"lambda","Lambda function",{"x":39,"y":35,"service":40,"label":41},80,"iot","AWS IoT",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48],{"text":49,"link":50},"IoT Rule","https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot\u002Flatest\u002Fdeveloperguide\u002Fiot-rules.html",{"from":36,"to":40},"patterns\u002Flambda-iot-sam",{"text":54},[55],"See the GitHub repo for detailed testing instructions.","sLYPc9n4TBYcEFY6i8bqv_mKck_lbOq6JPzRtYlh4jE",1779273337462]