Skip to content

Commit

Permalink
feat(synthetics): syn-nodejs-puppeteer-9.0 as supported runtime (#31272)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

Closes #31271.

### Reason for this change
[Runtime versions using Node.js and Puppeteer](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html) confirms that Synthetics runtime `syn-nodejs-puppeteer-9.0` is available.

### Description of changes
Added `syn-nodejs-puppeteer-9.0` as supported runtime.

### Description of how you validated changes
N/A

### 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
ashishdhingra committed Sep 4, 2024
1 parent 511eab3 commit c1d7782
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,19 @@ export class Runtime {
*/
public static readonly SYNTHETICS_NODEJS_PUPPETEER_8_0 = new Runtime('syn-nodejs-puppeteer-8.0', RuntimeFamily.NODEJS);

/**
* `syn-nodejs-puppeteer-9.0` includes the following:
* - Lambda runtime Node.js 20.x
* - Puppeteer-core version 22.12.1
* - Chromium version 126.0.6478.126
*
* New Features:
* - **Bug fixes** Bug fix to enable visual monitoring capabilities.
*
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-nodejs-puppeteer-9.0
*/
public static readonly SYNTHETICS_NODEJS_PUPPETEER_9_0 = new Runtime('syn-nodejs-puppeteer-9.0', RuntimeFamily.NODEJS);

/**
* `syn-python-selenium-1.0` includes the following:
* - Lambda runtime Python 3.8
Expand Down

0 comments on commit c1d7782

Please sign in to comment.