Interface LambdaExtensionOptions

    • 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 extension entrypoint (stand-alone script).

        This is relative to the root directory of the project.

        Example:

         "src/subdir/foo.lambda-extension.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 `-layer-version.ts` suffix instead of `.lambda-extension.ts`.

      • getConstructName

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

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

      • getName

        @Stability(Experimental)
        @Nullable
        default String getName()
        (experimental) Name of the extension.

        Default: - Derived from the entrypoint filename.