Skip to content

Commit

Permalink
chore(lambda): adding Insight version (#30466)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

None.

### Reason for this change

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-extension-versionsx86-64.html
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-extension-versionsARM.html

### Description of changes

- adding region
   - ap-southeast-4
   - il-central-1
- adding version
   * Version 1.0.273.0
   * Version 1.0.275.0
   * Version 1.0.295.0
   * Version 1.0.317.0

### Description of how you validated changes

no

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
watany-dev authored Jun 27, 2024
1 parent 2869aaa commit 06d2742
Show file tree
Hide file tree
Showing 3 changed files with 550 additions and 2 deletions.
20 changes: 20 additions & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/lambda-insights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,26 @@ export abstract class LambdaInsightsVersion {
*/
public static readonly VERSION_1_0_229_0 = LambdaInsightsVersion.fromInsightsVersion('1.0.229.0');

/**
* Version 1.0.273.0
*/
public static readonly VERSION_1_0_273_0 = LambdaInsightsVersion.fromInsightsVersion('1.0.273.0');

/**
* Version 1.0.275.0
*/
public static readonly VERSION_1_0_275_0 = LambdaInsightsVersion.fromInsightsVersion('1.0.275.0');

/**
* Version 1.0.295.0
*/
public static readonly VERSION_1_0_295_0 = LambdaInsightsVersion.fromInsightsVersion('1.0.295.0');

/**
* Version 1.0.317.0
*/
public static readonly VERSION_1_0_317_0 = LambdaInsightsVersion.fromInsightsVersion('1.0.317.0');

/**
* Use the insights extension associated with the provided ARN. Make sure the ARN is associated
* with same region as your function
Expand Down
Loading

0 comments on commit 06d2742

Please sign in to comment.