# AdotLambdaLayerJavaAutoInstrumentationVersion

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`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-lambda/lib/adot-layers.ts#L283)
- Type last changed: v2.178.0 · 6 Feb 2025

## 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

- `LATEST`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (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_2`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (static) — Version 1.19.2.

- `V1_28_1`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (static) — Version 1.28.1.

- `V1_30_0`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (static) — Version 1.30.0.

- `V1_31_0`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (static) — Version 1.31.0.

- `V1_32_0`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (static) — Version 1.32.0.

- `V1_32_0_1`: [AdotLambdaLayerJavaAutoInstrumentationVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerJavaAutoInstrumentationVersion.html) (required) (static) — Version 1.32.0.

## Methods

- `layerArn(scope: IConstruct, architecture: Architecture): string` — The ARN of the Lambda layer.

  **Parameters**

  - `scope` — The binding scope.
  - `architecture` — The architecture of the Lambda layer (either X86_64 or ARM_64).
