From beb8ea39058954e6e09b2519f9df0a35b2cd06f9 Mon Sep 17 00:00:00 2001 From: Ashish Dhingra <67916761+ashishdhingra@users.noreply.github.com> Date: Mon, 26 Aug 2024 10:08:30 -0700 Subject: [PATCH] chore(synthetics): added syn-python-selenium-4.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 349e2db317851..836c60de52f2b 100644 --- a/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts +++ b/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts @@ -322,6 +322,19 @@ export class Runtime { */ public static readonly SYNTHETICS_PYTHON_SELENIUM_3_0 = new Runtime('syn-python-selenium-3.0', RuntimeFamily.PYTHON); + /** + * `syn-python-selenium-4.0` includes the following: + * - Lambda runtime Python 3.9 + * - Selenium version 4.15.1 + * - Chromium version 126.0.6478.126 + * + * New Features: + * - **Bug fixes** for errors in HAR parser logging. + * + * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-4.0 + */ + public static readonly SYNTHETICS_PYTHON_SELENIUM_4_0 = new Runtime('syn-python-selenium-4.0', RuntimeFamily.PYTHON); + /** * @param name The name of the runtime version * @param family The Lambda runtime family