0.1.3 • Published 3 years ago

@build-in-the-cloud/ssl-checker-cdk v0.1.3

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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

  1. Install npm for your operating system
  2. Install cdk version 1.108.1 or higher. npm install -g aws-cdk
  3. Install sam beta integrated with cdk. https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html

Setup CDK

  1. Go to root... ssl-checker%
  2. npm install

If you want to modify Lambdas

  • All Lambda source in ssl-checker% src with each lambda in its own folder
  1. Go to target lambda folder.
  2. npm install
  3. npm run build //compiles js files

if you want to deploy infra structure

  • From root of project ssl-checker%
  1. Make sure your AWS credentials are setup
  2. sam-beta-cdk build
  3. cdk -a .aws-sam/build 'name of stack'