0.1.3 • Published 3 years ago
@build-in-the-cloud/ssl-checker-cdk v0.1.3
ssl-checker
This project is a servless solution for checking SSL endpoints.
- Eventbridge for triggering Lambda code on cron
- Lambda to execute checks and email notify recipients
- Timestream for daily metrics
- SES for email service
Code is 100% Typescript and uses Lambda with CDK to manage infratructure
Prerequisites
- Install npm for your operating system
- Install cdk version 1.108.1 or higher. npm install -g aws-cdk
- Install sam beta integrated with cdk. https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html
Setup CDK
- Go to root... ssl-checker%
- npm install
If you want to modify Lambdas
- All Lambda source in ssl-checker% src with each lambda in its own folder
- Go to target lambda folder.
- npm install
- npm run build //compiles js files
- Helpful article about using SAM with CDK https://aws.amazon.com/blogs/compute/better-together-aws-sam-and-aws-cdk/
if you want to deploy infra structure
- From root of project ssl-checker%
- Make sure your AWS credentials are setup
- sam-beta-cdk build
- cdk -a .aws-sam/build 'name of stack'
- Helpful article about using cdk https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html