Skip to content
v2.275.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);

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).