Aws cdk static site construct
npm install aws-cdk-static-site@1.9.1
Create and deploy a static site using a public S3 bucket.
Please follow the Angular Commit Message Conventions.
Publishing to npm requires the NPM_TOKEN
environment variable to be present.
export NPM_TOKEN=token-value
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm 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 templateCI/CD setup using this post.