Skip to content

Commit 8dbb3d2

Browse files
Add Serverless definitions for v3.29.0
1 parent 29b318d commit 8dbb3d2

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

index.d.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ export type AwsLambdaRuntime =
7373
| "python3.8"
7474
| "python3.9"
7575
| "ruby2.7";
76+
export type AwsLambdaRuntimeManagement =
77+
| ("auto" | "onFunctionUpdate")
78+
| {
79+
mode?: "auto" | "onFunctionUpdate" | "manual";
80+
arn?: AwsArn;
81+
};
7682
export type AwsLambdaTimeout = number;
7783
export type AwsLambdaTracing = ("Active" | "PassThrough") | boolean;
7884
export type AwsLambdaVersioning = boolean;
@@ -166,7 +172,7 @@ export interface AWS {
166172
schedule:
167173
| string
168174
| {
169-
rate: string[];
175+
rate: (AwsCfFunction | string)[];
170176
enabled?: boolean;
171177
name?: string;
172178
description?: string;
@@ -681,10 +687,11 @@ export interface AWS {
681687
individually?: boolean;
682688
patterns?: string[];
683689
};
684-
provisionedConcurrency?: number;
690+
provisionedConcurrency?: number | AwsCfFunction | AwsCfIf;
685691
reservedConcurrency?: number | AwsCfFunction | AwsCfIf;
686692
role?: AwsLambdaRole;
687693
runtime?: AwsLambdaRuntime;
694+
runtimeManagement?: AwsLambdaRuntimeManagement;
688695
tags?: AwsResourceTags;
689696
timeout?: AwsLambdaTimeout;
690697
tracing?: AwsLambdaTracing;
@@ -1041,6 +1048,7 @@ export interface AWS {
10411048
MonitoringTimeInMinutes?: number;
10421049
};
10431050
runtime?: AwsLambdaRuntime;
1051+
runtimeManagement?: AwsLambdaRuntimeManagement;
10441052
deploymentMethod?: "changesets" | "direct";
10451053
s3?: {
10461054
[k: 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.27.0",
3+
"version": "3.29.0",
44
"description": "Serverless typescript definitions",
55
"main": "index.d.ts",
66
"scripts": {

0 commit comments

Comments
 (0)