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

    Interface LambdaFunctionConstructGeneratorOptions

    Options for the LambdaFunctionConstructGenerator

    interface LambdaFunctionConstructGeneratorOptions {
        addDependencies?: boolean;
        baseConstructClass?: string;
        baseConstructImport?: string;
        baseConstructPackage?: string;
        esbuildOptions?: BuildOptions;
        filePattern?: string;
        outputDir?: string;
        sourceDir?: string;
    }
    Index
    addDependencies?: boolean

    Whether to automatically add the required dependencies

    true
    
    baseConstructClass?: string

    Name of the construct class to extend

    "NodejsFunction"
    
    "aws_lambda.Function"
    
    baseConstructImport?: string

    Import statement for the base construct

    "import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';"
    
    "import { aws_lambda } from 'aws-cdk-lib';"
    
    baseConstructPackage?: string

    Package name to add as dependency for the base construct

    "aws-cdk-lib"
    
    "aws-cdk-lib"
    
    esbuildOptions?: BuildOptions

    esbuild options to customize the bundling process

    {}
    
    filePattern?: string

    File pattern to identify Lambda Function handlers

    "*.lambda.ts"
    
    outputDir?: string

    Output directory where Lambda Function constructs will be generated

    "src/constructs/lambda"
    
    sourceDir?: string

    Source directory where Lambda Function handlers are located

    "src/handlers"