Aws-cdk static site construct
An npm module exporting a configurable static site construct.
Installing
npm i aws-cdk-static-site
Basic Usage
;;
Specifying a subdomain
You can specify a subdomain using the siteSubDomain
property.
new StaticSitethis, id, ;
Specifying constructs
You can specify which constructs will be used with the constructConfig
property.
new StaticSitethis, id, ;
The construct config specified above is the default.
Links
- Static site construct inspired by the static-site example.
- CI/CD setup using this post.