Skip to content
v2.273.0

AdotLambdaLayerJavaAutoInstrumentationVersion Class ​

The collection of versions of the ADOT Lambda Layer for Java auto-instrumentation.

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const adotLambdaLayerJavaAutoInstrumentationVersion = lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.LATEST;

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