# LambdaInsightsVersion

Version of CloudWatch Lambda Insights.

- Source: [`aws-lambda/lib/lambda-insights.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/lambda-insights.ts#L24)
- Type last changed: v2.233.0 · 18 Dec 2025

## Example

```ts
const layerArn = 'arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14';
new lambda.Function(this, 'MyFunction', {
  runtime: lambda.Runtime.NODEJS_LATEST,
  handler: 'index.handler',
  code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
  insightsVersion: lambda.LambdaInsightsVersion.fromInsightVersionArn(layerArn),
});
```

## Initializer

```ts
new LambdaInsightsVersion()
```

## Properties

- `layerVersionArn`: string — The arn of the Lambda Insights extension.

- `VERSION_1_0_119_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.119.0.

- `VERSION_1_0_135_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.135.0.

- `VERSION_1_0_143_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.143.0.

- `VERSION_1_0_178_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.178.0.

- `VERSION_1_0_229_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.229.0.

- `VERSION_1_0_273_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.273.0.

- `VERSION_1_0_275_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.275.0.

- `VERSION_1_0_295_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.295.0.

- `VERSION_1_0_317_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.317.0.

- `VERSION_1_0_333_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.333.0.

- `VERSION_1_0_391_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.391.0.

- `VERSION_1_0_404_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.404.0.

- `VERSION_1_0_498_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.498.0.

- `VERSION_1_0_54_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.54.0.

- `VERSION_1_0_86_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.86.0.

- `VERSION_1_0_89_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.89.0.

- `VERSION_1_0_98_0`: [LambdaInsightsVersion](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.LambdaInsightsVersion.html) (static) — Version 1.0.98.0.

## Methods

- `fromInsightVersionArn(arn: string): LambdaInsightsVersion // chainable` (static) — Use the insights extension associated with the provided ARN.

  Make sure the ARN is associated
  with same region as your function
