diff --git a/README.md b/README.md index bba6a29a2d..3d6d5f015e 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ An ultra simple hello-world function has been written in each AWS supported runt - `nodejs20.x` - `nodejs22.x` - `nodejs24.x` +- `nodejs26.x` - `python3.9` - `python3.10` - `python3.11` diff --git a/manifest.json b/manifest.json index 04ce957e90..eb50a159e6 100644 --- a/manifest.json +++ b/manifest.json @@ -51,6 +51,16 @@ "baseImage": "public.ecr.aws/lambda/nodejs:24" } }, + { + "displayName": "nodejs26.x", + "runtime": "nodejs26.x", + "handler": "index.handler", + "path": "nodejs26x", + "architectures": ["x86_64", "arm64"], + "image": { + "baseImage": "public.ecr.aws/lambda/nodejs:26-preview" + } + }, { "displayName": "python3.9", "runtime": "python3.9", diff --git a/s3-uploader/runtimes/nodejs26x/build.sh b/s3-uploader/runtimes/nodejs26x/build.sh new file mode 100755 index 0000000000..19cbf9a4c7 --- /dev/null +++ b/s3-uploader/runtimes/nodejs26x/build.sh @@ -0,0 +1,6 @@ +DIR_NAME="./runtimes/$1" +ARCH=$2 + +rm ${DIR_NAME}/code_${ARCH}.zip 2> /dev/null + +zip -j ${DIR_NAME}/code_${ARCH}.zip ${DIR_NAME}/index.js \ No newline at end of file diff --git a/s3-uploader/runtimes/nodejs26x/index.js b/s3-uploader/runtimes/nodejs26x/index.js new file mode 100644 index 0000000000..0671370f5b --- /dev/null +++ b/s3-uploader/runtimes/nodejs26x/index.js @@ -0,0 +1,5 @@ +exports.handler = () => { + return { + statusCode: 200 + }; +}; \ No newline at end of file