@aws-prototyping-sdk/static-website
Project description
The static-website module is able to deploy your pre-packaged static website content into an S3 Bucket, fronted by Cloudfront. This module uses an Origin Access Identity to ensure your Bucket can only be accessed via Cloudfront and is configured to only allow HTTPS requests by default. Custom runtime configurations can also be specified which will emit a runtime-config.json file along with your website content. Typically this includes resource Arns, Id's etc which may need to be referenced from your website. This package uses sane defaults and at a minimum only requires the path to your website assets.
Below is a conceptual view of the default architecture this module creates:
Cloudfront Distribution (HTTPS only) -> S3 Bucket (Private via OAI)
|_ WAF V2 ACL |_ index.html (+ other website files and assets)
|_ runtime-config.json
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 aws_prototyping_sdk.static_website-0.0.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc2d29ad57f72f79339465cc11afdb08d7bbe5056363858c942cd152111f4c8e |
|
MD5 | 77f5411e1c34b87a27cff90f5f5948bc |
|
BLAKE2b-256 | e70df4f4015af4890bec352544dd4c003027403289782df1e32f837b224645bf |
Hashes for aws_prototyping_sdk.static_website-0.0.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dcee4fbae22179dc8e67aeb675eac59290ec6d6039a4ebaadf681d3c573c69c |
|
MD5 | a6145e21d7248660efabb3a35b7b4c79 |
|
BLAKE2b-256 | 111216fdbb2f663daf3335852170e574f9c5213b3f341b8425db5812be852abc |