# AdotLambdaLayerGenericVersion

The collection of versions of the ADOT Lambda Layer for generic purpose.

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

Obtainable from: AdotLambdaLayerGenericVersion.LATEST, AdotLambdaLayerGenericVersion.V0_102_1, AdotLambdaLayerGenericVersion.V0_115_0, AdotLambdaLayerGenericVersion.V0_62_1, AdotLambdaLayerGenericVersion.V0_82_0, AdotLambdaLayerGenericVersion.V0_84_0, AdotLambdaLayerGenericVersion.V0_88_0, AdotLambdaLayerGenericVersion.V0_90_1, AdotLambdaLayerGenericVersion.V0_98_0

- Source: [`aws-lambda/lib/adot-layers.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-lambda/lib/adot-layers.ts#L459)
- Type last changed: v2.178.0 · 6 Feb 2025

## Example

TypeScript:

```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 adotLambdaLayerGenericVersion = lambda.AdotLambdaLayerGenericVersion.LATEST;
```

Python:

```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_generic_version = lambda_.AdotLambdaLayerGenericVersion.LATEST
```

Java:

```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.*;

AdotLambdaLayerGenericVersion adotLambdaLayerGenericVersion = AdotLambdaLayerGenericVersion.LATEST;
```

C# / .NET:

```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 adotLambdaLayerGenericVersion = AdotLambdaLayerGenericVersion.LATEST;
```

Golang:

```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"

adotLambdaLayerGenericVersion := awscdk.Aws_lambda.AdotLambdaLayerGenericVersion_LATEST()
```

## Properties

- `LATEST`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (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.

- `V0_102_1`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.102.1.

- `V0_115_0`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.115.0.

- `V0_62_1`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.62.1.

- `V0_82_0`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.82.0.

- `V0_84_0`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.84.0.

- `V0_88_0`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.88.0.

- `V0_90_1`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.90.1.

- `V0_98_0`: [AdotLambdaLayerGenericVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion.html) (static) — Version 0.98.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).
