Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/HatchSoftware/automatic-aws-db-shutdown-cdk


https://github.com/HatchSoftware/automatic-aws-db-shutdown-cdk

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

## General

This repository was created together with [this blog post](https://medium.com/hatchsoftware/using-the-aws-cdk-to-build-scheduled-lambda-functions-13eb1674586e).

## Prerequisites
- Install Node.js (https://nodejs.org/en/download/)
- Install AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
- Install AWS CDK (https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html)

## Useful commands

* `npm run build` compile typescript to js
* `npm run watch` watch for changes and compile
* `npm run test` perform the jest unit tests
* `cdk deploy` deploy this stack to your default AWS account/region
* `cdk diff` compare deployed stack with current state
* `cdk synth` emits the synthesized CloudFormation template