Skip to content

feat(synthetics): add syn-nodejs-3.0 runtime#36652

Merged
mergify[bot] merged 1 commit intoaws:mainfrom
OlegHQ:fix/synthetics-runtime-36648
Jan 12, 2026
Merged

feat(synthetics): add syn-nodejs-3.0 runtime#36652
mergify[bot] merged 1 commit intoaws:mainfrom
OlegHQ:fix/synthetics-runtime-36648

Conversation

@OlegHQ
Copy link
Contributor

@OlegHQ OlegHQ commented Jan 11, 2026

Issue # (if applicable)

Closes #36648.

Reason for this change

The Runtime class was missing the syn-nodejs-3.0 runtime constant, forcing developers to manually instantiate it with new Runtime('syn-nodejs-3.0', RuntimeFamily.NODEJS) instead of using the standard static constant pattern.

Description of changes

Added the SYNTHETICS_NODEJS_3_0 static constant to the Runtime class following the existing pattern for runtime definitions. The constant includes:

  • Lambda runtime Node.js 20.x
  • Multi-checks blueprint support
  • Proper JSDoc documentation with AWS documentation reference

Describe any new or updated permissions being added

No new permissions required.

Description of how you validated changes

Environment: macOS (arm64)
Runtime: Node.js v24.11.1

Verified the change follows the established pattern by comparing against adjacent runtime definitions. The implementation matches the exact format used for other runtime constants including:

  • Naming convention (SCREAMING_SNAKE_CASE)
  • JSDoc structure and content
  • Runtime family assignment
  • Placement in the file

AWS documentation for syn-nodejs-3.0 verified at https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_Nodejs.html

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

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 aws#36648
@github-actions github-actions bot added bug This issue is a bug. effort/small Small work item – less than a day of effort p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Jan 11, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team January 11, 2026 00:46
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@OlegHQ
Copy link
Contributor Author

OlegHQ commented Jan 11, 2026

Exemption Request

This PR adds a single static runtime constant that mirrors AWS's official syn-nodejs-3.0 runtime.

Justification:

  • No README needed: The runtime is self-documented via JSDoc with a link to AWS docs
  • No unit test needed: It's a static readonly constant matching AWS's runtime string exactly
  • No integration test needed: The runtime is already supported and tested by AWS; we're exposing the constant CDK users can already use via RuntimeFamily.NODEJS with a manual version string

This follows the same pattern as all other runtime constants in the file (e.g., SYNTHETICS_NODEJS_PUPPETEER_9_1, SYNTHETICS_NODEJS_PUPPETEER_9_0).

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Jan 11, 2026
@mrgrain mrgrain added pr-linter/exempt-readme The PR linter will not require README changes pr-linter/exempt-test The PR linter will not require test changes pr-linter/exempt-integ-test The PR linter will not require integ test changes and removed pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. bug This issue is a bug. labels Jan 12, 2026
@aws-cdk-automation aws-cdk-automation dismissed their stale review January 12, 2026 08:53

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@mergify
Copy link
Contributor

mergify bot commented Jan 12, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 18f9fef into aws:main Jan 12, 2026
61 of 62 checks passed
@mergify
Copy link
Contributor

mergify bot commented Jan 12, 2026

Merge Queue Status

✅ The pull request has been merged at d0e67f1

This pull request spent 5 seconds in the queue, with no time running CI.
The checks were run in-place.

Required conditions to merge

@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort p2 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exempt-readme The PR linter will not require README changes pr-linter/exempt-test The PR linter will not require test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

synthetics: missing runtime syn-nodejs-3.0

3 participants