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 build
compile typescript to jsyarn run watch
watch for changes and compileyarn run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template