cdk-nextjs-standalone
Version:
Deploy a NextJS app to AWS using CDK and OpenNext.
36 lines (35 loc) • 871 B
TypeScript
import type { NextjsBuild, NextjsServerOverrides } from '../';
import type { aws_lambda, aws_s3 } from 'aws-cdk-lib';
/**
* OptionalNextjsServerProps
*/
export interface OptionalNextjsServerProps {
/**
* @stability stable
*/
readonly quiet?: boolean;
/**
* Override props for every construct.
* @stability stable
*/
readonly overrides?: NextjsServerOverrides;
/**
* Override function properties.
* @stability stable
*/
readonly lambda?: aws_lambda.FunctionOptions;
/**
* @stability stable
*/
readonly environment?: Record<string, string>;
/**
* Static asset bucket.
* Function needs bucket to read from cache.
* @stability stable
*/
readonly staticAssetBucket?: aws_s3.IBucket;
/**
* @stability stable
*/
readonly nextBuild?: NextjsBuild;
}