Skip to content

This sample creates a CloudWatch Alarm that monitors the timeout of a Lambda function and publishes a message to an SNS topic when the alarm is triggered.

License

Notifications You must be signed in to change notification settings

gabrielmissio/cloudwatch-alarm-lambda-timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudWatch Alarm Lambda Timeout

This sample creates a CloudWatch Alarm that monitors the timeout of a Lambda function and publishes a message to an SNS topic when the alarm is triggered.

Dependencies

Before running this sample, you must install the following dependencies:

Deploying

To deploy this sample, run the following command:

sls deploy

Testing

To test this sample, just invoke the Lambda function.

To invoke the Lambda function using the Serverless Framework, run the following command:

sls invoke -f main

Optionally, you can invoke the Lambda function using the AWS CLI (or even the AWS Console).

Diagram

Diagram

About

This sample creates a CloudWatch Alarm that monitors the timeout of a Lambda function and publishes a message to an SNS topic when the alarm is triggered.

Topics

Resources

License

Stars

Watchers

Forks