Skip to content

feat(codebuild): add Node.js 24 Lambda build image constants - #38471

Open
sanyamk23 wants to merge 2 commits into
aws:mainfrom
sanyamk23:feat/codebuild-node24-lambda-images
Open

feat(codebuild): add Node.js 24 Lambda build image constants#38471
sanyamk23 wants to merge 2 commits into
aws:mainfrom
sanyamk23:feat/codebuild-node24-lambda-images

Conversation

@sanyamk23

@sanyamk23 sanyamk23 commented Aug 2, 2026

Copy link
Copy Markdown

Issue # (if applicable)

Closes #38172

Description

Adds Node.js 24 Lambda build image constants to both LinuxLambdaBuildImage (x86-64) and LinuxArmLambdaBuildImage (aarch64), mirroring the existing Node 22 constants.

The Node.js 24 CodeBuild Lambda images (aws/codebuild/amazonlinux-x86_64-lambda-standard:nodejs24 and aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs24) are now available in AWS CodeBuild.

Changes

  • packages/aws-cdk-lib/aws-codebuild/lib/linux-lambda-build-image.ts: Added AMAZON_LINUX_2023_NODE_24
  • packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-lambda-build-image.ts: Added AMAZON_LINUX_2023_NODE_24

Motivation

Follows the exact pattern of the existing Node 22 addition (mirrors the previous PR #34197). The Node.js 24 images are verified live in CodeBuild.

🤖🤖🤖 Generated with AI - this code was authored with the help of an AI agent.


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

@github-actions github-actions Bot added the beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK label Aug 2, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team August 2, 2026 19:07
@github-actions github-actions Bot added effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p1 labels Aug 2, 2026

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(This review is outdated)

@aws-cdk-automation
aws-cdk-automation dismissed their stale review August 2, 2026 19:28

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

@sanyamk23
sanyamk23 force-pushed the feat/codebuild-node24-lambda-images branch from 3a8f67f to cf67ce8 Compare August 2, 2026 19:51
@kimmoahokas

Copy link
Copy Markdown
Contributor

Previous PR with the same change, this one is just better tested #38173

@sanyamk23
sanyamk23 force-pushed the feat/codebuild-node24-lambda-images branch from cf67ce8 to 3a8f67f Compare August 3, 2026 16:47
sanyamk23 and others added 2 commits August 3, 2026 22:58
Adds AMAZON_LINUX_2023_NODE_24 to LinuxLambdaBuildImage and LinuxArmLambdaBuildImage
for both x86-64 and aarch64 Lambda build images, mirroring the Node 22 addition.

Closes aws#38172

🤖🤖🤖 Generated with AI - this code was authored with the help of an AI agent
…mbda build images

Addresses PR linter feedback requesting README, test, and integration
test changes for the Node.js 24 Lambda build image feature.

- README: mention AMAZON_LINUX_2023_NODE_24 constants
- Unit tests: verify imageId for NODE_24 constants (x86_64 and arm64)
- Integration tests: use NODE_24 image in both Lambda build image integs
- Snapshots: update image references from nodejs18 to nodejs24

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@sanyamk23

Copy link
Copy Markdown
Author

Bumping for review — CI is all green. Build workflow is action_required (fork PR security). Kimmo mentioned #38173 had a similar change; this version adds the test coverage that was missing there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CodeBuild Lambda build image constants for Node.js 24

3 participants