File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff 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+ } ;
7682export type AwsLambdaTimeout = number ;
7783export type AwsLambdaTracing = ( "Active" | "PassThrough" ) | boolean ;
7884export 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 ] : {
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments