Skip to content

Commit 167889a

Browse files
committed
Add Serverless definitions for v4.27.1
1 parent 0d1532c commit 167889a

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

index.d.ts

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export type AwsLambdaRuntime =
5959
| "dotnet6"
6060
| "dotnet8"
6161
| "go1.x"
62+
| "java25"
6263
| "java21"
6364
| "java17"
6465
| "java11"
@@ -69,6 +70,7 @@ export type AwsLambdaRuntime =
6970
| "nodejs18.x"
7071
| "nodejs20.x"
7172
| "nodejs22.x"
73+
| "nodejs24.x"
7274
| "provided"
7375
| "provided.al2"
7476
| "provided.al2023"
@@ -79,6 +81,7 @@ export type AwsLambdaRuntime =
7981
| "python3.11"
8082
| "python3.12"
8183
| "python3.13"
84+
| "python3.14"
8285
| "ruby2.7"
8386
| "ruby3.2"
8487
| "ruby3.3";
@@ -139,6 +142,11 @@ export type AwsS3BucketName = string;
139142
export type Stage = string;
140143
export type AwsCfArrayInstruction = AwsCfInstruction[] | AwsCfSplit;
141144
export type ServiceName = string;
145+
/**
146+
* This interface was referenced by `undefined`'s JSON-Schema definition
147+
* via the `patternProperty` "^Fn::ForEach::[a-zA-Z0-9]+$".
148+
*/
149+
export type AwsCfForEach = unknown[];
142150

143151
export interface AWS {
144152
org?: string;
@@ -334,6 +342,7 @@ export interface AWS {
334342
[k: string]: string;
335343
};
336344
template?: string;
345+
transferMode?: string | string;
337346
statusCodes?: {
338347
[k: string]: {
339348
headers?: {
@@ -751,6 +760,7 @@ export interface AWS {
751760
build?: string;
752761
runtimeManagement?: AwsLambdaRuntimeManagement;
753762
tags?: AwsResourceTags;
763+
tenancy?: AwsLambdaTenancy;
754764
timeout?: AwsLambdaTimeout;
755765
tracing?: AwsLambdaTracing;
756766
url?:
@@ -880,6 +890,11 @@ export interface AWS {
880890
binaryMediaTypes?: string[];
881891
description?: string;
882892
disableDefaultEndpoint?: boolean;
893+
endpoint?: {
894+
securityPolicy?: string;
895+
accessMode?: string;
896+
disable?: boolean;
897+
};
883898
metrics?: boolean;
884899
minimumCompressionSize?: number;
885900
resourcePolicy?: AwsResourcePolicyStatements;
@@ -1032,6 +1047,7 @@ export interface AWS {
10321047
role?:
10331048
| AwsLambdaRole
10341049
| {
1050+
mode?: "shared" | "perFunction";
10351051
name?: string;
10361052
path?: string;
10371053
managedPolicies?: AwsArn[];
@@ -1127,6 +1143,7 @@ export interface AWS {
11271143
| "ap-southeast-3"
11281144
| "ap-southeast-4"
11291145
| "ap-southeast-5"
1146+
| "ap-southeast-6"
11301147
| "ap-southeast-7"
11311148
| "ca-central-1"
11321149
| "ca-west-1"
@@ -1469,29 +1486,6 @@ export interface AWS {
14691486
[k: string]: unknown;
14701487
};
14711488
};
1472-
/**
1473-
* This interface was referenced by `undefined`'s JSON-Schema definition
1474-
* via the `patternProperty` "^[a-zA-Z0-9]{1,255}$".
1475-
*/
1476-
[k: string]: {
1477-
Type: string;
1478-
Properties?: {
1479-
[k: string]: unknown;
1480-
};
1481-
CreationPolicy?: {
1482-
[k: string]: unknown;
1483-
};
1484-
DeletionPolicy?: string;
1485-
DependsOn?: AwsResourceDependsOn;
1486-
Metadata?: {
1487-
[k: string]: unknown;
1488-
};
1489-
UpdatePolicy?: {
1490-
[k: string]: unknown;
1491-
};
1492-
UpdateReplacePolicy?: string;
1493-
Condition?: AwsResourceCondition;
1494-
};
14951489
};
14961490
Transform?: string[];
14971491
extensions?: {
@@ -1615,7 +1609,11 @@ export interface AwsResourceTags {
16151609
*/
16161610
[k: string]: string;
16171611
}
1612+
export interface AwsLambdaTenancy {
1613+
mode: string;
1614+
}
16181615
export interface AwsLambdaVpcConfig {
1616+
ipv6AllowedForDualStack?: boolean;
16191617
securityGroupIds: (AwsCfInstruction | AwsCfIf)[] | AwsCfSplit | AwsCfFindInMap;
16201618
subnetIds: (AwsCfInstruction | AwsCfIf)[] | AwsCfSplit | AwsCfFindInMap;
16211619
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@serverless/typescript",
3-
"version": "4.23.0",
3+
"version": "4.27.1",
44
"description": "Serverless typescript definitions",
55
"main": "index.d.ts",
66
"scripts": {

0 commit comments

Comments
 (0)