UNPKG

@gammarers/aws-frontend-web-app-deploy-stack

Version:

This is an AWS CDK Construct to make deploying a Frontend Web App (SPA) deploy to S3 behind CloudFront.

13 lines (12 loc) 492 B
import * as cdk from 'aws-cdk-lib'; import { Construct } from 'constructs'; export interface FrontendWebAppDeployStackProps extends cdk.StackProps { readonly domainName: string; readonly hostedZoneId: string; readonly originBucketName: string; readonly logBucketArn: string; readonly deploySourceAssetPath: string; } export declare class FrontendWebAppDeployStack extends cdk.Stack { constructor(scope: Construct, id: string, props: FrontendWebAppDeployStackProps); }