From 550b7b52e574dab177ae9ae7cc7b77ec3846271b Mon Sep 17 00:00:00 2001 From: Ashish Dhingra <67916761+ashishdhingra@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:33:00 -0700 Subject: [PATCH] chore(synthetics): added syn-nodejs-puppeteer-9.0 as supported runtime --- packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts b/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts index 836c60de52f2b..a44f914678a52 100644 --- a/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts +++ b/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts @@ -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