Skip to content

automated alarms via cloudwatch for apigateway resources

Notifications You must be signed in to change notification settings

toddlers/apigateway-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apigateway-monitoring

  • Automated CloudWatch alarms creation for ApiGateway resources via Lambda.

Basic Flow

  • We need to have an S3 bucket where we gonna upload the Lambda code.

  • Use CloudFormation package command for uloading the lambda code to and S3 which will update the corresponding section of CloudFromation template as well.

aws cloudformation package --template-file cfn.yaml --s3-bucket bucket-name --output-template-file packaged-template.json
  • Create the stack using below command
aws cloudformation create-stack --stack-name apigateway-monitoring --template-body file://packaged-template.json --region us-east-1 --capabilities CAPABILITY_IAM

Adjust the permissions for the lambda accordingly in the template.

About

automated alarms via cloudwatch for apigateway resources

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages