Package io.github.cdklabs.projen.awscdk
Class LambdaFunctionCommonOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.awscdk.LambdaFunctionCommonOptions.Jsii$Proxy
-
- All Implemented Interfaces:
LambdaFunctionCommonOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LambdaFunctionCommonOptions
@Stability(Experimental) @Internal public static final class LambdaFunctionCommonOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaFunctionCommonOptions
An implementation forLambdaFunctionCommonOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.awscdk.LambdaFunctionCommonOptions
LambdaFunctionCommonOptions.Builder, LambdaFunctionCommonOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LambdaFunctionCommonOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theLambdaFunctionCommonOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)BooleangetAwsSdkConnectionReuse()(experimental) Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.BundlingOptionsgetBundlingOptions()(experimental) Bundling options for this AWS Lambda function.BooleangetEdgeLambda()(experimental) Whether to create acloudfront.experimental.EdgeFunctioninstead of alambda.Function.LambdaRuntimegetRuntime()(experimental) The node.js version to target.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(LambdaFunctionCommonOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theLambdaFunctionCommonOptions.Builder.
-
-
Method Detail
-
getAwsSdkConnectionReuse
public final Boolean getAwsSdkConnectionReuse()
Description copied from interface:LambdaFunctionCommonOptions(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
- Specified by:
getAwsSdkConnectionReusein interfaceLambdaFunctionCommonOptions- See Also:
- https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.html
-
getBundlingOptions
public final BundlingOptions getBundlingOptions()
Description copied from interface:LambdaFunctionCommonOptions(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
- Specified by:
getBundlingOptionsin interfaceLambdaFunctionCommonOptions
-
getEdgeLambda
public final Boolean getEdgeLambda()
Description copied from interface:LambdaFunctionCommonOptions(experimental) Whether to create acloudfront.experimental.EdgeFunctioninstead of alambda.Function.Default: false
- Specified by:
getEdgeLambdain interfaceLambdaFunctionCommonOptions
-
getRuntime
public final LambdaRuntime getRuntime()
Description copied from interface:LambdaFunctionCommonOptions(experimental) The node.js version to target.Default: Runtime.NODEJS_18_X
- Specified by:
getRuntimein interfaceLambdaFunctionCommonOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-