This project is broken up into two parts:
- The CDK this defines the infrastructure, including the pipeline which deploys the application,
defined in the
libdirectory. - The applications which can be found within the
srcdirectory. Which is made up of the following:- ECS (container orchestration service), this is acts as a gateway & authenticator to the lambdas and other APIs.
- accountMgr (lambda), manages accounts.
- tripMgr (lambda), manages trips.
This is a blank project for CDK development with TypeScript.
The cdk.json file tells the CDK Toolkit how to execute your app.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpx cdk deploydeploy this stack to your default AWS account/regionnpx cdk diffcompare deployed stack with current statenpx cdk synthemits the synthesized CloudFormation template