In this step, we will learn how to use CloudWatch logs to debug the Lambda function and generate an alarm in CloudWatch Alarms according to the metric we want.