@nikovirtala/projen-constructs
    Preparing search index...

    Interface LambdaFunctionCodeBundleOptions

    Options for LambdaFunctionCodeBundle.

    interface LambdaFunctionCodeBundleOptions {
        bundlingOptions?: BundlingOptions;
        constructFile?: string;
        constructName?: string;
        entrypoint: string;
        extension: string;
    }
    Index
    bundlingOptions?: BundlingOptions

    Bundling options for this AWS Lambda Function.

    • the defaults of BundlingOptions
    constructFile?: string

    The name of the generated TypeScript source file. This file should also be under the source tree.

    • The path of the entrypoint file, with the -code.ts suffix instead of the extension (e.g. src/foo-code.ts).
    constructName?: string

    The name of the generated aws_lambda.Code constant.

    • A pascal cased version of the name of the entrypoint file, with the suffix FunctionCode (e.g. ResizeImageFunctionCode).
    entrypoint: string

    A path from the project root directory to a TypeScript file which contains the AWS Lambda handler entrypoint (exports a handler function).

    This is relative to the root directory of the project.

    "src/subdir/foo.lambda.ts"
    
    extension: string

    Suffix for AWS Lambda handlers.

    ".lambda.ts"