Skip to content
v2.276.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;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

adot_lambda_layer_java_auto_instrumentation_version = lambda_.AdotLambdaLayerJavaAutoInstrumentationVersion.LATEST
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

AdotLambdaLayerJavaAutoInstrumentationVersion adotLambdaLayerJavaAutoInstrumentationVersion = AdotLambdaLayerJavaAutoInstrumentationVersion.LATEST;
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var adotLambdaLayerJavaAutoInstrumentationVersion = AdotLambdaLayerJavaAutoInstrumentationVersion.LATEST;
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

adotLambdaLayerJavaAutoInstrumentationVersion := awscdk.Aws_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).