Interface LambdaFunctionOptions

    • Method Detail

      • getCdkDeps

        @Stability(Experimental)
        @NotNull
        AwsCdkDeps getCdkDeps()
        (experimental) AWS CDK dependency manager.
      • getEntrypoint

        @Stability(Experimental)
        @NotNull
        String getEntrypoint()
        (experimental) 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.

        Example:

         "src/subdir/foo.lambda.ts"
         
      • getConstructFile

        @Stability(Experimental)
        @Nullable
        default String getConstructFile()
        (experimental) The name of the generated TypeScript source file.

        This file should also be under the source tree.

        Default: - The name of the entrypoint file, with the `-function.ts` suffix instead of `.lambda.ts`.

      • getConstructName

        @Stability(Experimental)
        @Nullable
        default String getConstructName()
        (experimental) The name of the generated lambda.Function subclass.

        Default: - A pascal cased version of the name of the entrypoint file, with the extension `Function` (e.g. `ResizeImageFunction`).