Class AdotLambdaLayerJavaScriptSdkVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.AdotLambdaLayerJavaScriptSdkVersion
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-17T19:20:30.746Z")
@Stability(Stable)
public class AdotLambdaLayerJavaScriptSdkVersion
extends software.amazon.jsii.JsiiObject
The collection of versions of the ADOT Lambda Layer for JavaScript SDK.
Example:
import software.amazon.awscdk.services.lambda.AdotLambdaExecWrapper; import software.amazon.awscdk.services.lambda.AdotLayerVersion; import software.amazon.awscdk.services.lambda.AdotLambdaLayerJavaScriptSdkVersion; Function fn = Function.Builder.create(this, "MyFunction") .runtime(Runtime.NODEJS_18_X) .handler("index.handler") .code(Code.fromInline("exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }")) .adotInstrumentation(AdotInstrumentationConfig.builder() .layerVersion(AdotLayerVersion.fromJavaScriptSdkLayerVersion(AdotLambdaLayerJavaScriptSdkVersion.LATEST)) .execWrapper(AdotLambdaExecWrapper.REGULAR_HANDLER) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AdotLambdaLayerJavaScriptSdkVersion
The latest layer version available in this CDK version.static final AdotLambdaLayerJavaScriptSdkVersion
Version 1.15.0.static final AdotLambdaLayerJavaScriptSdkVersion
Version 1.16.0.static final AdotLambdaLayerJavaScriptSdkVersion
Version 1.17.1.static final AdotLambdaLayerJavaScriptSdkVersion
Version 1.18.1.static final AdotLambdaLayerJavaScriptSdkVersion
Version 1.30.0.static final AdotLambdaLayerJavaScriptSdkVersion
Version 1.7.0. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AdotLambdaLayerJavaScriptSdkVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AdotLambdaLayerJavaScriptSdkVersion
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
layerArn
(software.constructs.IConstruct scope, Architecture architecture) The ARN of the Lambda layer.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
LATEST
The latest layer version available in this CDK version.New versions could introduce incompatible changes. Make sure to test them before deploying to production.
-
V1_15_0_1
Version 1.15.0. -
V1_16_0
Version 1.16.0. -
V1_17_1
Version 1.17.1. -
V1_18_1
Version 1.18.1. -
V1_30_0
Version 1.30.0. -
V1_7_0
Version 1.7.0.
-
-
Constructor Details
-
AdotLambdaLayerJavaScriptSdkVersion
protected AdotLambdaLayerJavaScriptSdkVersion(software.amazon.jsii.JsiiObjectRef objRef) -
AdotLambdaLayerJavaScriptSdkVersion
protected AdotLambdaLayerJavaScriptSdkVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
layerArn
@Stability(Stable) @NotNull public String layerArn(@NotNull software.constructs.IConstruct scope, @NotNull Architecture architecture) The ARN of the Lambda layer.- Parameters:
scope
- The binding scope. This parameter is required.architecture
- The architecture of the Lambda layer (either X86_64 or ARM_64). This parameter is required.
-
getLayerVersion
-