This is meant to be an intro intro into using CDK to show it's capabilities. Relevant sources for some of the code (specifically the Fargate/VPC/Cluster part of it) can be found in the free version of the project here.
-
cdk boostrapused to setup s3 bucket to hold your code, necessary before deploying for the first time. -
npm run buildcompile typescript to js -
npm run watchwatch for changes and compile -
npm run testperform the jest unit tests -
cdk deploydeploy this stack to your default AWS account/region -
cdk diffcompare deployed stack with current state -
cdk synthemits the synthesized CloudFormation template