Skip to content
v2.277.0

AdotLambdaLayerJavaSdkVersion Class ​

The collection of versions of the ADOT Lambda Layer for Java SDK.

Note: These are legacy ADOT Lambda layers with an embedded collector.

Example ​

ts
declare const fn: lambda.Function;
const layerArn = lambda.AdotLambdaLayerJavaSdkVersion.V1_19_0.layerArn(fn.stack, fn.architecture);
python
# fn: lambda.Function

layer_arn = lambda_.AdotLambdaLayerJavaSdkVersion.V1_19_0.layer_arn(fn.stack, fn.architecture)
java
Function fn;

String layerArn = AdotLambdaLayerJavaSdkVersion.V1_19_0.layerArn(fn.getStack(), fn.getArchitecture());
csharp
// Install: dotnet add package Amazon.CDK.Lib
Function fn;

var layerArn = AdotLambdaLayerJavaSdkVersion.V1_19_0.LayerArn(fn.Stack, fn.Architecture);
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var fn Function

layerArn := lambda.AdotLambdaLayerJavaSdkVersion_V1_19_0().layerArn(fn.stack, fn.Architecture)

Properties ​

The latest layer version available in this CDK version.

New versions could introduce incompatible changes. Make sure to test them before deploying to production.

Methods ​

layerArn(scope: IConstruct, architecture: Architecture): stringdef layer_arn(self, scope: IConstruct, architecture: Architecture) -> strpublic String layerArn(IConstruct scope, Architecture architecture)public string LayerArn(IConstruct scope, Architecture architecture)func LayerArn(Scope IConstruct, Architecture Architecture) *string#
The ARN of the Lambda layer.
2 parameters

Parameters

  • scopescopescopescopeScope — The binding scope.
  • architecturearchitecturearchitecturearchitectureArchitecture — The architecture of the Lambda layer (either X86_64 or ARM_64).