@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.613Z") @Stability(value=Experimental) public interface LambdaFunctionOptions extends software.amazon.jsii.JsiiSerializable, LambdaFunctionCommonOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaFunctionOptions.Builder
A builder for
LambdaFunctionOptions |
static class |
LambdaFunctionOptions.Jsii$Proxy
An implementation for
LambdaFunctionOptions |
| Modifier and Type | Method and Description |
|---|---|
static LambdaFunctionOptions.Builder |
builder() |
AwsCdkDeps |
getCdkDeps()
(experimental) AWS CDK dependency manager.
|
default String |
getConstructFile()
(experimental) The name of the generated TypeScript source file.
|
default String |
getConstructName()
(experimental) The name of the generated `lambda.Function` subclass.
|
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).
|
getBundlingOptions, getRuntime@Stability(value=Experimental) @NotNull AwsCdkDeps getCdkDeps()
@Stability(value=Experimental) @NotNull String getEntrypoint()
This is relative to the root directory of the project.
Example:
// Example automatically generated from non-compiling source. May contain errors. "src/subdir/foo.lambda.ts"
@Stability(value=Experimental) @Nullable default String getConstructFile()
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`.
@Stability(value=Experimental) @Nullable default String getConstructName()
Default: - A pascal cased version of the name of the entrypoint file, with the extension `Function` (e.g. `ResizeImageFunction`).
@Stability(value=Experimental) static LambdaFunctionOptions.Builder builder()
builder in interface LambdaFunctionCommonOptionsLambdaFunctionOptions.Builder of LambdaFunctionOptionsCopyright © 2021. All rights reserved.