This package has been deprecated

Author message:

WARNING: This project has been renamed to @gammarers/aws-frontend-web-app-deploy-stack. Install using @gammarers/aws-frontend-web-app-deploy-stack instead.

@gammarer/aws-frontend-web-app-deploy-stack
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

AWS Frontend Web App Deploy Stack

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) 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

npm install @gammarer/aws-frontend-web-app-deploy-stack
# or
yarn add @gammarer/aws-frontend-web-app-deploy-stack

Python

pip install gammarer.aws-frontend-web-app-deploy-stack

C# / .NET

dotnet add package Gammarer.CDK.AWS.FrontendWebAppDeployStack

Java

Add the following to pom.xml:

<dependency>
  <groupId>com.gammarer</groupId>
  <artifactId>aws-frontend-web-app-deploy-stack</artifactId>
</dependency>

Example

import { FrontendWebAppDeployStack } from '@gammarer/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.

Package Sidebar

Install

npm i @gammarer/aws-frontend-web-app-deploy-stack

Weekly Downloads

4

Version

1.1.6

License

Apache-2.0

Unpacked Size

235 kB

Total Files

9

Last publish

Collaborators

  • yicr