@@ -57,22 +57,23 @@ export type AwsLambdaMemorySize = number;
5757export type AwsLambdaRole = string | AwsCfSub | AwsCfImport | AwsCfGetAtt ;
5858export type AwsLambdaRuntime =
5959 | "dotnet6"
60- | "dotnetcore3.1"
6160 | "go1.x"
61+ | "java17"
6262 | "java11"
6363 | "java8"
6464 | "java8.al2"
65- | "nodejs12.x"
6665 | "nodejs14.x"
6766 | "nodejs16.x"
6867 | "nodejs18.x"
6968 | "provided"
7069 | "provided.al2"
71- | "python3.6"
7270 | "python3.7"
7371 | "python3.8"
7472 | "python3.9"
75- | "ruby2.7" ;
73+ | "python3.10"
74+ | "python3.11"
75+ | "ruby2.7"
76+ | "ruby3.2" ;
7677export type AwsLambdaRuntimeManagement =
7778 | ( "auto" | "onFunctionUpdate" )
7879 | {
@@ -193,6 +194,8 @@ export interface AWS {
193194 [ k : string ] : unknown ;
194195 } ;
195196 } ;
197+ method ?: "eventBus" | "scheduler" ;
198+ timezone ?: string ;
196199 } ;
197200 }
198201 | {
@@ -407,7 +410,8 @@ export interface AWS {
407410 batchSize ?: number ;
408411 maximumBatchingWindow ?: number ;
409412 enabled ?: boolean ;
410- startingPosition ?: "LATEST" | "TRIM_HORIZON" ;
413+ startingPosition ?: "LATEST" | "TRIM_HORIZON" | "AT_TIMESTAMP" ;
414+ startingPositionTimestamp ?: number ;
411415 topic : string ;
412416 saslScram512 ?: AwsArnString ;
413417 consumerGroupId ?: string ;
@@ -418,12 +422,17 @@ export interface AWS {
418422 alb : {
419423 authorizer ?: string [ ] ;
420424 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+ } ;
425434 host ?: string [ ] ;
426- ip ?: ( string | string ) [ ] ;
435+ ip ?: string [ ] ;
427436 method ?: string [ ] ;
428437 path ?: string [ ] ;
429438 query ?: {
@@ -567,8 +576,8 @@ export interface AWS {
567576 CachePolicyId ?: string ;
568577 Compress ?: boolean ;
569578 FieldLevelEncryptionId ?: string ;
570- OriginRequestPolicyId ?: string ;
571- ResponseHeadersPolicyId ?: string ;
579+ OriginRequestPolicyId ?: string | AwsCfFunction ;
580+ ResponseHeadersPolicyId ?: string | AwsCfFunction ;
572581 SmoothStreaming ?: boolean ;
573582 TrustedSigners ?: string [ ] ;
574583 ViewerProtocolPolicy ?: "allow-all" | "redirect-to-https" | "https-only" ;
@@ -709,6 +718,7 @@ export interface AWS {
709718 exposedResponseHeaders ?: string [ ] ;
710719 maxAge ?: number ;
711720 } ;
721+ invokeMode ?: "BUFFERED" | "RESPONSE_STREAM" ;
712722 } ;
713723 versionFunction ?: AwsLambdaVersioning ;
714724 vpc ?: AwsLambdaVpcConfig ;
@@ -1320,6 +1330,9 @@ export interface AWS {
13201330 useProviderTags ?: boolean ;
13211331 } ;
13221332 websocketsApiName ?: string ;
1333+ kinesis ?: {
1334+ consumerNamingMode ?: "serviceSpecific" ;
1335+ } ;
13231336 websocketsApiRouteSelectionExpression ?: string ;
13241337 websocketsDescription ?: string ;
13251338 } ;
0 commit comments