Skip to content

Commit c8d3c6b

Browse files
authored
Merge pull request #50 from tazorax/fix-types-ts
feat: add runtimes in ts types
2 parents bd28528 + 265e2b9 commit c8d3c6b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

lib/plugins/aws/provider.js

+1
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ class AwsProvider {
640640
'ruby2.7',
641641
'ruby3.2',
642642
'ruby3.3',
643+
'ruby3.4',
643644
],
644645
},
645646
awsLambdaRuntimeManagement: {

types/index.d.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ export type AwsLambdaMemorySize = number;
5252
export type AwsLambdaRole = string | AwsCfSub | AwsCfImport | AwsCfGetAtt;
5353
export type AwsLambdaRuntime =
5454
| "dotnet6"
55+
| "dotnet8"
5556
| "go1.x"
57+
| "java21"
5658
| "java17"
5759
| "java11"
5860
| "java8"
@@ -61,6 +63,7 @@ export type AwsLambdaRuntime =
6163
| "nodejs16.x"
6264
| "nodejs18.x"
6365
| "nodejs20.x"
66+
| "nodejs22.x"
6467
| "provided"
6568
| "provided.al2"
6669
| "provided.al2023"
@@ -69,8 +72,12 @@ export type AwsLambdaRuntime =
6972
| "python3.9"
7073
| "python3.10"
7174
| "python3.11"
75+
| "python3.12"
76+
| "python3.13"
7277
| "ruby2.7"
73-
| "ruby3.2";
78+
| "ruby3.2"
79+
| "ruby3.3"
80+
| "ruby3.4";
7481
export type AwsLambdaRuntimeManagement =
7582
| ("auto" | "onFunctionUpdate")
7683
| {
@@ -1532,4 +1539,4 @@ export interface AwsApiGatewayApiKeysProperties {
15321539
}
15331540
export interface AwsCfImportLocallyResolvable {
15341541
"Fn::ImportValue": string;
1535-
}
1542+
}

0 commit comments

Comments
 (0)