Skip to content

Commit d0e67f1

Browse files
committed
feat(synthetics): add syn-nodejs-3.0 runtime
Adds the missing `SYNTHETICS_NODEJS_3_0` runtime constant to the Runtime class. This runtime is based on Node.js 20.x and supports the multi-checks blueprint for creating synthetic monitoring scenarios without browser/framework dependencies. Fixes #36648
1 parent 5e5e079 commit d0e67f1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,17 @@ export class Runtime {
360360
*/
361361
public static readonly SYNTHETICS_NODEJS_PLAYWRIGHT_3_0 = new Runtime('syn-nodejs-playwright-3.0', RuntimeFamily.NODEJS);
362362

363+
/**
364+
* `syn-nodejs-3.0` includes the following:
365+
* - Lambda runtime Node.js 20.x
366+
*
367+
* New Features:
368+
* - **Multi-checks blueprint**: Supports the multi-checks blueprint for creating complex synthetic monitoring scenarios.
369+
*
370+
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_Nodejs.html
371+
*/
372+
public static readonly SYNTHETICS_NODEJS_3_0 = new Runtime('syn-nodejs-3.0', RuntimeFamily.NODEJS);
373+
363374
/**
364375
* `syn-python-selenium-1.0` includes the following:
365376
* - Lambda runtime Python 3.8

0 commit comments

Comments
 (0)