Skip to main content

cdk-spa-deploy

Project description

CDK-SPA-Deploy

npm Vulnerabilities

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.2.tar.gz (126.6 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.2-py3-none-any.whl (125.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdk-spa-deploy-0.7.2.tar.gz
  • Upload date:
  • Size: 126.6 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.2.tar.gz
Algorithm Hash digest
SHA256 25f9e257562969a0e86b9a4d6ffaa86b6dd45df6a534ec4b3ff9758124eb69e5
MD5 4462574abe29096a3f43d11d20591b5d
BLAKE2b-256 f42812bd1827db3090e8fa4d8f7b434d308ab34bf99b5013ad6ede3d10eb9e3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cdk_spa_deploy-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 125.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 926477ccd22f99dc750c12e6f946c0f33c930d531ea97c545a20105f8b5524be
MD5 f0c65785ce55f204c7227d5ea439e761
BLAKE2b-256 c18801700ac9cca86b47fc169ea1aacdf09bc34158db6ea2fd1cd877f801b506

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