[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigw-lambda-sns-monitoring-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":30,"level":31,"meta":32,"patternArch":33,"resources":52,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fapigw-lambda-sns-monitoring-sam.json","Amazon API Gateway REST API to AWS Lambda to Amazon SNS with enhanced monitoring",null,{"text":8},[9,10],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.","Manually delete the S3 bucket created for Synthetics artifacts after deleting the CloudFormation stack.",[12],"content\u002Fcontributors\u002Fsanskar.json",{"text":14},[15],"sam deploy","Integration of Amazon API Gateway REST API with AWS Lambda to publish to Amazon SNS with enhanced monitoring","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-sns-monitoring","serverless-patterns\u002Fapigw-lambda-sns-monitoring","apigw-lambda-sns-monitoring","template.yaml",{"headline":26,"text":27},"How it works",[28,29],"This sample project demonstrates how to publish to a SNS Topic whenever the REST API is invoked using Lambda function.","This pattern deploys a Amazon API Gateway REST API with Lambda Function integration and SNS Topic with enhanced monitoring features including CloudWatch Alarms, X-Ray tracing, and Synthetics Canary.","Python","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"apigw","API Gateway REST API",{"x":36,"y":36,"service":40,"label":41},"lambda","AWS Lambda",{"x":43,"y":36,"service":44,"label":45},80,"sns","Amazon SNS",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"bullets":53},[54,57,60,63],{"text":55,"link":56},"Choosing between messaging services for serverless applications.","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fchoosing-between-messaging-services-for-serverless-applications\u002F",{"text":58,"link":59},"Publishing Messages in Amazon SNS","https:\u002F\u002Fboto3.amazonaws.com\u002Fv1\u002Fdocumentation\u002Fapi\u002Flatest\u002Freference\u002Fservices\u002Fsns.html#topic",{"text":61,"link":62},"AWS X-Ray Distributed Tracing","https:\u002F\u002Fdocs.aws.amazon.com\u002Fxray\u002Flatest\u002Fdevguide\u002Faws-xray.html",{"text":64,"link":65},"Amazon CloudWatch Synthetics","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FCloudWatch_Synthetics_Canaries.html","patterns\u002Fapigw-lambda-sns-monitoring-sam",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","RH_SwI4kT8nkS5G__6Nqkh8PVlpGSAl8kH6Uikw0a4s",1778846882398]