File tree 4 files changed +19
-0
lines changed
s3-uploader/runtimes/nodejs20x
4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ An ultra simple hello-world function has been written in each AWS supported runt
23
23
- ` nodejs14.x `
24
24
- ` nodejs16.x `
25
25
- ` nodejs18.x `
26
+ - ` nodejs20.x `
26
27
- ` python3.7 `
27
28
- ` python3.8 `
28
29
- ` python3.9 `
Original file line number Diff line number Diff line change 29
29
"path" : " nodejs18x" ,
30
30
"architectures" : [" x86_64" , " arm64" ]
31
31
},
32
+ {
33
+ "displayName" : " nodejs20.x" ,
34
+ "runtime" : " nodejs20.x" ,
35
+ "handler" : " index.handler" ,
36
+ "path" : " nodejs20x" ,
37
+ "architectures" : [" x86_64" , " arm64" ]
38
+ },
32
39
{
33
40
"displayName" : " python3.7" ,
34
41
"runtime" : " python3.7" ,
Original file line number Diff line number Diff line change
1
+ DIR_NAME=" ./runtimes/$1 "
2
+ ARCH=$2
3
+
4
+ rm ${DIR_NAME} /code_${ARCH} .zip 2> /dev/null
5
+
6
+ zip -j ${DIR_NAME} /code_${ARCH} .zip ${DIR_NAME} /index.js
Original file line number Diff line number Diff line change
1
+ exports . handler = ( ) => {
2
+ return {
3
+ statusCode : 200
4
+ } ;
5
+ } ;
You can’t perform that action at this time.
0 commit comments