import { AssetImageCodeProps, DockerImageFunction, FunctionUrl } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { NextjsComputeBaseProps } from "./nextjs-compute-base-props"; import { OptionalDockerImageFunctionProps } from "../generated-structs/OptionalDockerImageFunctionProps"; import { OptionalFunctionUrlProps } from "../generated-structs/OptionalFunctionUrlProps"; export interface NextjsFunctionsOverrides { readonly dockerImageFunctionProps?: OptionalDockerImageFunctionProps; readonly functionUrlProps?: OptionalFunctionUrlProps; readonly assetImageCodeProps?: AssetImageCodeProps; } export interface NextjsFunctionsProps extends NextjsComputeBaseProps { readonly overrides?: NextjsFunctionsOverrides; } /** * Run Next.js in functions on AWS with AWS Lambda. */ export declare class NextjsFunctions extends Construct { function: DockerImageFunction; functionUrl?: FunctionUrl; private props; constructor(scope: Construct, id: string, props: NextjsFunctionsProps); private createFunction; private createDockerImageCode; private copyDockerfileToContext; }