Deploy a static website to AWS using S3+Cloudfront+Route53 combination.
This CDK construct provides:
- create a public accessible S3 bucket
- create a CloudFront distribution
- setup A record in route53
- publish data to S3 bucket content
Run:
$ npm i aws-static-website-cdk
Then, see the doc strings of AwsStaticWebsiteCdk
construct.