Skip to content
Branch: master
Find file History
trivikr and mergify chore: update lambda.Runtime to NODEJS_10_X (#133)
* chore: update lambda.Runtime to NODEJS_10_X

Node.js 8.x EoL is on 31 Dec 2019 https://endoflife.date/nodejs

* update dependencies
Latest commit b91e8f6 Oct 25, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
site-contents feat: include DNS-validated ACM certificate and S3 bucket deployment … Sep 17, 2019
DO_NOT_AUTOTEST
README.md
cdk.json Static site example (#7) Feb 15, 2019
index.ts feat: include DNS-validated ACM certificate and S3 bucket deployment … Sep 17, 2019
package.json chore: update lambda.Runtime to NODEJS_10_X (#133) Oct 25, 2019
static-site.ts fix: update static site example after breaking changes Sep 20, 2019
tsconfig.json Static site example (#7) Feb 15, 2019

README.md

Static site


Stability: Experimental

This is an experimental example. It may not build out of the box

This examples does is built on Construct Libraries marked "Experimental" and may not be updated for latest breaking changes.

If build is unsuccessful, please create an issue so that we may debug the problem


This example creates the infrastructure for a static site, which uses an S3 bucket for storing the content. The site contents (located in the 'site-contents' sub-directory) are deployed to the bucket.

The site redirects from HTTP to HTTPS, using a CloudFront distribution, Route53 alias record, and ACM certificate.

Prep

The domain for the static site (i.e. mystaticsite.com) must be configured as a hosted zone in Route53 prior to deploying this example. For instructions on configuring Route53 as the DNS service for your domain, see the Route53 documentation.

Deploy

$ npm install -g aws-cdk
$ npm install
$ npm run build
$ cdk deploy -c domain=mystaticsite.com -c subdomain=www
You can’t perform that action at this time.