aws-cdk-static-site

Aws cdk static site construct


Keywords
aws, cdk, static, site, construct
License
GPL-3.0-only
Install
npm install aws-cdk-static-site@1.9.1

Documentation

AWS SDK static site deployment

Create and deploy a static site using a public S3 bucket.

Git Commit Guidelines

Please follow the Angular Commit Message Conventions.

Publishing to npm

Publishing to npm requires the NPM_TOKEN environment variable to be present.

export NPM_TOKEN=token-value

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

Links

CI/CD setup using this post.