@@ -57,22 +57,23 @@ export type AwsLambdaMemorySize = number;
57
57
export type AwsLambdaRole = string | AwsCfSub | AwsCfImport | AwsCfGetAtt ;
58
58
export type AwsLambdaRuntime =
59
59
| "dotnet6"
60
- | "dotnetcore3.1"
61
60
| "go1.x"
61
+ | "java17"
62
62
| "java11"
63
63
| "java8"
64
64
| "java8.al2"
65
- | "nodejs12.x"
66
65
| "nodejs14.x"
67
66
| "nodejs16.x"
68
67
| "nodejs18.x"
69
68
| "provided"
70
69
| "provided.al2"
71
- | "python3.6"
72
70
| "python3.7"
73
71
| "python3.8"
74
72
| "python3.9"
75
- | "ruby2.7" ;
73
+ | "python3.10"
74
+ | "python3.11"
75
+ | "ruby2.7"
76
+ | "ruby3.2" ;
76
77
export type AwsLambdaRuntimeManagement =
77
78
| ( "auto" | "onFunctionUpdate" )
78
79
| {
@@ -193,6 +194,8 @@ export interface AWS {
193
194
[ k : string ] : unknown ;
194
195
} ;
195
196
} ;
197
+ method ?: "eventBus" | "scheduler" ;
198
+ timezone ?: string ;
196
199
} ;
197
200
}
198
201
| {
@@ -407,7 +410,8 @@ export interface AWS {
407
410
batchSize ?: number ;
408
411
maximumBatchingWindow ?: number ;
409
412
enabled ?: boolean ;
410
- startingPosition ?: "LATEST" | "TRIM_HORIZON" ;
413
+ startingPosition ?: "LATEST" | "TRIM_HORIZON" | "AT_TIMESTAMP" ;
414
+ startingPositionTimestamp ?: number ;
411
415
topic : string ;
412
416
saslScram512 ?: AwsArnString ;
413
417
consumerGroupId ?: string ;
@@ -418,12 +422,17 @@ export interface AWS {
418
422
alb : {
419
423
authorizer ?: string [ ] ;
420
424
conditions : {
421
- header ?: {
422
- name : string ;
423
- values : string [ ] ;
424
- } ;
425
+ header ?:
426
+ | {
427
+ name : string ;
428
+ values : string [ ] ;
429
+ } [ ]
430
+ | {
431
+ name : string ;
432
+ values : string [ ] ;
433
+ } ;
425
434
host ?: string [ ] ;
426
- ip ?: ( string | string ) [ ] ;
435
+ ip ?: string [ ] ;
427
436
method ?: string [ ] ;
428
437
path ?: string [ ] ;
429
438
query ?: {
@@ -567,8 +576,8 @@ export interface AWS {
567
576
CachePolicyId ?: string ;
568
577
Compress ?: boolean ;
569
578
FieldLevelEncryptionId ?: string ;
570
- OriginRequestPolicyId ?: string ;
571
- ResponseHeadersPolicyId ?: string ;
579
+ OriginRequestPolicyId ?: string | AwsCfFunction ;
580
+ ResponseHeadersPolicyId ?: string | AwsCfFunction ;
572
581
SmoothStreaming ?: boolean ;
573
582
TrustedSigners ?: string [ ] ;
574
583
ViewerProtocolPolicy ?: "allow-all" | "redirect-to-https" | "https-only" ;
@@ -709,6 +718,7 @@ export interface AWS {
709
718
exposedResponseHeaders ?: string [ ] ;
710
719
maxAge ?: number ;
711
720
} ;
721
+ invokeMode ?: "BUFFERED" | "RESPONSE_STREAM" ;
712
722
} ;
713
723
versionFunction ?: AwsLambdaVersioning ;
714
724
vpc ?: AwsLambdaVpcConfig ;
@@ -1320,6 +1330,9 @@ export interface AWS {
1320
1330
useProviderTags ?: boolean ;
1321
1331
} ;
1322
1332
websocketsApiName ?: string ;
1333
+ kinesis ?: {
1334
+ consumerNamingMode ?: "serviceSpecific" ;
1335
+ } ;
1323
1336
websocketsApiRouteSelectionExpression ?: string ;
1324
1337
websocketsDescription ?: string ;
1325
1338
} ;
0 commit comments