AWS Frontend Web App Deploy Stack
This is an AWS CDK Construct to make deploying a Frontend Web App (SPA) deploy to S3 behind CloudFront.
Install
TypeScript
install by npm
npm install @gammarers/aws-frontend-web-app-deploy-stack
install by yarn
yarn add @gammarers/aws-frontend-web-app-deploy-stack
install by pnpm
pnpm add @gammarers/aws-frontend-web-app-deploy-stack
install by bun
bun add @gammarers/aws-frontend-web-app-deploy-stack
Python
pip install gammarers.aws-frontend-web-app-deploy-stack
C# / .NET
dotnet add package Gammarers.CDK.AWS.FrontendWebAppDeployStack
Example
import { FrontendWebAppDeployStack } from '@gammarers/aws-frontend-web-app-deploy-stack';
new FrontendWebAppDeployStack(app, 'FrontendWebAppDeployStack', {
env: { account: '012345678901', region: 'us-east-1' },
domainName: 'example.com',
hostedZoneId: 'Z0000000000000000000Q',
originBucketName: 'frontend-web-app-example-origin-bucket', // new create in this stack
deploySourceAssetPath: 'website/',
logBucketArn: 'arn:aws:s3:::frontend-web-app-example-access-log-bucket', // already created
});
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for gammarers.aws-frontend-web-app-deploy-stack 2.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarers_aws_frontend_web_app_deploy_stack-2.1.19.tar.gz | 54.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarers_aws_frontend_web_app_deploy_stack-2.1.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 106.4 kB
Release files / gammarers_aws_frontend_web_app_deploy_stack-2.1.19.tar.gz
| Download URL | gammarers_aws_frontend_web_app_deploy_stack-2.1.19.tar.gz |
|---|---|
| Size | 54.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ec27316c31ae62b2846b7d1853956839fd02e2e70dfea1341de70b95f08f280
|
|
BLAKE2b-256 checksum How to use checksums |
1dc6ec362dc3ccf614596ab85f7decc14ff0a5ddd5f5a053ce2912d7fad22ff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.7
|
Release files / gammarers_aws_frontend_web_app_deploy_stack-2.1.19-py3-none-any.whl
| Download URL | gammarers_aws_frontend_web_app_deploy_stack-2.1.19-py3-none-any.whl |
|---|---|
| Size | 52.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3307006c5c00ebecaa698e36a1e525aa5aa43714b8a40c1b975a3f70122ba2f
|
|
BLAKE2b-256 checksum How to use checksums |
1765c5002419b514497294c4d8646cfde8fb4878e647537c9e8352a361fb6d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.7
|