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.
| Source | aws-lambda/lib/adot-layers.ts |
|---|---|
| Type last changed |
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
LATESTAdotLambdaLayerJavaAutoInstrumentationVersionLATESTAdotLambdaLayerJavaAutoInstrumentationVersionLATESTAdotLambdaLayerJavaAutoInstrumentationVersionLATESTAdotLambdaLayerJavaAutoInstrumentationVersionLATESTAdotLambdaLayerJavaAutoInstrumentationVersion static #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_19_2AdotLambdaLayerJavaAutoInstrumentationVersionV1_19_2AdotLambdaLayerJavaAutoInstrumentationVersionV1_19_2AdotLambdaLayerJavaAutoInstrumentationVersionV1_19_2AdotLambdaLayerJavaAutoInstrumentationVersionV1_19_2AdotLambdaLayerJavaAutoInstrumentationVersion static #Version 1.19.2.
V1_28_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_28_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_28_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_28_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_28_1AdotLambdaLayerJavaAutoInstrumentationVersion static #Version 1.28.1.
V1_30_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_30_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_30_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_30_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_30_0AdotLambdaLayerJavaAutoInstrumentationVersion static #Version 1.30.0.
V1_31_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_31_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_31_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_31_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_31_0AdotLambdaLayerJavaAutoInstrumentationVersion static #Version 1.31.0.
V1_32_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0AdotLambdaLayerJavaAutoInstrumentationVersion static #Version 1.32.0.
V1_32_0_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0_1AdotLambdaLayerJavaAutoInstrumentationVersionV1_32_0_1AdotLambdaLayerJavaAutoInstrumentationVersion static #Version 1.32.0.
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).