5
5
* and run json-schema-to-typescript to regenerate this file.
6
6
*/
7
7
8
- export type AwsArnString = string ;
9
8
export type ErrorCode = string ;
10
9
export type AwsCfFunction =
11
10
| AwsCfImport
@@ -17,6 +16,7 @@ export type AwsCfFunction =
17
16
| AwsCfToJsonString ;
18
17
export type AwsCfInstruction = string | AwsCfFunction ;
19
18
export type AwsArn = AwsArnString | AwsCfFunction ;
19
+ export type AwsArnString = string ;
20
20
export type FunctionName = string ;
21
21
export type AwsSecretsManagerArnString = string ;
22
22
export type FilterPatterns = {
@@ -57,7 +57,9 @@ export type AwsLambdaMemorySize = number;
57
57
export type AwsLambdaRole = string | AwsCfSub | AwsCfImport | AwsCfGetAtt ;
58
58
export type AwsLambdaRuntime =
59
59
| "dotnet6"
60
+ | "dotnet8"
60
61
| "go1.x"
62
+ | "java21"
61
63
| "java17"
62
64
| "java11"
63
65
| "java8"
@@ -66,6 +68,7 @@ export type AwsLambdaRuntime =
66
68
| "nodejs16.x"
67
69
| "nodejs18.x"
68
70
| "nodejs20.x"
71
+ | "nodejs22.x"
69
72
| "provided"
70
73
| "provided.al2"
71
74
| "provided.al2023"
@@ -74,8 +77,11 @@ export type AwsLambdaRuntime =
74
77
| "python3.9"
75
78
| "python3.10"
76
79
| "python3.11"
80
+ | "python3.12"
81
+ | "python3.13"
77
82
| "ruby2.7"
78
- | "ruby3.2" ;
83
+ | "ruby3.2"
84
+ | "ruby3.3" ;
79
85
export type AwsLambdaRuntimeManagement =
80
86
| ( "auto" | "onFunctionUpdate" )
81
87
| {
@@ -135,31 +141,55 @@ export type AwsCfArrayInstruction = AwsCfInstruction[] | AwsCfSplit;
135
141
export type ServiceName = string ;
136
142
137
143
export interface AWS {
144
+ org ?: string ;
145
+ app ?: string ;
146
+ outputs ?: {
147
+ [ k : string ] :
148
+ | string
149
+ | number
150
+ | boolean
151
+ | unknown [ ]
152
+ | {
153
+ [ k : string ] : unknown ;
154
+ } ;
155
+ } ;
138
156
configValidationMode ?: "error" | "warn" | "off" ;
139
157
console ?:
140
158
| boolean
141
159
| {
142
160
[ k : string ] : unknown ;
143
161
} ;
144
162
custom ?: {
145
- enterprise ?: {
146
- collectApiGatewayLogs ?: boolean ;
147
- collectLambdaLogs ?: boolean ;
148
- compressLogs ?: boolean ;
149
- disableAwsSpans ?: boolean ;
150
- disableFrameworksInstrumentation ?: boolean ;
151
- disableHttpSpans ?: boolean ;
152
- logAccessIamRole ?: AwsArnString ;
153
- logIngestMode ?: "push" | "pull" ;
154
- disableWrapping ?: boolean ;
155
- } ;
156
163
[ k : string ] : unknown ;
157
164
} ;
158
165
dashboard ?: {
159
166
disableMonitoring ?: boolean ;
160
167
} ;
161
168
deprecationNotificationMode ?: "error" | "warn" | "warn:summary" ;
162
169
disabledDeprecations ?: "*" | ErrorCode [ ] ;
170
+ build ?:
171
+ | string
172
+ | {
173
+ esbuild ?:
174
+ | {
175
+ external ?: string [ ] ;
176
+ exclude ?: string [ ] ;
177
+ packages ?: "external" ;
178
+ buildConcurrency ?: number ;
179
+ bundle ?: boolean ;
180
+ minify ?: boolean ;
181
+ sourcemap ?:
182
+ | boolean
183
+ | {
184
+ type ?: "inline" | "linked" | "external" ;
185
+ setNodeOptions ?: boolean ;
186
+ [ k : string ] : unknown ;
187
+ } ;
188
+ [ k : string ] : unknown ;
189
+ }
190
+ | boolean ;
191
+ [ k : string ] : unknown ;
192
+ } ;
163
193
frameworkVersion ?: string ;
164
194
functions ?: {
165
195
/**
@@ -314,6 +344,7 @@ export interface AWS {
314
344
} ;
315
345
} ;
316
346
} ;
347
+ timeoutInMillis ?: number ;
317
348
} ;
318
349
}
319
350
| {
@@ -688,6 +719,7 @@ export interface AWS {
688
719
layers ?: AwsLambdaLayers ;
689
720
logRetentionInDays ?: AwsLogRetentionInDays ;
690
721
logDataProtectionPolicy ?: AwsLogDataProtectionPolicy ;
722
+ logs ?: AwsLambdaLoggingConfiguration ;
691
723
maximumEventAge ?: number ;
692
724
maximumRetryAttempts ?: number ;
693
725
memorySize ?: AwsLambdaMemorySize ;
@@ -703,6 +735,7 @@ export interface AWS {
703
735
reservedConcurrency ?: number | AwsCfFunction | AwsCfIf ;
704
736
role ?: AwsLambdaRole ;
705
737
runtime ?: AwsLambdaRuntime ;
738
+ build ?: string ;
706
739
runtimeManagement ?: AwsLambdaRuntimeManagement ;
707
740
tags ?: AwsResourceTags ;
708
741
timeout ?: AwsLambdaTimeout ;
@@ -730,6 +763,7 @@ export interface AWS {
730
763
} ;
731
764
} ;
732
765
} ;
766
+ licenseKey ?: string ;
733
767
package ?: {
734
768
artifact ?: string ;
735
769
exclude ?: string [ ] ;
@@ -748,6 +782,25 @@ export interface AWS {
748
782
[ k : string ] : unknown ;
749
783
} ;
750
784
} ;
785
+ stages ?: {
786
+ /**
787
+ * This interface was referenced by `undefined`'s JSON-Schema definition
788
+ * via the `patternProperty` "^[a-zA-Z0-9-]+$".
789
+ */
790
+ [ k : string ] : {
791
+ observability ?:
792
+ | boolean
793
+ | ( "axiom" | "dashboard" )
794
+ | {
795
+ provider : "axiom" | "dashboard" ;
796
+ dataset ?: string ;
797
+ } ;
798
+ resolvers ?: {
799
+ [ k : string ] : unknown ;
800
+ } ;
801
+ [ k : string ] : unknown ;
802
+ } ;
803
+ } ;
751
804
plugins ?:
752
805
| {
753
806
localPath ?: string ;
@@ -824,6 +877,7 @@ export interface AWS {
824
877
} ;
825
878
shouldStartNameWithService ?: boolean ;
826
879
stage ?: string ;
880
+ timeoutInMillis ?: number ;
827
881
usagePlan ?:
828
882
| {
829
883
quota ?: {
@@ -974,8 +1028,10 @@ export interface AWS {
974
1028
buildArgs ?: {
975
1029
[ k : string ] : string ;
976
1030
} ;
1031
+ buildOptions ?: string [ ] ;
977
1032
cacheFrom ?: string [ ] ;
978
1033
platform ?: string ;
1034
+ provenance ?: string ;
979
1035
}
980
1036
| string ;
981
1037
} ;
@@ -987,6 +1043,7 @@ export interface AWS {
987
1043
logDataProtectionPolicy ?: AwsLogDataProtectionPolicy ;
988
1044
logs ?: {
989
1045
frameworkLambda ?: boolean ;
1046
+ lambda ?: AwsLambdaLoggingConfiguration ;
990
1047
httpApi ?:
991
1048
| boolean
992
1049
| {
@@ -1038,7 +1095,10 @@ export interface AWS {
1038
1095
| "ap-southeast-2"
1039
1096
| "ap-southeast-3"
1040
1097
| "ap-southeast-4"
1098
+ | "ap-southeast-5"
1099
+ | "ap-southeast-7"
1041
1100
| "ca-central-1"
1101
+ | "ca-west-1"
1042
1102
| "cn-north-1"
1043
1103
| "cn-northwest-1"
1044
1104
| "eu-central-1"
@@ -1052,7 +1112,9 @@ export interface AWS {
1052
1112
| "il-central-1"
1053
1113
| "me-central-1"
1054
1114
| "me-south-1"
1055
- | "sa-east-1" ;
1115
+ | "sa-east-1"
1116
+ | "mx-central-1" ;
1117
+ resolver ?: string ;
1056
1118
role ?: AwsLambdaRole ;
1057
1119
rolePermissionsBoundary ?: AwsArnString ;
1058
1120
rollbackConfiguration ?: {
@@ -1064,7 +1126,9 @@ export interface AWS {
1064
1126
} ;
1065
1127
runtime ?: AwsLambdaRuntime ;
1066
1128
runtimeManagement ?: AwsLambdaRuntimeManagement ;
1129
+ build ?: string ;
1067
1130
deploymentMethod ?: "changesets" | "direct" ;
1131
+ enableLegacyDeploymentBucket ?: boolean ;
1068
1132
s3 ?: {
1069
1133
[ k : string ] : {
1070
1134
accelerateConfiguration ?: {
@@ -1342,6 +1406,11 @@ export interface AWS {
1342
1406
websocketsDescription ?: string ;
1343
1407
} ;
1344
1408
service : ServiceName ;
1409
+ state ?:
1410
+ | {
1411
+ resolver : string ;
1412
+ }
1413
+ | string ;
1345
1414
useDotenv ?: true ;
1346
1415
variablesResolutionMode ?: "20210219" | "20210326" ;
1347
1416
resources ?: {
@@ -1437,18 +1506,6 @@ export interface AWS {
1437
1506
retain ?: boolean ;
1438
1507
} ;
1439
1508
} ;
1440
- org ?: string ;
1441
- app ?: string ;
1442
- outputs ?: {
1443
- [ k : string ] :
1444
- | string
1445
- | number
1446
- | boolean
1447
- | unknown [ ]
1448
- | {
1449
- [ k : string ] : unknown ;
1450
- } ;
1451
- } ;
1452
1509
}
1453
1510
export interface AwsCfImport {
1454
1511
"Fn::ImportValue" : unknown ;
@@ -1514,6 +1571,12 @@ export interface AwsLogDataProtectionPolicy {
1514
1571
Version : string ;
1515
1572
Statement : unknown [ ] ;
1516
1573
}
1574
+ export interface AwsLambdaLoggingConfiguration {
1575
+ applicationLogLevel ?: "DEBUG" | "ERROR" | "FATAL" | "INFO" | "TRACE" | "WARN" ;
1576
+ logFormat ?: "JSON" | "Text" ;
1577
+ logGroup ?: string ;
1578
+ systemLogLevel ?: "DEBUG" | "INFO" | "WARN" ;
1579
+ }
1517
1580
export interface AwsResourceTags {
1518
1581
/**
1519
1582
* This interface was referenced by `AwsResourceTags`'s JSON-Schema definition
0 commit comments