UNPKG

cdk-nextjs

Version:

Deploy Next.js apps on AWS with CDK

52 lines (51 loc) 1.25 kB
import type { aws_ec2, aws_efs, aws_lambda, aws_s3 } from 'aws-cdk-lib'; import type { NextjsType } from '../'; /** * OptionalNextjsAssetsDeploymentProps */ export interface OptionalNextjsAssetsDeploymentProps { /** * Required for `NextjsType.GlobalFunctions` and `NextjsType.GlobalContainers`. * @stability stable */ readonly staticAssetsBucket?: aws_s3.Bucket; /** * @stability stable */ readonly relativePathToPackage?: string; /** * If true, logs details in custom resource lambda. * @default true * @stability stable */ readonly debug?: boolean; /** * Prefix to the URI path the app will be served at. * @stability stable */ readonly basePath?: string; /** * @stability stable */ readonly vpc?: aws_ec2.IVpc; /** * @stability stable */ readonly nextjsType?: NextjsType; /** * @stability stable */ readonly dockerImageCode?: aws_lambda.DockerImageCode; /** * @stability stable */ readonly buildImageDigest?: string; /** * @stability stable */ readonly buildId?: string; /** * @stability stable */ readonly accessPoint?: aws_efs.AccessPoint; }