AWS Lambda to Cloudtrail data events

Lambda → CloudTrail

This pattern demonstrates using AWS CloudTrail and AWS Lambda data events for monitoring invocations via Slack notifications

This pattern demonstrates how customers can monitor manual invocations of their sensitive AWS Lambda functions using Slack with the help of AWS CloudTrail and Amazon CloudWatch subscription filters.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/terraform-cloudtrail-lambda-slack

Deploy

terraform initterraform apply --auto-approve


Testing

See the GitHub repo for detailed execution instructions.

Cleanup

terraform destroy

Created by:

Abhishek Agawane

Abhishek Agawane

Abhishek is a Security Consultant at Amazon Web Services with more than 9 years of industry experience. He helps organizations architect resilient, secure, and efficient cloud environments, guiding them through complex challenges and large-scale infrastructure transformations. He has helped numerous organizations enhance their cloud operations through targeted optimizations, robust architectures, and best-practice implementations.