Example SAM project to monitor AWS account related events and notifying interested parties using SNS and Slack when key changes occur.
account_event_handler
- Source for the AWS Lambda functionsamconfig.toml
- Project configuration file.template.yaml
- A template that defines the application's AWS resources.
- SAM CLI (NOTE the latest version may be needed if you see errors about "LoggingConfig" or other items)
- Python 3.12 available to the sam cli. You will get errors about Python 3.12 not being found if you don't have it
To deploy the project, you need the following tools:
sam build
sam deploy
To delete the sample project please use the AWS CLI or Console and delete the Cloudformation stack SAM created. You can also use the SAM CLI as below but please ensure all the resoures are actually gone in the AWS CLI/Console to ensure you have no ongoing AWS charges
sam delete
This repository is associated with the following blog posted here