This is a project for setting up an Amplify app for NextJS application with CDK. This also sets up deploy notifications for every build triggered on amplify with the status of the build. A lambda function is triggered whenever a build is triggered. Currently the lambda is configured to post to a SLACK WEBHOOK.
It uses cdk 1.. currently, will migrate this to v2 shortly.
The cdk.json file tells the CDK Toolkit how to execute your app.
yarn run buildcompile typescript to jsyarn run watchwatch for changes and compileyarn run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template