Skip to main content

cdk-spa-deploy

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

cdk-spa-deploy example

Python

pip install cdk-spa-deploy

cdk-spa-deploy python example

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.

cdk-spa-deploy alias

Custom Domain and SSL Certificates

You can also pass the ARN for an SSL certification and your alias routes to cloudfront

cdk-spa-deploy alias

Encrypted S3 Bucket

Pass in one boolean to tell SPA Deploy to encrypt your website bucket

cdk-spa-deploy encryption

Restrict Access to Known IPs

Pass in a boolean and an array of IP addresses and your site is locked down!

cdk-spa-deploy ipfilter

Issues / Feature Requests

https://github.com/nideveloper/CDK-SPA-Deploy

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

cdk-spa-deploy-0.7.1.tar.gz (126.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdk_spa_deploy-0.7.1-py3-none-any.whl (125.0 kB view details)

Uploaded Python 3

File details

Details for the file cdk-spa-deploy-0.7.1.tar.gz.

File metadata

  • Download URL: cdk-spa-deploy-0.7.1.tar.gz
  • Upload date:
  • Size: 126.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for cdk-spa-deploy-0.7.1.tar.gz
Algorithm Hash digest
SHA256 c5719562a65a145d4f9f370f5b26c1b61108d368785047d5da408f76a283bf83
MD5 06065e40bbc377cb0782d26467fb68ba
BLAKE2b-256 1ff5bea8f3f80bcc28f7efa92b1c8a5f68e69178c5770f0c0baeb70485f088a5

See more details on using hashes here.

File details

Details for the file cdk_spa_deploy-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: cdk_spa_deploy-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 125.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for cdk_spa_deploy-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42cbc380e24c214b2a531347ae9cbc37c26bc520deafd6c956e8ab63a5ef206e
MD5 18a31b4800b71825a85c5257e4e2f84f
BLAKE2b-256 452f72b6fba0a9ec91a530d5a8c99ddbf76cbcdfe21ef87cc5b087ac3464f541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page