{"id":461,"date":"2021-11-09T16:18:41","date_gmt":"2021-11-09T16:18:41","guid":{"rendered":"http:\/\/18.141.20.153\/?p=461"},"modified":"2025-08-21T09:53:32","modified_gmt":"2025-08-21T09:53:32","slug":"how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/","title":{"rendered":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/HfLO6w5wPPaY8N4Y-NGMQsZ1tWv0xU0141r5ZunwDdDadPkUsFhEFkCsFtL2HctZdyoRxQHbw0J3G_JiFlvbIk7WKWGgm9SENiioFWvk1PzmQYBTcrKbSUVEWDK3zw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Modern applications such as those running on microservices architectures generate large volumes of data in the form of metrics, logs, and events. Amazon CloudWatch enables you to collect, access, and correlate this data on a single platform from across all your AWS resources, applications, and services that run on AWS.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Amazon CloudWatch enables you to set <strong>alarms<\/strong> and automate actions based on either predefined threshold. You can also perform <strong>metric<\/strong> math on your data to derive operational and utilization insights. You can also use CloudWatch Events for <strong>serverless<\/strong> to trigger workflows with services like <strong><a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-analyze-debug-and-trace-aws-lambda-function-using-aws-x-ray\/\">AWS Lambda<\/a><\/strong>, and <strong>Amazon SNS<\/strong>.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">In our blog, <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-sns-part-1\/\">How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS (Part 1)?<\/a> we have discussed Amazon CloudWatch, its benefits, features, use cases, composition, CloudWatch logs, CloudWatch synthetics, how does it work, etc. In this blog, we will demonstrate how to trigger lambda functions using CloudWatch events, also how to configure CloudWatch alarms that monitor the lambda function, and send notifications via email when it fails using AWS SNS.<\/p>\n\n\n\n<h2>Amazon CloudWatch<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/pL7NQoTOc9HsRLHz0WdvlS_8vAIsJiUn_2oSbOyBKJWZuumomP6fKWtH5hJKdIVhcjka5yHt7Fw2e4XvH5Z0ED9-pAhOHMkFJGaOB6kHtlYPnl7C6Ch6TMQPdtu4Ug\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Amazon CloudWatch is a monitoring and observability service geared toward <a href=\"https:\/\/www.workfall.com\/learning\/blog\/amazon-devops-guru-for-serverless\/\">DevOps<\/a> engineers, developers, SREs, and IT managers. To monitor your applications, respond to system-wide performance changes, optimize resource use, and receive a single view of operational health, CloudWatch provides data and actionable insights. It gathers monitoring and operational data in the form of logs, metrics, and events to give you a single view of AWS resources, applications, and services running on both AWS and on-premises servers. To keep your apps running smoothly, you can use CloudWatch to identify abnormal behavior in your environments, trigger alarms, analyze logs and metrics side by side, take automated actions, troubleshoot issues, and find insights.<\/p>\n\n\n\n<h2>AWS Lambda<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/BYbCFjaDRuZYlesF6obeEm4iKs9P7UGtdeOdOIwnewPAkKyUx32FlNJr-kaLp-uSy8PfLLQGVk_iOm_2y6X-X7Rf2OAu-IiRUWnVNZJbg-kJVVphHyTwL6XC-Tai3w\" alt=\"AWS Lambda\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">AWS Lambda is a serverless compute service that allows you to run code without having to provision or manage servers, write workload-aware cluster scaling logic, keep event integrations up to date, or manage runtimes. You can run code for nearly any form of application or backend service with Lambda, and you don&#8217;t have to worry about administration. Simply upload your code as a ZIP file or container image, and Lambda will assign compute execution power and run your code based on the incoming request or event, at any scale.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">You can use over 200 AWS services and SaaS applications to trigger your code, or you can call it directly from any web or mobile app. You may develop Lambda functions in whatever language you choose (Node.js, Python, Go, Java, and more) and build, test, and deploy them using both serverless and container tools like AWS SAM or Docker CLI.<\/p>\n\n\n\n<h2>Hands-On<\/h2>\n\n\n\n<p>Step 1: Create a Lambda function<\/p>\n\n\n\n<p>Step 2: Test the lambda function<\/p>\n\n\n\n<p>Step 3: Create an SNS topic and subscribe to it<\/p>\n\n\n\n<p>Step 4: Configure the alarm<\/p>\n\n\n\n<p>Step 5: Test the alarm<\/p>\n\n\n\n<p><strong>Create a Lambda function<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Sign in to the AWS Management Console and open the AWS Lambda console, choose to Create function<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/GH1P8QhUuatCre8LHUajy8PNTuqeq3WHc1jjrwHNu4NO_DNaLbjSoWAXNcrvD5jXbFk_uUMCYiNa5FR0ueo8ICl6XuyCsfTsStsyF_DVFqYCW8cNIdTMOzMplWnKsIqjVeJ0KWU\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Choose to use a blueprint, Enter canary in the search bar. Choose the lambda-canary blueprint, and then choose Configure.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/lFZzpgY_KUgXhYmFd8aB9SPrBc65hw5poQxqwvur5Qhm0pjmIYXJk04myTJjG6watYTmKjrvagEJVRaPvmcLAekw9ds3-9VCU3gF9PydyxlUdeq3_tgbYGNqDxy_BhZJM4-jlms\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Then, set the function name, and create a new role from AWS policy templates.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/4G1tOXIsyGKVq7QruWbV7PhV1DnKxTyRQ7aUhbcqervadaq7tWAi6uibYLyM60QeFCGImYlxYFWRY09R-Fm0TZ3z5z_X25GPLXnub_HvBGQBtdo5PsCESifFajLQ4m0cJIqSyWY\" alt=\"\"\/><\/figure>\n\n\n\n<p>Create a new rule, and enter the setting details as shown below&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/4_QHjUfHjEkf43Fu7aWEDbq5hEAzMUFVy4rAr6N1PEBA2jNU94sqE2X29ukWgM3hj_guKIzmlCp30k7EIyLIsUqFjg2pM5kPpd2rxenMV1nW0psu7B_Ru1P39VyMpTWZtSOK3UM\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p>Enter the environment variables, and click on Create function&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/E_lF2cegJzis-WRv6JcaL__SyZjxZpPIJDOMJudEiQ5Yt5wJkJiFyguMnitZT5gjpRgpS7eVGgl8_BdcUiSCCSkYFnO2FSMFHZy0H3gOZGY_aO0jQ5baCGYQtdJGl7KLrRQPjSY\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><a href=\"https:\/\/aws.amazon.com\/cloudwatch\/\" target=\"_blank\" rel=\"noreferrer noopener\">CloudWatch<\/a> Events emits an event every minute, based on the schedule expression. The event triggers the Lambda function, which verifies that the expected string appears on the specified page.<\/p>\n\n\n\n<p><strong>Test the lambda function<\/strong><\/p>\n\n\n\n<p>Open the functions page, choose the function, and click on Test<\/p>\n\n\n\n<p><img src=\"https:\/\/lh4.googleusercontent.com\/xlSxqxQklAHwxLLPWSmGBtm7qWYmVVVfufI8e3AdvxYZCHthXQw7WF05dJeBycSZUY5Cguv04q7Hc6YAeGcOnzKDDGk1RJA7Jv2FlnAUdTWuUUqdDk2YIAOOKkiX7G1FvVkAxSE\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p>Create a new event using the CloudWatch Events event template, click on Create<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/sLxs8Y_zuPm-ij6QipohsUz29VMZhMphWiLBATq9X6zNQmiCL9NHvE99bjNyFYlEBkNZ5Y9lECdj72bgB-4jttLf_Rs3fZJSfnd_XDaFMzgLRjw-8Jx2K-_D6rvI5mjWhajHulw\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p>Invoke the event, on successful execution, the output is shown below<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/KPeXXmF096pJ46wuD_HdlR8rAy0lgPxh81tey4Q2E8fBH2tp5jNv7mLx3rmsMcfYwQBv5o_9sIkdfgy8oC4cMfSpKEuDHaXF7Oj1NYvBUF6ABxo7hAdqdxMtdhyUwgxkb-UVHbI\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">The code is launching the website (<strong>site<\/strong> env variable) and checking the value of <strong>expected<\/strong> env variable i.e. (What is AWS Lambda?), if it can find the expected value the function is successfully executed, if not then the lambda function fails.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Create SNS topic and subscribe to it&nbsp;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/iteZ5DbR5ZYDxcUTyWDbMT9y-E2kKTilEdHOsmcfUKlRiXnPCTohgQhMgbkMmikZZP6XPf5pwX61Ast8ubvTGhZK-6DnJkdtfyqgYVRzCrF0OATgOj4_zjOQ9VfPGaFJM4V9Ibw\" alt=\"\"\/><\/figure>\n\n\n\n<p>Open SNS console, choose Create topic&nbsp;<\/p>\n\n\n\n<p>Enter the name, choose Create subscription&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/yszHcV567VwMO-rE6V4J7taBEnGnSaCY_26lUo6Xywwtimpmdojec1o3MBEoPK5CcTAFYZkIjVQP8obsldWyYgNK4XalsivWxKdDpIUeRm6UySJQWztqsY0eVAIlqGTPYgP9MWk\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/fFjzH7S4dPkyt6RsGdBuzs-5i-gPKqleKNTJMoABggpxfGgFfzw2Dj6AkLrjicJzf0Bu4IFSv50C2eFh2zkCy9avBh_1UK1SaQBFmljyxF4aEfTf1NQlPWxo3wusGe9xEo8S9no\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Create the subscription with the following settings, in endpoint enter the email address where you want to get the notifications<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Was7YDfaJku1WoXt4Raeer_84FSaYB5_g8mw_k_ORGnMkU-ujxjAxtfKqiFwCorG3JCzkTyF7_bvXQBHLzpX5QcGZPjpoIEKcocDjGeFI7T3E0u5yjCGX91JaaADQPfKq4VymFs\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Configure the alarm<\/strong><\/p>\n\n\n\n<p>Open CloudWatch console, click on Create alarm under Alarms<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/Ztvvh1uGZEOsc5NNcplUUj53C5Z45lSgm4yY8gzZdmEhzbHXmbB7h6KJ68hKwy8Wtlzw6zrXtVDuz5plLNzL9cwFJnZTv0aa10kDy-YQsiJEr6NcRrWUDJg0nO8FalCg5H4AtpE\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p>Create an alarm with lambda-canary error metrics as shown below&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/B9rsjyYPfXLWcgLHVeMXSHN9tzfQR8SAgJa6Ro1K8Cr4RmA6YO7T2kSDbKL_xssiHNhDZ9BZi6peEs3cKF2VjT6SPCJ76hOdYccQ8OZwYjXS-rctEYWi3a87mbTqKMN--t_5jZo\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select the statistic as Sum&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/59hy-hfhpGNHY0P9kuM-Tvzoo7WvILNj8fBPbR9EtIiROomkQoOwtzBJrSNRwKczfyAQZxU41kxtlFCkmbA063rhMUPZMwgA_QvDktzkIf6_3LOpKUS-XdXIa87LSklrOSjhTZY\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p>Choose the threshold as: Whenever Error is &gt;=1, click on Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/eW8T83eiDtvJcDyGZuBqUwM2zM214MpNqnLxNFu_nW8FU2juo36v0ar4aATquk4NtmWrYHAFtU-EAGtb9R6ZoWUXSAuhI4VePfKJ4C27swXcrIGBS8AGWfPdYGm2obz_rE67H6s\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select the SNS topic created, to send the notifications&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/MprkM81U2UBF9NMITnATZ7Unx7XJzhNObdHkkIie0ii7VoJG0TiQRaL8_-U5yGEaAe_2crRWrJoIyTXdsj4zlvSZIgb6FBe95gDMxFNcTjufvwg8iTILV9K5p2pWO1MoAfFVRaw\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p>Give a name to the alarm, click on Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/K0McTMFETA5GRNkWAOymtVeQaPT634FRHCinf0c9JWmfbZcoCTCBRBPMeYTPpy_2UQMrbbXHzr4Ye7Sv61786wrH4r4sBoRaLdGSNETJZ4_nBcLsDqxoEnpu-nNhZZ9h15cN4Rk\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">This will configure CloudWatch alarm with the desired lambda error metric and send the notification to SNS if the threshold value is &gt;=1.<\/p>\n\n\n\n<p><strong>Test the alarm<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Update the function configuration to cause the function to return an error, which triggers the alarm<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Open the lambda function console page, choose the workfall-lambda-canary function, click on Configuration to edit environment variables.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/CvCjR_nxm-CNHWMZYj8SYopnLkQIhF1u28OYW1JHOeNrMhiqDblaoXGzgswm5zMmxG1XPG3A7vyfQ_OFM_KT8qcHmecKt2DDiP161TW1EF8Y-Tz0-kZyBwa-Rmyo7dPcmB_1pLQ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Click on Edit, set <strong>expected<\/strong> to 404, save it<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/L1pkES-xDNA4NLd5Ytb-qcbu4q0RW10f6_fOFGB433CxA6I3zNhyiYfpqoLPgKSyy42DkzySWh8BooRZeBQHcwS7ANrzHlT4vZu7w-kctY7C_lyngyxtytOq013BFymhXiydqOA\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Wait for a minute for the alarm to trigger and get email from Amazon SNS.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/oft61BFletE1rLGyFNxEG1sLMd_7poOa03FH_sXvRcDvuAuqUayf3Gh0nqss4pIdWEseyBfI_nBYVYfT5o9IcN0wRiPGiGqcGbVnTjuh7nPSTFf90hn6EJfXtAnn35SXcEZ5Stk\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/uQRRqYIwKKkNuc8XfROAHVyLeoHesJa7Ezyh4bQHLA1OkHBHUoZZ9Ky3vjXAqAv1Tr7dfF7wvgJG6Oaj45zkzZ4ft3yCuVVe-1f9ha16X0JBk1T44r_D2CX596jkKPvX2c_b1MI\" alt=\"Amazon CloudWatch\"\/><\/figure>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we learned how to trigger lambda functions based on scheduled patterns using CloudWatch events and configure the CloudWatch alarm to send email notifications via SNS if the lambda function emits an error. In our upcoming blogs, we will discuss more use cases of Amazon CloudWatch. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Meanwhile \u2026<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Modern applications such as those running on microservices architectures generate large volumes of data in the form of metrics, logs, and events. Amazon CloudWatch enables you to collect, access, and correlate this data on a single platform from across all your AWS resources, applications, and services that run on AWS. Amazon CloudWatch enables you to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":462,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,4,78,57,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"With Amazon CloudWatch, monitor and analyze metrics, logs, and traces from your AWS resources, applications, and services all in one place.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"With Amazon CloudWatch, monitor and analyze metrics, logs, and traces from your AWS resources, applications, and services all in one place.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-09T16:18:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T09:53:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png\",\"width\":1200,\"height\":628,\"caption\":\"How to trigger Lambda Function using Amazon CloudWatch Events?\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/\",\"name\":\"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#primaryimage\"},\"datePublished\":\"2021-11-09T16:18:41+00:00\",\"dateModified\":\"2025-08-21T09:53:32+00:00\",\"description\":\"With Amazon CloudWatch, monitor and analyze metrics, logs, and traces from your AWS resources, applications, and services all in one place.\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)?\",\"datePublished\":\"2021-11-09T16:18:41+00:00\",\"dateModified\":\"2025-08-21T09:53:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#webpage\"},\"wordCount\":996,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png\",\"keywords\":[\"AWS\",\"Cloud\",\"cloudwatch\",\"lambda\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)? - The Workfall Blog","description":"With Amazon CloudWatch, monitor and analyze metrics, logs, and traces from your AWS resources, applications, and services all in one place.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/","og_locale":"en_US","og_type":"article","og_title":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)? - The Workfall Blog","og_description":"With Amazon CloudWatch, monitor and analyze metrics, logs, and traces from your AWS resources, applications, and services all in one place.","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-09T16:18:41+00:00","article_modified_time":"2025-08-21T09:53:32+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png","width":1200,"height":628,"caption":"How to trigger Lambda Function using Amazon CloudWatch Events?"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/","name":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#primaryimage"},"datePublished":"2021-11-09T16:18:41+00:00","dateModified":"2025-08-21T09:53:32+00:00","description":"With Amazon CloudWatch, monitor and analyze metrics, logs, and traces from your AWS resources, applications, and services all in one place.","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS(Part 2)?","datePublished":"2021-11-09T16:18:41+00:00","dateModified":"2025-08-21T09:53:32+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#webpage"},"wordCount":996,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-snspart-2\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png","keywords":["AWS","Cloud","cloudwatch","lambda","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch2.png","jetpack-related-posts":[{"id":611,"url":"https:\/\/learning.workfall.com\/learning\/blog\/trigger-lambda-function-using-amazon-cloudwatch-events-and-configure-cloudwatch-alarm-to-get-email-notifications-using-amazon-sns-part-1\/","url_meta":{"origin":461,"position":0},"title":"How to trigger Lambda function using Amazon CloudWatch events and configure CloudWatch alarm to get email notifications using Amazon SNS (Part 1)?","date":"November 11, 2021","format":false,"excerpt":"Whether you're considering a cloud migration or have already made the switch to AWS, you'll want to know how to manage your digital environment. With Amazon CloudWatch, AWS makes monitoring simple. CloudWatch is the cornerstone of your AWS infrastructure management. It has a robust framework for capturing and storing metrics\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon CloudWatch - Workfall","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudwatch1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":416,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-do-event-driven-programming-using-aws-lambda-with-amazon-kinesis-streams\/","url_meta":{"origin":461,"position":1},"title":"How to do event-driven programming using AWS Lambda with Amazon Kinesis Streams?","date":"November 3, 2021","format":false,"excerpt":"Amazon Kinesis is an AWS-managed service that processes streaming data at a massive scale. Using Amazon Kinesis, data could be easily sent to various sources like S3, DynamoDB, Redshift, and Lambda. Kinesis is used to process hundreds of terabytes of data per hour. AWS LAMBDA works as an event-driven computing\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon Kinesis Streams","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Kinesis.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":258,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-auto-register-and-deregister-ec2-instances-behind-application-load-balancer-alb-using-lambda\/","url_meta":{"origin":461,"position":2},"title":"How to auto register and deregister EC2 Instances behind Application Load Balancer (ALB) using Lambda?","date":"October 29, 2021","format":false,"excerpt":"Consider that you\u2019re running an eCommerce website that doesn\u2019t have scaling capability in place, and also you\u2019re much aware of the load such as when the load will increase and decrease. You also don't want to assign a dedicated person to manually add or remove instances behind the load balancer\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Auto register and deregister EC2 Instances behind ALB using Lambda","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/ELB.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":640,"url":"https:\/\/learning.workfall.com\/learning\/blog\/aws-account-activities-using-aws-cloudtrailpart-1\/","url_meta":{"origin":461,"position":3},"title":"How to track AWS account activities using AWS CloudTrail (Part 1)?","date":"November 11, 2021","format":false,"excerpt":"Someone logged into your AWS Console and forced the shutdown of an EC2 instance, and you need to discover who did it as it was a critical instance for production, but you have no records. Here AWS CloudTrail comes to your rescue! In your AWS infrastructure, you can use AWS\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Cover-Images_Part2-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":37,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-track-aws-account-activities-using-aws-cloudtrail\/","url_meta":{"origin":461,"position":4},"title":"How to track AWS account activities using AWS CloudTrail?","date":"October 24, 2021","format":false,"excerpt":"There are chances where the employees\/users either intentionally or unintentionally make changes or delete the AWS resources. These scenarios cannot be traced or brought to our notice unless we have a proper monitoring and alerting mechanism to take action immediately to avoid any business interruptions. Proactive monitoring is one of\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Track AWS account activities using AWS CloudTrail","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/35.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1274,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-detect-operational-issues-in-lambda-function-automatically-with-amazon-devops-guru-for-serverless\/","url_meta":{"origin":461,"position":5},"title":"How to detect operational issues in Lambda Function automatically with Amazon DevOps Guru for Serverless?","date":"September 13, 2022","format":false,"excerpt":"Hands-on In this hands-on, we will see how we can detect operational issues in Lambda Function with Amazon DevOps Guru for Serverless. We will first log in and navigate to the AWS console. Then, we will change the region to the one that has Amazon DevOps Guru available. Navigating to\u2026","rel":"","context":"In &quot;DevOps&quot;","img":{"alt_text":"detect operational issues in Lambda Function automatically with Amazon DevOps Guru for Serverless","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2022\/09\/Cover-Images_Part2-1-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/461"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":6,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":2530,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/461\/revisions\/2530"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/462"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}