Package io.github.cdklabs.projen.awscdk
Interface LambdaFunctionCommonOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
LambdaFunctionOptions
- All Known Implementing Classes:
LambdaFunctionCommonOptions.Jsii$Proxy,LambdaFunctionOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.947Z") @Stability(Experimental) public interface LambdaFunctionCommonOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Common options forLambdaFunction.Applies to all functions in auto-discovery.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLambdaFunctionCommonOptions.BuilderA builder forLambdaFunctionCommonOptionsstatic classLambdaFunctionCommonOptions.Jsii$ProxyAn implementation forLambdaFunctionCommonOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LambdaFunctionCommonOptions.Builderbuilder()default BooleangetAwsSdkConnectionReuse()(experimental) Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.default BundlingOptionsgetBundlingOptions()(experimental) Bundling options for this AWS Lambda function.default BooleangetEdgeLambda()(experimental) Whether to create acloudfront.experimental.EdgeFunctioninstead of alambda.Function.default LambdaRuntimegetRuntime()(experimental) The node.js version to target.
-
-
-
Method Detail
-
getAwsSdkConnectionReuse
@Stability(Experimental) @Nullable default Boolean getAwsSdkConnectionReuse()
(experimental) Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.This sets the
AWS_NODEJS_CONNECTION_REUSE_ENABLEDenvironment variable to1.Not applicable when
edgeLambdais set totruebecause environment variables are not supported in Lambda@Edge.Default: true
-
getBundlingOptions
@Stability(Experimental) @Nullable default BundlingOptions getBundlingOptions()
(experimental) Bundling options for this AWS Lambda function.If not specified the default bundling options specified for the project
Bundlerinstance will be used.Default: - defaults
-
getEdgeLambda
@Stability(Experimental) @Nullable default Boolean getEdgeLambda()
(experimental) Whether to create acloudfront.experimental.EdgeFunctioninstead of alambda.Function.Default: false
-
getRuntime
@Stability(Experimental) @Nullable default LambdaRuntime getRuntime()
(experimental) The node.js version to target.Default: Runtime.NODEJS_18_X
-
builder
@Stability(Experimental) static LambdaFunctionCommonOptions.Builder builder()
-
-