CloudWatch trigger

CloudWatch is the logging and monitoring service for AWS, where logs from most services get stored and monitored. In this section, we will learn how CloudWatch trigger works, how CloudWatch querying works in practice, configuring this in the Lambda function, and also how to make use of this knowledge to build a Lambda function.

So, in this section, we will do the following:

  1. Create a CloudWatch log
  2. Briefly understand how a CloudWatch log works
  3. Create a Lambda function that gets triggered by the CloudWatch trigger

This will help you understand and build resilient and stable serverless architectures. 

 The process flow for this is as follows:

  1. To create a CloudWatch Logs group, click on the Logs option to the left of the ...

Get Building Serverless Applications with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.