Skip to content

Commit 2c2b297

Browse files
authored
Merge pull request #126 from buptliuhs/main
Update the list of AWS Lambda runtimes.
2 parents 586ca2b + 622e2a1 commit 2c2b297

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

lib/plugins/aws/invoke-local/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class AwsInvokeLocal {
277277
);
278278
}
279279

280-
if (['java8', 'java11', 'java17', 'java21'].includes(runtime)) {
280+
if (['java8', 'java8.al2', 'java11', 'java17', 'java21', 'java25'].includes(runtime)) {
281281
const className = handler.split('::')[0];
282282
const handlerName = handler.split('::')[1] || 'handleRequest';
283283
const artifact =

lib/plugins/aws/provider.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ class AwsProvider {
627627
enum: [
628628
'dotnet6',
629629
'dotnet8',
630+
'dotnet9',
630631
'go1.x',
631632
'java21',
632633
'java17',

types/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ export type AwsLambdaRole = string | AwsCfSub | AwsCfImport | AwsCfGetAtt;
5353
export type AwsLambdaRuntime =
5454
| "dotnet6"
5555
| "dotnet8"
56+
| "dotnet9"
5657
| "go1.x"
58+
| "java25"
5759
| "java21"
5860
| "java17"
5961
| "java11"

0 commit comments

Comments
 (0)