This is an AWS CDK Construct to make deploying a single page website (Angular/React/Vue) to AWS S3 behind SSL/Cloudfront as easy as 5 lines of code.
Project description
CDK-SPA-Deploy
This is an AWS CDK Construct to make deploying a single page website (Angular/React/Vue) to AWS S3 behind SSL/Cloudfront as easy as 5 lines of code.
Installation and Usage
Typescript
npm install --save cdk-spa-deploy
Python
pip install cdk-spa-deploy
Advanced Usage
Auto Deploy From Hosted Zone Name
If you purchased your domain through route 53 and already have a hosted zone then just use the name to deploy your site behind cloudfront. This handles the SSL cert and everything for you.
Custom Domain and SSL Certificates
You can also pass the ARN for an SSL certification and your alias routes to cloudfront
Encrypted S3 Bucket
Pass in one boolean to tell SPA Deploy to encrypt your website bucket
Restrict Access to Known IPs
Pass in a boolean and an array of IP addresses and your site is locked down!
Issues / Feature Requests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cdk_spa_deploy-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 825d6468f18e4d3e09a3f8c9ac39214045b01d3d187a72cb4e68a02f9843c0b6 |
|
MD5 | 1c440939b5ae25aed4fb1215cfee084c |
|
BLAKE2b-256 | 72f10b62c0bd21081fd062f6093965ef479048b9a9036e89ced3410cda5372ec |