Skip to main content

AWS Frontend Web App Deploy Stack

GitHub npm (scoped) PyPI Nuget GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gammarers.aws-frontend-web-app-deploy-stack 2.1.4
File Size Uploaded Provenance Actions
gammarers_aws_frontend_web_app_deploy_stack-2.1.4.tar.gz 53.4 kB Without provenance Details for gammarers_aws_frontend_web_app_deploy_stack-2.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gammarers.aws-frontend-web-app-deploy-stack 2.1.4
File Interpreter ABI Platform Actions
gammarers_aws_frontend_web_app_deploy_stack-2.1.4-py3-none-any.whl Python 3 none any Details for gammarers_aws_frontend_web_app_deploy_stack-2.1.4-py3-none-any.whl

Total release size: 105.2 kB

Release files / gammarers_aws_frontend_web_app_deploy_stack-2.1.4.tar.gz

Download URL gammarers_aws_frontend_web_app_deploy_stack-2.1.4.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6d66ebf831e4cd67ffcb0da2b99e5fe074a59f340163ecaa4f0d7324445aff8f
BLAKE2b-256 checksum
How to use checksums
65f38758894b7a2d76c3a7aaff22ec15a0fef987cea4ca32c5642746d90fcc9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / gammarers_aws_frontend_web_app_deploy_stack-2.1.4-py3-none-any.whl

Download URL gammarers_aws_frontend_web_app_deploy_stack-2.1.4-py3-none-any.whl
Size 51.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fa752a0742897cb234bef3fccc2f111f72af4ecf09a73d0edbc0e7e23dd7a3a
BLAKE2b-256 checksum
How to use checksums
4ae1568ef78c356757da43dfe300b1946307b3e8da1acdb3aa3df1b6b2ab9b1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for gammarers.aws-frontend-web-app-deploy-stack 2.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page