Skip to content

Commit 18734d3

Browse files
Add Serverless definitions for v3.17.0
1 parent 66ebd87 commit 18734d3

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

index.d.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export type AwsLambdaRuntime =
5353
| "java8.al2"
5454
| "nodejs12.x"
5555
| "nodejs14.x"
56+
| "nodejs16.x"
5657
| "provided"
5758
| "provided.al2"
5859
| "python3.6"
@@ -185,8 +186,8 @@ export interface AWS {
185186
event?: string;
186187
existing?: boolean;
187188
rules?: {
188-
prefix?: string;
189-
suffix?: string;
189+
prefix?: string | AwsCfFunction;
190+
suffix?: string | AwsCfFunction;
190191
}[];
191192
};
192193
}
@@ -991,6 +992,7 @@ export interface AWS {
991992
MonitoringTimeInMinutes?: number;
992993
};
993994
runtime?: AwsLambdaRuntime;
995+
deploymentMethod?: "changesets" | "direct";
994996
s3?: {
995997
[k: string]: {
996998
accelerateConfiguration?: {
@@ -1257,6 +1259,9 @@ export interface AWS {
12571259
vpc?: AwsLambdaVpcConfig;
12581260
vpcEndpointIds?: AwsCfArrayInstruction;
12591261
versionFunctions?: AwsLambdaVersioning;
1262+
websocket?: {
1263+
useProviderTags?: boolean;
1264+
};
12601265
websocketsApiName?: string;
12611266
websocketsApiRouteSelectionExpression?: string;
12621267
websocketsDescription?: string;

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": "3.15.2",
3+
"version": "3.17.0",
44
"description": "Serverless typescript definitions",
55
"main": "index.d.ts",
66
"scripts": {

0 commit comments

Comments
 (0)