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
npm install --save cdk-spa-deploy
pip install cdk-spa-deploy
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cdk_spa_deploy-0.4.0-py3-none-any.whl (123.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size cdk-spa-deploy-0.4.0.tar.gz (125.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for cdk_spa_deploy-0.4.0-py3-none-any.whl