@awsless/awsless 0.0.146 → 0.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -40,7 +40,6 @@ declare const AppSchema: z.ZodObject<{
40
40
  name: z.ZodEffects<z.ZodString, string, string>;
41
41
  region: z.ZodEnum<["us-east-2", "us-east-1", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-2", "ap-southeast-3", "ap-southeast-4", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-south-1", "eu-west-3", "eu-south-2", "eu-north-1", "eu-central-2", "me-south-1", "me-central-1", "sa-east-1"]>;
42
42
  profile: z.ZodString;
43
- stage: z.ZodDefault<z.ZodString>;
44
43
  defaults: z.ZodDefault<z.ZodObject<{
45
44
  auth: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
46
45
  allowUserRegistration: z.ZodDefault<z.ZodBoolean>;
@@ -110,7 +109,22 @@ declare const AppSchema: z.ZodObject<{
110
109
  minify: z.ZodOptional<z.ZodBoolean>;
111
110
  warm: z.ZodOptional<z.ZodNumber>;
112
111
  vpc: z.ZodOptional<z.ZodBoolean>;
113
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
112
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
113
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
114
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
115
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
116
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ retention: Duration;
119
+ format?: "text" | "json" | undefined;
120
+ system?: "debug" | "info" | "warn" | undefined;
121
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
122
+ }, {
123
+ retention: string;
124
+ format?: "text" | "json" | undefined;
125
+ system?: "debug" | "info" | "warn" | undefined;
126
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
127
+ }>]>>;
114
128
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
115
129
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
116
130
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -150,7 +164,12 @@ declare const AppSchema: z.ZodObject<{
150
164
  minify?: boolean | undefined;
151
165
  warm?: number | undefined;
152
166
  vpc?: boolean | undefined;
153
- log?: boolean | Duration | undefined;
167
+ log?: boolean | Duration | {
168
+ retention: Duration;
169
+ format?: "text" | "json" | undefined;
170
+ system?: "debug" | "info" | "warn" | undefined;
171
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
172
+ } | undefined;
154
173
  timeout?: Duration | undefined;
155
174
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
156
175
  memorySize?: Size | undefined;
@@ -174,7 +193,12 @@ declare const AppSchema: z.ZodObject<{
174
193
  minify?: boolean | undefined;
175
194
  warm?: number | undefined;
176
195
  vpc?: boolean | undefined;
177
- log?: string | boolean | undefined;
196
+ log?: string | boolean | {
197
+ retention: string;
198
+ format?: "text" | "json" | undefined;
199
+ system?: "debug" | "info" | "warn" | undefined;
200
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
201
+ } | undefined;
178
202
  timeout?: string | undefined;
179
203
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
180
204
  memorySize?: string | undefined;
@@ -199,7 +223,22 @@ declare const AppSchema: z.ZodObject<{
199
223
  minify: z.ZodOptional<z.ZodBoolean>;
200
224
  warm: z.ZodOptional<z.ZodNumber>;
201
225
  vpc: z.ZodOptional<z.ZodBoolean>;
202
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
226
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
227
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
228
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
229
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
230
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ retention: Duration;
233
+ format?: "text" | "json" | undefined;
234
+ system?: "debug" | "info" | "warn" | undefined;
235
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
236
+ }, {
237
+ retention: string;
238
+ format?: "text" | "json" | undefined;
239
+ system?: "debug" | "info" | "warn" | undefined;
240
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
241
+ }>]>>;
203
242
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
204
243
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
205
244
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -239,7 +278,12 @@ declare const AppSchema: z.ZodObject<{
239
278
  minify?: boolean | undefined;
240
279
  warm?: number | undefined;
241
280
  vpc?: boolean | undefined;
242
- log?: boolean | Duration | undefined;
281
+ log?: boolean | Duration | {
282
+ retention: Duration;
283
+ format?: "text" | "json" | undefined;
284
+ system?: "debug" | "info" | "warn" | undefined;
285
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
286
+ } | undefined;
243
287
  timeout?: Duration | undefined;
244
288
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
245
289
  memorySize?: Size | undefined;
@@ -263,7 +307,12 @@ declare const AppSchema: z.ZodObject<{
263
307
  minify?: boolean | undefined;
264
308
  warm?: number | undefined;
265
309
  vpc?: boolean | undefined;
266
- log?: string | boolean | undefined;
310
+ log?: string | boolean | {
311
+ retention: string;
312
+ format?: "text" | "json" | undefined;
313
+ system?: "debug" | "info" | "warn" | undefined;
314
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
315
+ } | undefined;
267
316
  timeout?: string | undefined;
268
317
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
269
318
  memorySize?: string | undefined;
@@ -288,7 +337,22 @@ declare const AppSchema: z.ZodObject<{
288
337
  minify: z.ZodOptional<z.ZodBoolean>;
289
338
  warm: z.ZodOptional<z.ZodNumber>;
290
339
  vpc: z.ZodOptional<z.ZodBoolean>;
291
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
340
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
341
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
342
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
343
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
344
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ retention: Duration;
347
+ format?: "text" | "json" | undefined;
348
+ system?: "debug" | "info" | "warn" | undefined;
349
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
350
+ }, {
351
+ retention: string;
352
+ format?: "text" | "json" | undefined;
353
+ system?: "debug" | "info" | "warn" | undefined;
354
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
355
+ }>]>>;
292
356
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
293
357
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
294
358
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -328,7 +392,12 @@ declare const AppSchema: z.ZodObject<{
328
392
  minify?: boolean | undefined;
329
393
  warm?: number | undefined;
330
394
  vpc?: boolean | undefined;
331
- log?: boolean | Duration | undefined;
395
+ log?: boolean | Duration | {
396
+ retention: Duration;
397
+ format?: "text" | "json" | undefined;
398
+ system?: "debug" | "info" | "warn" | undefined;
399
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
400
+ } | undefined;
332
401
  timeout?: Duration | undefined;
333
402
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
334
403
  memorySize?: Size | undefined;
@@ -352,7 +421,12 @@ declare const AppSchema: z.ZodObject<{
352
421
  minify?: boolean | undefined;
353
422
  warm?: number | undefined;
354
423
  vpc?: boolean | undefined;
355
- log?: string | boolean | undefined;
424
+ log?: string | boolean | {
425
+ retention: string;
426
+ format?: "text" | "json" | undefined;
427
+ system?: "debug" | "info" | "warn" | undefined;
428
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
429
+ } | undefined;
356
430
  timeout?: string | undefined;
357
431
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
358
432
  memorySize?: string | undefined;
@@ -377,7 +451,22 @@ declare const AppSchema: z.ZodObject<{
377
451
  minify: z.ZodOptional<z.ZodBoolean>;
378
452
  warm: z.ZodOptional<z.ZodNumber>;
379
453
  vpc: z.ZodOptional<z.ZodBoolean>;
380
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
454
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
455
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
456
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
457
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
458
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ retention: Duration;
461
+ format?: "text" | "json" | undefined;
462
+ system?: "debug" | "info" | "warn" | undefined;
463
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
464
+ }, {
465
+ retention: string;
466
+ format?: "text" | "json" | undefined;
467
+ system?: "debug" | "info" | "warn" | undefined;
468
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
469
+ }>]>>;
381
470
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
382
471
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
383
472
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -417,7 +506,12 @@ declare const AppSchema: z.ZodObject<{
417
506
  minify?: boolean | undefined;
418
507
  warm?: number | undefined;
419
508
  vpc?: boolean | undefined;
420
- log?: boolean | Duration | undefined;
509
+ log?: boolean | Duration | {
510
+ retention: Duration;
511
+ format?: "text" | "json" | undefined;
512
+ system?: "debug" | "info" | "warn" | undefined;
513
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
514
+ } | undefined;
421
515
  timeout?: Duration | undefined;
422
516
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
423
517
  memorySize?: Size | undefined;
@@ -441,7 +535,12 @@ declare const AppSchema: z.ZodObject<{
441
535
  minify?: boolean | undefined;
442
536
  warm?: number | undefined;
443
537
  vpc?: boolean | undefined;
444
- log?: string | boolean | undefined;
538
+ log?: string | boolean | {
539
+ retention: string;
540
+ format?: "text" | "json" | undefined;
541
+ system?: "debug" | "info" | "warn" | undefined;
542
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
543
+ } | undefined;
445
544
  timeout?: string | undefined;
446
545
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
447
546
  memorySize?: string | undefined;
@@ -466,7 +565,22 @@ declare const AppSchema: z.ZodObject<{
466
565
  minify: z.ZodOptional<z.ZodBoolean>;
467
566
  warm: z.ZodOptional<z.ZodNumber>;
468
567
  vpc: z.ZodOptional<z.ZodBoolean>;
469
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
568
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
569
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
570
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
571
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
572
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ retention: Duration;
575
+ format?: "text" | "json" | undefined;
576
+ system?: "debug" | "info" | "warn" | undefined;
577
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
578
+ }, {
579
+ retention: string;
580
+ format?: "text" | "json" | undefined;
581
+ system?: "debug" | "info" | "warn" | undefined;
582
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
583
+ }>]>>;
470
584
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
471
585
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
472
586
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -506,7 +620,12 @@ declare const AppSchema: z.ZodObject<{
506
620
  minify?: boolean | undefined;
507
621
  warm?: number | undefined;
508
622
  vpc?: boolean | undefined;
509
- log?: boolean | Duration | undefined;
623
+ log?: boolean | Duration | {
624
+ retention: Duration;
625
+ format?: "text" | "json" | undefined;
626
+ system?: "debug" | "info" | "warn" | undefined;
627
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
628
+ } | undefined;
510
629
  timeout?: Duration | undefined;
511
630
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
512
631
  memorySize?: Size | undefined;
@@ -530,7 +649,12 @@ declare const AppSchema: z.ZodObject<{
530
649
  minify?: boolean | undefined;
531
650
  warm?: number | undefined;
532
651
  vpc?: boolean | undefined;
533
- log?: string | boolean | undefined;
652
+ log?: string | boolean | {
653
+ retention: string;
654
+ format?: "text" | "json" | undefined;
655
+ system?: "debug" | "info" | "warn" | undefined;
656
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
657
+ } | undefined;
534
658
  timeout?: string | undefined;
535
659
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
536
660
  memorySize?: string | undefined;
@@ -555,7 +679,22 @@ declare const AppSchema: z.ZodObject<{
555
679
  minify: z.ZodOptional<z.ZodBoolean>;
556
680
  warm: z.ZodOptional<z.ZodNumber>;
557
681
  vpc: z.ZodOptional<z.ZodBoolean>;
558
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
682
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
683
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
684
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
685
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
686
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ retention: Duration;
689
+ format?: "text" | "json" | undefined;
690
+ system?: "debug" | "info" | "warn" | undefined;
691
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
692
+ }, {
693
+ retention: string;
694
+ format?: "text" | "json" | undefined;
695
+ system?: "debug" | "info" | "warn" | undefined;
696
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
697
+ }>]>>;
559
698
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
560
699
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
561
700
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -595,7 +734,12 @@ declare const AppSchema: z.ZodObject<{
595
734
  minify?: boolean | undefined;
596
735
  warm?: number | undefined;
597
736
  vpc?: boolean | undefined;
598
- log?: boolean | Duration | undefined;
737
+ log?: boolean | Duration | {
738
+ retention: Duration;
739
+ format?: "text" | "json" | undefined;
740
+ system?: "debug" | "info" | "warn" | undefined;
741
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
742
+ } | undefined;
599
743
  timeout?: Duration | undefined;
600
744
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
601
745
  memorySize?: Size | undefined;
@@ -619,7 +763,12 @@ declare const AppSchema: z.ZodObject<{
619
763
  minify?: boolean | undefined;
620
764
  warm?: number | undefined;
621
765
  vpc?: boolean | undefined;
622
- log?: string | boolean | undefined;
766
+ log?: string | boolean | {
767
+ retention: string;
768
+ format?: "text" | "json" | undefined;
769
+ system?: "debug" | "info" | "warn" | undefined;
770
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
771
+ } | undefined;
623
772
  timeout?: string | undefined;
624
773
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
625
774
  memorySize?: string | undefined;
@@ -644,7 +793,22 @@ declare const AppSchema: z.ZodObject<{
644
793
  minify: z.ZodOptional<z.ZodBoolean>;
645
794
  warm: z.ZodOptional<z.ZodNumber>;
646
795
  vpc: z.ZodOptional<z.ZodBoolean>;
647
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
796
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
797
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
798
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
799
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
800
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ retention: Duration;
803
+ format?: "text" | "json" | undefined;
804
+ system?: "debug" | "info" | "warn" | undefined;
805
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
806
+ }, {
807
+ retention: string;
808
+ format?: "text" | "json" | undefined;
809
+ system?: "debug" | "info" | "warn" | undefined;
810
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
811
+ }>]>>;
648
812
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
649
813
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
650
814
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -684,7 +848,12 @@ declare const AppSchema: z.ZodObject<{
684
848
  minify?: boolean | undefined;
685
849
  warm?: number | undefined;
686
850
  vpc?: boolean | undefined;
687
- log?: boolean | Duration | undefined;
851
+ log?: boolean | Duration | {
852
+ retention: Duration;
853
+ format?: "text" | "json" | undefined;
854
+ system?: "debug" | "info" | "warn" | undefined;
855
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
856
+ } | undefined;
688
857
  timeout?: Duration | undefined;
689
858
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
690
859
  memorySize?: Size | undefined;
@@ -708,7 +877,12 @@ declare const AppSchema: z.ZodObject<{
708
877
  minify?: boolean | undefined;
709
878
  warm?: number | undefined;
710
879
  vpc?: boolean | undefined;
711
- log?: string | boolean | undefined;
880
+ log?: string | boolean | {
881
+ retention: string;
882
+ format?: "text" | "json" | undefined;
883
+ system?: "debug" | "info" | "warn" | undefined;
884
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
885
+ } | undefined;
712
886
  timeout?: string | undefined;
713
887
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
714
888
  memorySize?: string | undefined;
@@ -733,7 +907,22 @@ declare const AppSchema: z.ZodObject<{
733
907
  minify: z.ZodOptional<z.ZodBoolean>;
734
908
  warm: z.ZodOptional<z.ZodNumber>;
735
909
  vpc: z.ZodOptional<z.ZodBoolean>;
736
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
910
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
911
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
912
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
913
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
914
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ retention: Duration;
917
+ format?: "text" | "json" | undefined;
918
+ system?: "debug" | "info" | "warn" | undefined;
919
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
920
+ }, {
921
+ retention: string;
922
+ format?: "text" | "json" | undefined;
923
+ system?: "debug" | "info" | "warn" | undefined;
924
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
925
+ }>]>>;
737
926
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
738
927
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
739
928
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -773,7 +962,12 @@ declare const AppSchema: z.ZodObject<{
773
962
  minify?: boolean | undefined;
774
963
  warm?: number | undefined;
775
964
  vpc?: boolean | undefined;
776
- log?: boolean | Duration | undefined;
965
+ log?: boolean | Duration | {
966
+ retention: Duration;
967
+ format?: "text" | "json" | undefined;
968
+ system?: "debug" | "info" | "warn" | undefined;
969
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
970
+ } | undefined;
777
971
  timeout?: Duration | undefined;
778
972
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
779
973
  memorySize?: Size | undefined;
@@ -797,7 +991,12 @@ declare const AppSchema: z.ZodObject<{
797
991
  minify?: boolean | undefined;
798
992
  warm?: number | undefined;
799
993
  vpc?: boolean | undefined;
800
- log?: string | boolean | undefined;
994
+ log?: string | boolean | {
995
+ retention: string;
996
+ format?: "text" | "json" | undefined;
997
+ system?: "debug" | "info" | "warn" | undefined;
998
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
999
+ } | undefined;
801
1000
  timeout?: string | undefined;
802
1001
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
803
1002
  memorySize?: string | undefined;
@@ -822,7 +1021,22 @@ declare const AppSchema: z.ZodObject<{
822
1021
  minify: z.ZodOptional<z.ZodBoolean>;
823
1022
  warm: z.ZodOptional<z.ZodNumber>;
824
1023
  vpc: z.ZodOptional<z.ZodBoolean>;
825
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
1024
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
1025
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
1026
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
1027
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
1028
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ retention: Duration;
1031
+ format?: "text" | "json" | undefined;
1032
+ system?: "debug" | "info" | "warn" | undefined;
1033
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1034
+ }, {
1035
+ retention: string;
1036
+ format?: "text" | "json" | undefined;
1037
+ system?: "debug" | "info" | "warn" | undefined;
1038
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1039
+ }>]>>;
826
1040
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
827
1041
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
828
1042
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -862,7 +1076,12 @@ declare const AppSchema: z.ZodObject<{
862
1076
  minify?: boolean | undefined;
863
1077
  warm?: number | undefined;
864
1078
  vpc?: boolean | undefined;
865
- log?: boolean | Duration | undefined;
1079
+ log?: boolean | Duration | {
1080
+ retention: Duration;
1081
+ format?: "text" | "json" | undefined;
1082
+ system?: "debug" | "info" | "warn" | undefined;
1083
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1084
+ } | undefined;
866
1085
  timeout?: Duration | undefined;
867
1086
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
868
1087
  memorySize?: Size | undefined;
@@ -886,7 +1105,12 @@ declare const AppSchema: z.ZodObject<{
886
1105
  minify?: boolean | undefined;
887
1106
  warm?: number | undefined;
888
1107
  vpc?: boolean | undefined;
889
- log?: string | boolean | undefined;
1108
+ log?: string | boolean | {
1109
+ retention: string;
1110
+ format?: "text" | "json" | undefined;
1111
+ system?: "debug" | "info" | "warn" | undefined;
1112
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1113
+ } | undefined;
890
1114
  timeout?: string | undefined;
891
1115
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
892
1116
  memorySize?: string | undefined;
@@ -912,7 +1136,12 @@ declare const AppSchema: z.ZodObject<{
912
1136
  minify?: boolean | undefined;
913
1137
  warm?: number | undefined;
914
1138
  vpc?: boolean | undefined;
915
- log?: boolean | Duration | undefined;
1139
+ log?: boolean | Duration | {
1140
+ retention: Duration;
1141
+ format?: "text" | "json" | undefined;
1142
+ system?: "debug" | "info" | "warn" | undefined;
1143
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1144
+ } | undefined;
916
1145
  timeout?: Duration | undefined;
917
1146
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
918
1147
  memorySize?: Size | undefined;
@@ -937,7 +1166,12 @@ declare const AppSchema: z.ZodObject<{
937
1166
  minify?: boolean | undefined;
938
1167
  warm?: number | undefined;
939
1168
  vpc?: boolean | undefined;
940
- log?: boolean | Duration | undefined;
1169
+ log?: boolean | Duration | {
1170
+ retention: Duration;
1171
+ format?: "text" | "json" | undefined;
1172
+ system?: "debug" | "info" | "warn" | undefined;
1173
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1174
+ } | undefined;
941
1175
  timeout?: Duration | undefined;
942
1176
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
943
1177
  memorySize?: Size | undefined;
@@ -962,7 +1196,12 @@ declare const AppSchema: z.ZodObject<{
962
1196
  minify?: boolean | undefined;
963
1197
  warm?: number | undefined;
964
1198
  vpc?: boolean | undefined;
965
- log?: boolean | Duration | undefined;
1199
+ log?: boolean | Duration | {
1200
+ retention: Duration;
1201
+ format?: "text" | "json" | undefined;
1202
+ system?: "debug" | "info" | "warn" | undefined;
1203
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1204
+ } | undefined;
966
1205
  timeout?: Duration | undefined;
967
1206
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
968
1207
  memorySize?: Size | undefined;
@@ -987,7 +1226,12 @@ declare const AppSchema: z.ZodObject<{
987
1226
  minify?: boolean | undefined;
988
1227
  warm?: number | undefined;
989
1228
  vpc?: boolean | undefined;
990
- log?: boolean | Duration | undefined;
1229
+ log?: boolean | Duration | {
1230
+ retention: Duration;
1231
+ format?: "text" | "json" | undefined;
1232
+ system?: "debug" | "info" | "warn" | undefined;
1233
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1234
+ } | undefined;
991
1235
  timeout?: Duration | undefined;
992
1236
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
993
1237
  memorySize?: Size | undefined;
@@ -1012,7 +1256,12 @@ declare const AppSchema: z.ZodObject<{
1012
1256
  minify?: boolean | undefined;
1013
1257
  warm?: number | undefined;
1014
1258
  vpc?: boolean | undefined;
1015
- log?: boolean | Duration | undefined;
1259
+ log?: boolean | Duration | {
1260
+ retention: Duration;
1261
+ format?: "text" | "json" | undefined;
1262
+ system?: "debug" | "info" | "warn" | undefined;
1263
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1264
+ } | undefined;
1016
1265
  timeout?: Duration | undefined;
1017
1266
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1018
1267
  memorySize?: Size | undefined;
@@ -1037,7 +1286,12 @@ declare const AppSchema: z.ZodObject<{
1037
1286
  minify?: boolean | undefined;
1038
1287
  warm?: number | undefined;
1039
1288
  vpc?: boolean | undefined;
1040
- log?: boolean | Duration | undefined;
1289
+ log?: boolean | Duration | {
1290
+ retention: Duration;
1291
+ format?: "text" | "json" | undefined;
1292
+ system?: "debug" | "info" | "warn" | undefined;
1293
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1294
+ } | undefined;
1041
1295
  timeout?: Duration | undefined;
1042
1296
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1043
1297
  memorySize?: Size | undefined;
@@ -1062,7 +1316,12 @@ declare const AppSchema: z.ZodObject<{
1062
1316
  minify?: boolean | undefined;
1063
1317
  warm?: number | undefined;
1064
1318
  vpc?: boolean | undefined;
1065
- log?: boolean | Duration | undefined;
1319
+ log?: boolean | Duration | {
1320
+ retention: Duration;
1321
+ format?: "text" | "json" | undefined;
1322
+ system?: "debug" | "info" | "warn" | undefined;
1323
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1324
+ } | undefined;
1066
1325
  timeout?: Duration | undefined;
1067
1326
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1068
1327
  memorySize?: Size | undefined;
@@ -1087,7 +1346,12 @@ declare const AppSchema: z.ZodObject<{
1087
1346
  minify?: boolean | undefined;
1088
1347
  warm?: number | undefined;
1089
1348
  vpc?: boolean | undefined;
1090
- log?: boolean | Duration | undefined;
1349
+ log?: boolean | Duration | {
1350
+ retention: Duration;
1351
+ format?: "text" | "json" | undefined;
1352
+ system?: "debug" | "info" | "warn" | undefined;
1353
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1354
+ } | undefined;
1091
1355
  timeout?: Duration | undefined;
1092
1356
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1093
1357
  memorySize?: Size | undefined;
@@ -1112,7 +1376,12 @@ declare const AppSchema: z.ZodObject<{
1112
1376
  minify?: boolean | undefined;
1113
1377
  warm?: number | undefined;
1114
1378
  vpc?: boolean | undefined;
1115
- log?: boolean | Duration | undefined;
1379
+ log?: boolean | Duration | {
1380
+ retention: Duration;
1381
+ format?: "text" | "json" | undefined;
1382
+ system?: "debug" | "info" | "warn" | undefined;
1383
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1384
+ } | undefined;
1116
1385
  timeout?: Duration | undefined;
1117
1386
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1118
1387
  memorySize?: Size | undefined;
@@ -1138,7 +1407,12 @@ declare const AppSchema: z.ZodObject<{
1138
1407
  minify?: boolean | undefined;
1139
1408
  warm?: number | undefined;
1140
1409
  vpc?: boolean | undefined;
1141
- log?: string | boolean | undefined;
1410
+ log?: string | boolean | {
1411
+ retention: string;
1412
+ format?: "text" | "json" | undefined;
1413
+ system?: "debug" | "info" | "warn" | undefined;
1414
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1415
+ } | undefined;
1142
1416
  timeout?: string | undefined;
1143
1417
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1144
1418
  memorySize?: string | undefined;
@@ -1163,7 +1437,12 @@ declare const AppSchema: z.ZodObject<{
1163
1437
  minify?: boolean | undefined;
1164
1438
  warm?: number | undefined;
1165
1439
  vpc?: boolean | undefined;
1166
- log?: string | boolean | undefined;
1440
+ log?: string | boolean | {
1441
+ retention: string;
1442
+ format?: "text" | "json" | undefined;
1443
+ system?: "debug" | "info" | "warn" | undefined;
1444
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1445
+ } | undefined;
1167
1446
  timeout?: string | undefined;
1168
1447
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1169
1448
  memorySize?: string | undefined;
@@ -1188,7 +1467,12 @@ declare const AppSchema: z.ZodObject<{
1188
1467
  minify?: boolean | undefined;
1189
1468
  warm?: number | undefined;
1190
1469
  vpc?: boolean | undefined;
1191
- log?: string | boolean | undefined;
1470
+ log?: string | boolean | {
1471
+ retention: string;
1472
+ format?: "text" | "json" | undefined;
1473
+ system?: "debug" | "info" | "warn" | undefined;
1474
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1475
+ } | undefined;
1192
1476
  timeout?: string | undefined;
1193
1477
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1194
1478
  memorySize?: string | undefined;
@@ -1213,7 +1497,12 @@ declare const AppSchema: z.ZodObject<{
1213
1497
  minify?: boolean | undefined;
1214
1498
  warm?: number | undefined;
1215
1499
  vpc?: boolean | undefined;
1216
- log?: string | boolean | undefined;
1500
+ log?: string | boolean | {
1501
+ retention: string;
1502
+ format?: "text" | "json" | undefined;
1503
+ system?: "debug" | "info" | "warn" | undefined;
1504
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1505
+ } | undefined;
1217
1506
  timeout?: string | undefined;
1218
1507
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1219
1508
  memorySize?: string | undefined;
@@ -1238,7 +1527,12 @@ declare const AppSchema: z.ZodObject<{
1238
1527
  minify?: boolean | undefined;
1239
1528
  warm?: number | undefined;
1240
1529
  vpc?: boolean | undefined;
1241
- log?: string | boolean | undefined;
1530
+ log?: string | boolean | {
1531
+ retention: string;
1532
+ format?: "text" | "json" | undefined;
1533
+ system?: "debug" | "info" | "warn" | undefined;
1534
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1535
+ } | undefined;
1242
1536
  timeout?: string | undefined;
1243
1537
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1244
1538
  memorySize?: string | undefined;
@@ -1263,7 +1557,12 @@ declare const AppSchema: z.ZodObject<{
1263
1557
  minify?: boolean | undefined;
1264
1558
  warm?: number | undefined;
1265
1559
  vpc?: boolean | undefined;
1266
- log?: string | boolean | undefined;
1560
+ log?: string | boolean | {
1561
+ retention: string;
1562
+ format?: "text" | "json" | undefined;
1563
+ system?: "debug" | "info" | "warn" | undefined;
1564
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1565
+ } | undefined;
1267
1566
  timeout?: string | undefined;
1268
1567
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1269
1568
  memorySize?: string | undefined;
@@ -1288,7 +1587,12 @@ declare const AppSchema: z.ZodObject<{
1288
1587
  minify?: boolean | undefined;
1289
1588
  warm?: number | undefined;
1290
1589
  vpc?: boolean | undefined;
1291
- log?: string | boolean | undefined;
1590
+ log?: string | boolean | {
1591
+ retention: string;
1592
+ format?: "text" | "json" | undefined;
1593
+ system?: "debug" | "info" | "warn" | undefined;
1594
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1595
+ } | undefined;
1292
1596
  timeout?: string | undefined;
1293
1597
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1294
1598
  memorySize?: string | undefined;
@@ -1313,7 +1617,12 @@ declare const AppSchema: z.ZodObject<{
1313
1617
  minify?: boolean | undefined;
1314
1618
  warm?: number | undefined;
1315
1619
  vpc?: boolean | undefined;
1316
- log?: string | boolean | undefined;
1620
+ log?: string | boolean | {
1621
+ retention: string;
1622
+ format?: "text" | "json" | undefined;
1623
+ system?: "debug" | "info" | "warn" | undefined;
1624
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1625
+ } | undefined;
1317
1626
  timeout?: string | undefined;
1318
1627
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1319
1628
  memorySize?: string | undefined;
@@ -1338,7 +1647,12 @@ declare const AppSchema: z.ZodObject<{
1338
1647
  minify?: boolean | undefined;
1339
1648
  warm?: number | undefined;
1340
1649
  vpc?: boolean | undefined;
1341
- log?: string | boolean | undefined;
1650
+ log?: string | boolean | {
1651
+ retention: string;
1652
+ format?: "text" | "json" | undefined;
1653
+ system?: "debug" | "info" | "warn" | undefined;
1654
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1655
+ } | undefined;
1342
1656
  timeout?: string | undefined;
1343
1657
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1344
1658
  memorySize?: string | undefined;
@@ -1390,7 +1704,12 @@ declare const AppSchema: z.ZodObject<{
1390
1704
  minify?: boolean | undefined;
1391
1705
  warm?: number | undefined;
1392
1706
  vpc?: boolean | undefined;
1393
- log?: boolean | Duration | undefined;
1707
+ log?: boolean | Duration | {
1708
+ retention: Duration;
1709
+ format?: "text" | "json" | undefined;
1710
+ system?: "debug" | "info" | "warn" | undefined;
1711
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1712
+ } | undefined;
1394
1713
  timeout?: Duration | undefined;
1395
1714
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1396
1715
  memorySize?: Size | undefined;
@@ -1415,7 +1734,12 @@ declare const AppSchema: z.ZodObject<{
1415
1734
  minify?: boolean | undefined;
1416
1735
  warm?: number | undefined;
1417
1736
  vpc?: boolean | undefined;
1418
- log?: boolean | Duration | undefined;
1737
+ log?: boolean | Duration | {
1738
+ retention: Duration;
1739
+ format?: "text" | "json" | undefined;
1740
+ system?: "debug" | "info" | "warn" | undefined;
1741
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1742
+ } | undefined;
1419
1743
  timeout?: Duration | undefined;
1420
1744
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1421
1745
  memorySize?: Size | undefined;
@@ -1440,7 +1764,12 @@ declare const AppSchema: z.ZodObject<{
1440
1764
  minify?: boolean | undefined;
1441
1765
  warm?: number | undefined;
1442
1766
  vpc?: boolean | undefined;
1443
- log?: boolean | Duration | undefined;
1767
+ log?: boolean | Duration | {
1768
+ retention: Duration;
1769
+ format?: "text" | "json" | undefined;
1770
+ system?: "debug" | "info" | "warn" | undefined;
1771
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1772
+ } | undefined;
1444
1773
  timeout?: Duration | undefined;
1445
1774
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1446
1775
  memorySize?: Size | undefined;
@@ -1465,7 +1794,12 @@ declare const AppSchema: z.ZodObject<{
1465
1794
  minify?: boolean | undefined;
1466
1795
  warm?: number | undefined;
1467
1796
  vpc?: boolean | undefined;
1468
- log?: boolean | Duration | undefined;
1797
+ log?: boolean | Duration | {
1798
+ retention: Duration;
1799
+ format?: "text" | "json" | undefined;
1800
+ system?: "debug" | "info" | "warn" | undefined;
1801
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1802
+ } | undefined;
1469
1803
  timeout?: Duration | undefined;
1470
1804
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1471
1805
  memorySize?: Size | undefined;
@@ -1490,7 +1824,12 @@ declare const AppSchema: z.ZodObject<{
1490
1824
  minify?: boolean | undefined;
1491
1825
  warm?: number | undefined;
1492
1826
  vpc?: boolean | undefined;
1493
- log?: boolean | Duration | undefined;
1827
+ log?: boolean | Duration | {
1828
+ retention: Duration;
1829
+ format?: "text" | "json" | undefined;
1830
+ system?: "debug" | "info" | "warn" | undefined;
1831
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1832
+ } | undefined;
1494
1833
  timeout?: Duration | undefined;
1495
1834
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1496
1835
  memorySize?: Size | undefined;
@@ -1515,7 +1854,12 @@ declare const AppSchema: z.ZodObject<{
1515
1854
  minify?: boolean | undefined;
1516
1855
  warm?: number | undefined;
1517
1856
  vpc?: boolean | undefined;
1518
- log?: boolean | Duration | undefined;
1857
+ log?: boolean | Duration | {
1858
+ retention: Duration;
1859
+ format?: "text" | "json" | undefined;
1860
+ system?: "debug" | "info" | "warn" | undefined;
1861
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1862
+ } | undefined;
1519
1863
  timeout?: Duration | undefined;
1520
1864
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1521
1865
  memorySize?: Size | undefined;
@@ -1540,7 +1884,12 @@ declare const AppSchema: z.ZodObject<{
1540
1884
  minify?: boolean | undefined;
1541
1885
  warm?: number | undefined;
1542
1886
  vpc?: boolean | undefined;
1543
- log?: boolean | Duration | undefined;
1887
+ log?: boolean | Duration | {
1888
+ retention: Duration;
1889
+ format?: "text" | "json" | undefined;
1890
+ system?: "debug" | "info" | "warn" | undefined;
1891
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1892
+ } | undefined;
1544
1893
  timeout?: Duration | undefined;
1545
1894
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1546
1895
  memorySize?: Size | undefined;
@@ -1565,7 +1914,12 @@ declare const AppSchema: z.ZodObject<{
1565
1914
  minify?: boolean | undefined;
1566
1915
  warm?: number | undefined;
1567
1916
  vpc?: boolean | undefined;
1568
- log?: boolean | Duration | undefined;
1917
+ log?: boolean | Duration | {
1918
+ retention: Duration;
1919
+ format?: "text" | "json" | undefined;
1920
+ system?: "debug" | "info" | "warn" | undefined;
1921
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1922
+ } | undefined;
1569
1923
  timeout?: Duration | undefined;
1570
1924
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1571
1925
  memorySize?: Size | undefined;
@@ -1590,7 +1944,12 @@ declare const AppSchema: z.ZodObject<{
1590
1944
  minify?: boolean | undefined;
1591
1945
  warm?: number | undefined;
1592
1946
  vpc?: boolean | undefined;
1593
- log?: boolean | Duration | undefined;
1947
+ log?: boolean | Duration | {
1948
+ retention: Duration;
1949
+ format?: "text" | "json" | undefined;
1950
+ system?: "debug" | "info" | "warn" | undefined;
1951
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1952
+ } | undefined;
1594
1953
  timeout?: Duration | undefined;
1595
1954
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1596
1955
  memorySize?: Size | undefined;
@@ -1642,7 +2001,12 @@ declare const AppSchema: z.ZodObject<{
1642
2001
  minify?: boolean | undefined;
1643
2002
  warm?: number | undefined;
1644
2003
  vpc?: boolean | undefined;
1645
- log?: string | boolean | undefined;
2004
+ log?: string | boolean | {
2005
+ retention: string;
2006
+ format?: "text" | "json" | undefined;
2007
+ system?: "debug" | "info" | "warn" | undefined;
2008
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2009
+ } | undefined;
1646
2010
  timeout?: string | undefined;
1647
2011
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1648
2012
  memorySize?: string | undefined;
@@ -1667,7 +2031,12 @@ declare const AppSchema: z.ZodObject<{
1667
2031
  minify?: boolean | undefined;
1668
2032
  warm?: number | undefined;
1669
2033
  vpc?: boolean | undefined;
1670
- log?: string | boolean | undefined;
2034
+ log?: string | boolean | {
2035
+ retention: string;
2036
+ format?: "text" | "json" | undefined;
2037
+ system?: "debug" | "info" | "warn" | undefined;
2038
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2039
+ } | undefined;
1671
2040
  timeout?: string | undefined;
1672
2041
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1673
2042
  memorySize?: string | undefined;
@@ -1692,7 +2061,12 @@ declare const AppSchema: z.ZodObject<{
1692
2061
  minify?: boolean | undefined;
1693
2062
  warm?: number | undefined;
1694
2063
  vpc?: boolean | undefined;
1695
- log?: string | boolean | undefined;
2064
+ log?: string | boolean | {
2065
+ retention: string;
2066
+ format?: "text" | "json" | undefined;
2067
+ system?: "debug" | "info" | "warn" | undefined;
2068
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2069
+ } | undefined;
1696
2070
  timeout?: string | undefined;
1697
2071
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1698
2072
  memorySize?: string | undefined;
@@ -1717,7 +2091,12 @@ declare const AppSchema: z.ZodObject<{
1717
2091
  minify?: boolean | undefined;
1718
2092
  warm?: number | undefined;
1719
2093
  vpc?: boolean | undefined;
1720
- log?: string | boolean | undefined;
2094
+ log?: string | boolean | {
2095
+ retention: string;
2096
+ format?: "text" | "json" | undefined;
2097
+ system?: "debug" | "info" | "warn" | undefined;
2098
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2099
+ } | undefined;
1721
2100
  timeout?: string | undefined;
1722
2101
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1723
2102
  memorySize?: string | undefined;
@@ -1742,7 +2121,12 @@ declare const AppSchema: z.ZodObject<{
1742
2121
  minify?: boolean | undefined;
1743
2122
  warm?: number | undefined;
1744
2123
  vpc?: boolean | undefined;
1745
- log?: string | boolean | undefined;
2124
+ log?: string | boolean | {
2125
+ retention: string;
2126
+ format?: "text" | "json" | undefined;
2127
+ system?: "debug" | "info" | "warn" | undefined;
2128
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2129
+ } | undefined;
1746
2130
  timeout?: string | undefined;
1747
2131
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1748
2132
  memorySize?: string | undefined;
@@ -1767,7 +2151,12 @@ declare const AppSchema: z.ZodObject<{
1767
2151
  minify?: boolean | undefined;
1768
2152
  warm?: number | undefined;
1769
2153
  vpc?: boolean | undefined;
1770
- log?: string | boolean | undefined;
2154
+ log?: string | boolean | {
2155
+ retention: string;
2156
+ format?: "text" | "json" | undefined;
2157
+ system?: "debug" | "info" | "warn" | undefined;
2158
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2159
+ } | undefined;
1771
2160
  timeout?: string | undefined;
1772
2161
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1773
2162
  memorySize?: string | undefined;
@@ -1792,7 +2181,12 @@ declare const AppSchema: z.ZodObject<{
1792
2181
  minify?: boolean | undefined;
1793
2182
  warm?: number | undefined;
1794
2183
  vpc?: boolean | undefined;
1795
- log?: string | boolean | undefined;
2184
+ log?: string | boolean | {
2185
+ retention: string;
2186
+ format?: "text" | "json" | undefined;
2187
+ system?: "debug" | "info" | "warn" | undefined;
2188
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2189
+ } | undefined;
1796
2190
  timeout?: string | undefined;
1797
2191
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1798
2192
  memorySize?: string | undefined;
@@ -1817,7 +2211,12 @@ declare const AppSchema: z.ZodObject<{
1817
2211
  minify?: boolean | undefined;
1818
2212
  warm?: number | undefined;
1819
2213
  vpc?: boolean | undefined;
1820
- log?: string | boolean | undefined;
2214
+ log?: string | boolean | {
2215
+ retention: string;
2216
+ format?: "text" | "json" | undefined;
2217
+ system?: "debug" | "info" | "warn" | undefined;
2218
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2219
+ } | undefined;
1821
2220
  timeout?: string | undefined;
1822
2221
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1823
2222
  memorySize?: string | undefined;
@@ -1842,7 +2241,12 @@ declare const AppSchema: z.ZodObject<{
1842
2241
  minify?: boolean | undefined;
1843
2242
  warm?: number | undefined;
1844
2243
  vpc?: boolean | undefined;
1845
- log?: string | boolean | undefined;
2244
+ log?: string | boolean | {
2245
+ retention: string;
2246
+ format?: "text" | "json" | undefined;
2247
+ system?: "debug" | "info" | "warn" | undefined;
2248
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2249
+ } | undefined;
1846
2250
  timeout?: string | undefined;
1847
2251
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1848
2252
  memorySize?: string | undefined;
@@ -1903,7 +2307,22 @@ declare const AppSchema: z.ZodObject<{
1903
2307
  minify: z.ZodDefault<z.ZodBoolean>;
1904
2308
  warm: z.ZodDefault<z.ZodNumber>;
1905
2309
  vpc: z.ZodDefault<z.ZodBoolean>;
1906
- log: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
2310
+ log: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
2311
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
2312
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
2313
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
2314
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
2315
+ }, "strip", z.ZodTypeAny, {
2316
+ retention: Duration;
2317
+ format?: "text" | "json" | undefined;
2318
+ system?: "debug" | "info" | "warn" | undefined;
2319
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2320
+ }, {
2321
+ retention: string;
2322
+ format?: "text" | "json" | undefined;
2323
+ system?: "debug" | "info" | "warn" | undefined;
2324
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2325
+ }>]>>;
1907
2326
  timeout: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
1908
2327
  runtime: z.ZodDefault<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
1909
2328
  memorySize: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -1942,7 +2361,17 @@ declare const AppSchema: z.ZodObject<{
1942
2361
  minify: boolean;
1943
2362
  warm: number;
1944
2363
  vpc: boolean;
1945
- log: (boolean | Duration) & (boolean | Duration | undefined);
2364
+ log: (boolean | Duration | {
2365
+ retention: Duration;
2366
+ format?: "text" | "json" | undefined;
2367
+ system?: "debug" | "info" | "warn" | undefined;
2368
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2369
+ }) & (boolean | Duration | {
2370
+ retention: Duration;
2371
+ format?: "text" | "json" | undefined;
2372
+ system?: "debug" | "info" | "warn" | undefined;
2373
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2374
+ } | undefined);
1946
2375
  timeout: Duration;
1947
2376
  runtime: "nodejs18.x" | "nodejs20.x";
1948
2377
  memorySize: Size;
@@ -1965,7 +2394,12 @@ declare const AppSchema: z.ZodObject<{
1965
2394
  minify?: boolean | undefined;
1966
2395
  warm?: number | undefined;
1967
2396
  vpc?: boolean | undefined;
1968
- log?: string | boolean | undefined;
2397
+ log?: string | boolean | {
2398
+ retention: string;
2399
+ format?: "text" | "json" | undefined;
2400
+ system?: "debug" | "info" | "warn" | undefined;
2401
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2402
+ } | undefined;
1969
2403
  timeout?: string | undefined;
1970
2404
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1971
2405
  memorySize?: string | undefined;
@@ -2057,7 +2491,17 @@ declare const AppSchema: z.ZodObject<{
2057
2491
  minify: boolean;
2058
2492
  warm: number;
2059
2493
  vpc: boolean;
2060
- log: (boolean | Duration) & (boolean | Duration | undefined);
2494
+ log: (boolean | Duration | {
2495
+ retention: Duration;
2496
+ format?: "text" | "json" | undefined;
2497
+ system?: "debug" | "info" | "warn" | undefined;
2498
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2499
+ }) & (boolean | Duration | {
2500
+ retention: Duration;
2501
+ format?: "text" | "json" | undefined;
2502
+ system?: "debug" | "info" | "warn" | undefined;
2503
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2504
+ } | undefined);
2061
2505
  timeout: Duration;
2062
2506
  runtime: "nodejs18.x" | "nodejs20.x";
2063
2507
  memorySize: Size;
@@ -2108,7 +2552,12 @@ declare const AppSchema: z.ZodObject<{
2108
2552
  minify?: boolean | undefined;
2109
2553
  warm?: number | undefined;
2110
2554
  vpc?: boolean | undefined;
2111
- log?: boolean | Duration | undefined;
2555
+ log?: boolean | Duration | {
2556
+ retention: Duration;
2557
+ format?: "text" | "json" | undefined;
2558
+ system?: "debug" | "info" | "warn" | undefined;
2559
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2560
+ } | undefined;
2112
2561
  timeout?: Duration | undefined;
2113
2562
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2114
2563
  memorySize?: Size | undefined;
@@ -2133,7 +2582,12 @@ declare const AppSchema: z.ZodObject<{
2133
2582
  minify?: boolean | undefined;
2134
2583
  warm?: number | undefined;
2135
2584
  vpc?: boolean | undefined;
2136
- log?: boolean | Duration | undefined;
2585
+ log?: boolean | Duration | {
2586
+ retention: Duration;
2587
+ format?: "text" | "json" | undefined;
2588
+ system?: "debug" | "info" | "warn" | undefined;
2589
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2590
+ } | undefined;
2137
2591
  timeout?: Duration | undefined;
2138
2592
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2139
2593
  memorySize?: Size | undefined;
@@ -2158,7 +2612,12 @@ declare const AppSchema: z.ZodObject<{
2158
2612
  minify?: boolean | undefined;
2159
2613
  warm?: number | undefined;
2160
2614
  vpc?: boolean | undefined;
2161
- log?: boolean | Duration | undefined;
2615
+ log?: boolean | Duration | {
2616
+ retention: Duration;
2617
+ format?: "text" | "json" | undefined;
2618
+ system?: "debug" | "info" | "warn" | undefined;
2619
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2620
+ } | undefined;
2162
2621
  timeout?: Duration | undefined;
2163
2622
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2164
2623
  memorySize?: Size | undefined;
@@ -2183,7 +2642,12 @@ declare const AppSchema: z.ZodObject<{
2183
2642
  minify?: boolean | undefined;
2184
2643
  warm?: number | undefined;
2185
2644
  vpc?: boolean | undefined;
2186
- log?: boolean | Duration | undefined;
2645
+ log?: boolean | Duration | {
2646
+ retention: Duration;
2647
+ format?: "text" | "json" | undefined;
2648
+ system?: "debug" | "info" | "warn" | undefined;
2649
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2650
+ } | undefined;
2187
2651
  timeout?: Duration | undefined;
2188
2652
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2189
2653
  memorySize?: Size | undefined;
@@ -2208,7 +2672,12 @@ declare const AppSchema: z.ZodObject<{
2208
2672
  minify?: boolean | undefined;
2209
2673
  warm?: number | undefined;
2210
2674
  vpc?: boolean | undefined;
2211
- log?: boolean | Duration | undefined;
2675
+ log?: boolean | Duration | {
2676
+ retention: Duration;
2677
+ format?: "text" | "json" | undefined;
2678
+ system?: "debug" | "info" | "warn" | undefined;
2679
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2680
+ } | undefined;
2212
2681
  timeout?: Duration | undefined;
2213
2682
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2214
2683
  memorySize?: Size | undefined;
@@ -2233,7 +2702,12 @@ declare const AppSchema: z.ZodObject<{
2233
2702
  minify?: boolean | undefined;
2234
2703
  warm?: number | undefined;
2235
2704
  vpc?: boolean | undefined;
2236
- log?: boolean | Duration | undefined;
2705
+ log?: boolean | Duration | {
2706
+ retention: Duration;
2707
+ format?: "text" | "json" | undefined;
2708
+ system?: "debug" | "info" | "warn" | undefined;
2709
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2710
+ } | undefined;
2237
2711
  timeout?: Duration | undefined;
2238
2712
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2239
2713
  memorySize?: Size | undefined;
@@ -2258,7 +2732,12 @@ declare const AppSchema: z.ZodObject<{
2258
2732
  minify?: boolean | undefined;
2259
2733
  warm?: number | undefined;
2260
2734
  vpc?: boolean | undefined;
2261
- log?: boolean | Duration | undefined;
2735
+ log?: boolean | Duration | {
2736
+ retention: Duration;
2737
+ format?: "text" | "json" | undefined;
2738
+ system?: "debug" | "info" | "warn" | undefined;
2739
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2740
+ } | undefined;
2262
2741
  timeout?: Duration | undefined;
2263
2742
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2264
2743
  memorySize?: Size | undefined;
@@ -2283,7 +2762,12 @@ declare const AppSchema: z.ZodObject<{
2283
2762
  minify?: boolean | undefined;
2284
2763
  warm?: number | undefined;
2285
2764
  vpc?: boolean | undefined;
2286
- log?: boolean | Duration | undefined;
2765
+ log?: boolean | Duration | {
2766
+ retention: Duration;
2767
+ format?: "text" | "json" | undefined;
2768
+ system?: "debug" | "info" | "warn" | undefined;
2769
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2770
+ } | undefined;
2287
2771
  timeout?: Duration | undefined;
2288
2772
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2289
2773
  memorySize?: Size | undefined;
@@ -2308,7 +2792,12 @@ declare const AppSchema: z.ZodObject<{
2308
2792
  minify?: boolean | undefined;
2309
2793
  warm?: number | undefined;
2310
2794
  vpc?: boolean | undefined;
2311
- log?: boolean | Duration | undefined;
2795
+ log?: boolean | Duration | {
2796
+ retention: Duration;
2797
+ format?: "text" | "json" | undefined;
2798
+ system?: "debug" | "info" | "warn" | undefined;
2799
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2800
+ } | undefined;
2312
2801
  timeout?: Duration | undefined;
2313
2802
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2314
2803
  memorySize?: Size | undefined;
@@ -2396,7 +2885,12 @@ declare const AppSchema: z.ZodObject<{
2396
2885
  minify?: boolean | undefined;
2397
2886
  warm?: number | undefined;
2398
2887
  vpc?: boolean | undefined;
2399
- log?: string | boolean | undefined;
2888
+ log?: string | boolean | {
2889
+ retention: string;
2890
+ format?: "text" | "json" | undefined;
2891
+ system?: "debug" | "info" | "warn" | undefined;
2892
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2893
+ } | undefined;
2400
2894
  timeout?: string | undefined;
2401
2895
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2402
2896
  memorySize?: string | undefined;
@@ -2421,7 +2915,12 @@ declare const AppSchema: z.ZodObject<{
2421
2915
  minify?: boolean | undefined;
2422
2916
  warm?: number | undefined;
2423
2917
  vpc?: boolean | undefined;
2424
- log?: string | boolean | undefined;
2918
+ log?: string | boolean | {
2919
+ retention: string;
2920
+ format?: "text" | "json" | undefined;
2921
+ system?: "debug" | "info" | "warn" | undefined;
2922
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2923
+ } | undefined;
2425
2924
  timeout?: string | undefined;
2426
2925
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2427
2926
  memorySize?: string | undefined;
@@ -2446,7 +2945,12 @@ declare const AppSchema: z.ZodObject<{
2446
2945
  minify?: boolean | undefined;
2447
2946
  warm?: number | undefined;
2448
2947
  vpc?: boolean | undefined;
2449
- log?: string | boolean | undefined;
2948
+ log?: string | boolean | {
2949
+ retention: string;
2950
+ format?: "text" | "json" | undefined;
2951
+ system?: "debug" | "info" | "warn" | undefined;
2952
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2953
+ } | undefined;
2450
2954
  timeout?: string | undefined;
2451
2955
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2452
2956
  memorySize?: string | undefined;
@@ -2471,7 +2975,12 @@ declare const AppSchema: z.ZodObject<{
2471
2975
  minify?: boolean | undefined;
2472
2976
  warm?: number | undefined;
2473
2977
  vpc?: boolean | undefined;
2474
- log?: string | boolean | undefined;
2978
+ log?: string | boolean | {
2979
+ retention: string;
2980
+ format?: "text" | "json" | undefined;
2981
+ system?: "debug" | "info" | "warn" | undefined;
2982
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2983
+ } | undefined;
2475
2984
  timeout?: string | undefined;
2476
2985
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2477
2986
  memorySize?: string | undefined;
@@ -2496,7 +3005,12 @@ declare const AppSchema: z.ZodObject<{
2496
3005
  minify?: boolean | undefined;
2497
3006
  warm?: number | undefined;
2498
3007
  vpc?: boolean | undefined;
2499
- log?: string | boolean | undefined;
3008
+ log?: string | boolean | {
3009
+ retention: string;
3010
+ format?: "text" | "json" | undefined;
3011
+ system?: "debug" | "info" | "warn" | undefined;
3012
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3013
+ } | undefined;
2500
3014
  timeout?: string | undefined;
2501
3015
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2502
3016
  memorySize?: string | undefined;
@@ -2521,7 +3035,12 @@ declare const AppSchema: z.ZodObject<{
2521
3035
  minify?: boolean | undefined;
2522
3036
  warm?: number | undefined;
2523
3037
  vpc?: boolean | undefined;
2524
- log?: string | boolean | undefined;
3038
+ log?: string | boolean | {
3039
+ retention: string;
3040
+ format?: "text" | "json" | undefined;
3041
+ system?: "debug" | "info" | "warn" | undefined;
3042
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3043
+ } | undefined;
2525
3044
  timeout?: string | undefined;
2526
3045
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2527
3046
  memorySize?: string | undefined;
@@ -2546,7 +3065,12 @@ declare const AppSchema: z.ZodObject<{
2546
3065
  minify?: boolean | undefined;
2547
3066
  warm?: number | undefined;
2548
3067
  vpc?: boolean | undefined;
2549
- log?: string | boolean | undefined;
3068
+ log?: string | boolean | {
3069
+ retention: string;
3070
+ format?: "text" | "json" | undefined;
3071
+ system?: "debug" | "info" | "warn" | undefined;
3072
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3073
+ } | undefined;
2550
3074
  timeout?: string | undefined;
2551
3075
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2552
3076
  memorySize?: string | undefined;
@@ -2571,7 +3095,12 @@ declare const AppSchema: z.ZodObject<{
2571
3095
  minify?: boolean | undefined;
2572
3096
  warm?: number | undefined;
2573
3097
  vpc?: boolean | undefined;
2574
- log?: string | boolean | undefined;
3098
+ log?: string | boolean | {
3099
+ retention: string;
3100
+ format?: "text" | "json" | undefined;
3101
+ system?: "debug" | "info" | "warn" | undefined;
3102
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3103
+ } | undefined;
2575
3104
  timeout?: string | undefined;
2576
3105
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2577
3106
  memorySize?: string | undefined;
@@ -2596,7 +3125,12 @@ declare const AppSchema: z.ZodObject<{
2596
3125
  minify?: boolean | undefined;
2597
3126
  warm?: number | undefined;
2598
3127
  vpc?: boolean | undefined;
2599
- log?: string | boolean | undefined;
3128
+ log?: string | boolean | {
3129
+ retention: string;
3130
+ format?: "text" | "json" | undefined;
3131
+ system?: "debug" | "info" | "warn" | undefined;
3132
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3133
+ } | undefined;
2600
3134
  timeout?: string | undefined;
2601
3135
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2602
3136
  memorySize?: string | undefined;
@@ -2631,7 +3165,12 @@ declare const AppSchema: z.ZodObject<{
2631
3165
  minify?: boolean | undefined;
2632
3166
  warm?: number | undefined;
2633
3167
  vpc?: boolean | undefined;
2634
- log?: string | boolean | undefined;
3168
+ log?: string | boolean | {
3169
+ retention: string;
3170
+ format?: "text" | "json" | undefined;
3171
+ system?: "debug" | "info" | "warn" | undefined;
3172
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3173
+ } | undefined;
2635
3174
  timeout?: string | undefined;
2636
3175
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2637
3176
  memorySize?: string | undefined;
@@ -2680,14 +3219,23 @@ declare const AppSchema: z.ZodObject<{
2680
3219
  name: string;
2681
3220
  region: "us-east-2" | "us-east-1" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-east-1" | "ap-south-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-south-1" | "ap-northeast-3" | "ap-northeast-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ca-central-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-south-1" | "eu-west-3" | "eu-south-2" | "eu-north-1" | "eu-central-2" | "me-south-1" | "me-central-1" | "sa-east-1";
2682
3221
  profile: string;
2683
- stage: string;
2684
3222
  defaults: {
2685
3223
  function: {
2686
3224
  handler: string;
2687
3225
  minify: boolean;
2688
3226
  warm: number;
2689
3227
  vpc: boolean;
2690
- log: (boolean | Duration) & (boolean | Duration | undefined);
3228
+ log: (boolean | Duration | {
3229
+ retention: Duration;
3230
+ format?: "text" | "json" | undefined;
3231
+ system?: "debug" | "info" | "warn" | undefined;
3232
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3233
+ }) & (boolean | Duration | {
3234
+ retention: Duration;
3235
+ format?: "text" | "json" | undefined;
3236
+ system?: "debug" | "info" | "warn" | undefined;
3237
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3238
+ } | undefined);
2691
3239
  timeout: Duration;
2692
3240
  runtime: "nodejs18.x" | "nodejs20.x";
2693
3241
  memorySize: Size;
@@ -2738,7 +3286,12 @@ declare const AppSchema: z.ZodObject<{
2738
3286
  minify?: boolean | undefined;
2739
3287
  warm?: number | undefined;
2740
3288
  vpc?: boolean | undefined;
2741
- log?: boolean | Duration | undefined;
3289
+ log?: boolean | Duration | {
3290
+ retention: Duration;
3291
+ format?: "text" | "json" | undefined;
3292
+ system?: "debug" | "info" | "warn" | undefined;
3293
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3294
+ } | undefined;
2742
3295
  timeout?: Duration | undefined;
2743
3296
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2744
3297
  memorySize?: Size | undefined;
@@ -2763,7 +3316,12 @@ declare const AppSchema: z.ZodObject<{
2763
3316
  minify?: boolean | undefined;
2764
3317
  warm?: number | undefined;
2765
3318
  vpc?: boolean | undefined;
2766
- log?: boolean | Duration | undefined;
3319
+ log?: boolean | Duration | {
3320
+ retention: Duration;
3321
+ format?: "text" | "json" | undefined;
3322
+ system?: "debug" | "info" | "warn" | undefined;
3323
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3324
+ } | undefined;
2767
3325
  timeout?: Duration | undefined;
2768
3326
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2769
3327
  memorySize?: Size | undefined;
@@ -2788,7 +3346,12 @@ declare const AppSchema: z.ZodObject<{
2788
3346
  minify?: boolean | undefined;
2789
3347
  warm?: number | undefined;
2790
3348
  vpc?: boolean | undefined;
2791
- log?: boolean | Duration | undefined;
3349
+ log?: boolean | Duration | {
3350
+ retention: Duration;
3351
+ format?: "text" | "json" | undefined;
3352
+ system?: "debug" | "info" | "warn" | undefined;
3353
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3354
+ } | undefined;
2792
3355
  timeout?: Duration | undefined;
2793
3356
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2794
3357
  memorySize?: Size | undefined;
@@ -2813,7 +3376,12 @@ declare const AppSchema: z.ZodObject<{
2813
3376
  minify?: boolean | undefined;
2814
3377
  warm?: number | undefined;
2815
3378
  vpc?: boolean | undefined;
2816
- log?: boolean | Duration | undefined;
3379
+ log?: boolean | Duration | {
3380
+ retention: Duration;
3381
+ format?: "text" | "json" | undefined;
3382
+ system?: "debug" | "info" | "warn" | undefined;
3383
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3384
+ } | undefined;
2817
3385
  timeout?: Duration | undefined;
2818
3386
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2819
3387
  memorySize?: Size | undefined;
@@ -2838,7 +3406,12 @@ declare const AppSchema: z.ZodObject<{
2838
3406
  minify?: boolean | undefined;
2839
3407
  warm?: number | undefined;
2840
3408
  vpc?: boolean | undefined;
2841
- log?: boolean | Duration | undefined;
3409
+ log?: boolean | Duration | {
3410
+ retention: Duration;
3411
+ format?: "text" | "json" | undefined;
3412
+ system?: "debug" | "info" | "warn" | undefined;
3413
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3414
+ } | undefined;
2842
3415
  timeout?: Duration | undefined;
2843
3416
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2844
3417
  memorySize?: Size | undefined;
@@ -2863,7 +3436,12 @@ declare const AppSchema: z.ZodObject<{
2863
3436
  minify?: boolean | undefined;
2864
3437
  warm?: number | undefined;
2865
3438
  vpc?: boolean | undefined;
2866
- log?: boolean | Duration | undefined;
3439
+ log?: boolean | Duration | {
3440
+ retention: Duration;
3441
+ format?: "text" | "json" | undefined;
3442
+ system?: "debug" | "info" | "warn" | undefined;
3443
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3444
+ } | undefined;
2867
3445
  timeout?: Duration | undefined;
2868
3446
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2869
3447
  memorySize?: Size | undefined;
@@ -2888,7 +3466,12 @@ declare const AppSchema: z.ZodObject<{
2888
3466
  minify?: boolean | undefined;
2889
3467
  warm?: number | undefined;
2890
3468
  vpc?: boolean | undefined;
2891
- log?: boolean | Duration | undefined;
3469
+ log?: boolean | Duration | {
3470
+ retention: Duration;
3471
+ format?: "text" | "json" | undefined;
3472
+ system?: "debug" | "info" | "warn" | undefined;
3473
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3474
+ } | undefined;
2892
3475
  timeout?: Duration | undefined;
2893
3476
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2894
3477
  memorySize?: Size | undefined;
@@ -2913,7 +3496,12 @@ declare const AppSchema: z.ZodObject<{
2913
3496
  minify?: boolean | undefined;
2914
3497
  warm?: number | undefined;
2915
3498
  vpc?: boolean | undefined;
2916
- log?: boolean | Duration | undefined;
3499
+ log?: boolean | Duration | {
3500
+ retention: Duration;
3501
+ format?: "text" | "json" | undefined;
3502
+ system?: "debug" | "info" | "warn" | undefined;
3503
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3504
+ } | undefined;
2917
3505
  timeout?: Duration | undefined;
2918
3506
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2919
3507
  memorySize?: Size | undefined;
@@ -2938,7 +3526,12 @@ declare const AppSchema: z.ZodObject<{
2938
3526
  minify?: boolean | undefined;
2939
3527
  warm?: number | undefined;
2940
3528
  vpc?: boolean | undefined;
2941
- log?: boolean | Duration | undefined;
3529
+ log?: boolean | Duration | {
3530
+ retention: Duration;
3531
+ format?: "text" | "json" | undefined;
3532
+ system?: "debug" | "info" | "warn" | undefined;
3533
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3534
+ } | undefined;
2942
3535
  timeout?: Duration | undefined;
2943
3536
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2944
3537
  memorySize?: Size | undefined;
@@ -3000,7 +3593,6 @@ declare const AppSchema: z.ZodObject<{
3000
3593
  region: "us-east-2" | "us-east-1" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-east-1" | "ap-south-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-south-1" | "ap-northeast-3" | "ap-northeast-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ca-central-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-south-1" | "eu-west-3" | "eu-south-2" | "eu-north-1" | "eu-central-2" | "me-south-1" | "me-central-1" | "sa-east-1";
3001
3594
  profile: string;
3002
3595
  $schema?: string | undefined;
3003
- stage?: string | undefined;
3004
3596
  defaults?: {
3005
3597
  auth?: Record<string, {
3006
3598
  allowUserRegistration?: boolean | undefined;
@@ -3034,7 +3626,12 @@ declare const AppSchema: z.ZodObject<{
3034
3626
  minify?: boolean | undefined;
3035
3627
  warm?: number | undefined;
3036
3628
  vpc?: boolean | undefined;
3037
- log?: string | boolean | undefined;
3629
+ log?: string | boolean | {
3630
+ retention: string;
3631
+ format?: "text" | "json" | undefined;
3632
+ system?: "debug" | "info" | "warn" | undefined;
3633
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3634
+ } | undefined;
3038
3635
  timeout?: string | undefined;
3039
3636
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3040
3637
  memorySize?: string | undefined;
@@ -3059,7 +3656,12 @@ declare const AppSchema: z.ZodObject<{
3059
3656
  minify?: boolean | undefined;
3060
3657
  warm?: number | undefined;
3061
3658
  vpc?: boolean | undefined;
3062
- log?: string | boolean | undefined;
3659
+ log?: string | boolean | {
3660
+ retention: string;
3661
+ format?: "text" | "json" | undefined;
3662
+ system?: "debug" | "info" | "warn" | undefined;
3663
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3664
+ } | undefined;
3063
3665
  timeout?: string | undefined;
3064
3666
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3065
3667
  memorySize?: string | undefined;
@@ -3084,7 +3686,12 @@ declare const AppSchema: z.ZodObject<{
3084
3686
  minify?: boolean | undefined;
3085
3687
  warm?: number | undefined;
3086
3688
  vpc?: boolean | undefined;
3087
- log?: string | boolean | undefined;
3689
+ log?: string | boolean | {
3690
+ retention: string;
3691
+ format?: "text" | "json" | undefined;
3692
+ system?: "debug" | "info" | "warn" | undefined;
3693
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3694
+ } | undefined;
3088
3695
  timeout?: string | undefined;
3089
3696
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3090
3697
  memorySize?: string | undefined;
@@ -3109,7 +3716,12 @@ declare const AppSchema: z.ZodObject<{
3109
3716
  minify?: boolean | undefined;
3110
3717
  warm?: number | undefined;
3111
3718
  vpc?: boolean | undefined;
3112
- log?: string | boolean | undefined;
3719
+ log?: string | boolean | {
3720
+ retention: string;
3721
+ format?: "text" | "json" | undefined;
3722
+ system?: "debug" | "info" | "warn" | undefined;
3723
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3724
+ } | undefined;
3113
3725
  timeout?: string | undefined;
3114
3726
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3115
3727
  memorySize?: string | undefined;
@@ -3134,7 +3746,12 @@ declare const AppSchema: z.ZodObject<{
3134
3746
  minify?: boolean | undefined;
3135
3747
  warm?: number | undefined;
3136
3748
  vpc?: boolean | undefined;
3137
- log?: string | boolean | undefined;
3749
+ log?: string | boolean | {
3750
+ retention: string;
3751
+ format?: "text" | "json" | undefined;
3752
+ system?: "debug" | "info" | "warn" | undefined;
3753
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3754
+ } | undefined;
3138
3755
  timeout?: string | undefined;
3139
3756
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3140
3757
  memorySize?: string | undefined;
@@ -3159,7 +3776,12 @@ declare const AppSchema: z.ZodObject<{
3159
3776
  minify?: boolean | undefined;
3160
3777
  warm?: number | undefined;
3161
3778
  vpc?: boolean | undefined;
3162
- log?: string | boolean | undefined;
3779
+ log?: string | boolean | {
3780
+ retention: string;
3781
+ format?: "text" | "json" | undefined;
3782
+ system?: "debug" | "info" | "warn" | undefined;
3783
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3784
+ } | undefined;
3163
3785
  timeout?: string | undefined;
3164
3786
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3165
3787
  memorySize?: string | undefined;
@@ -3184,7 +3806,12 @@ declare const AppSchema: z.ZodObject<{
3184
3806
  minify?: boolean | undefined;
3185
3807
  warm?: number | undefined;
3186
3808
  vpc?: boolean | undefined;
3187
- log?: string | boolean | undefined;
3809
+ log?: string | boolean | {
3810
+ retention: string;
3811
+ format?: "text" | "json" | undefined;
3812
+ system?: "debug" | "info" | "warn" | undefined;
3813
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3814
+ } | undefined;
3188
3815
  timeout?: string | undefined;
3189
3816
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3190
3817
  memorySize?: string | undefined;
@@ -3209,7 +3836,12 @@ declare const AppSchema: z.ZodObject<{
3209
3836
  minify?: boolean | undefined;
3210
3837
  warm?: number | undefined;
3211
3838
  vpc?: boolean | undefined;
3212
- log?: string | boolean | undefined;
3839
+ log?: string | boolean | {
3840
+ retention: string;
3841
+ format?: "text" | "json" | undefined;
3842
+ system?: "debug" | "info" | "warn" | undefined;
3843
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3844
+ } | undefined;
3213
3845
  timeout?: string | undefined;
3214
3846
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3215
3847
  memorySize?: string | undefined;
@@ -3234,7 +3866,12 @@ declare const AppSchema: z.ZodObject<{
3234
3866
  minify?: boolean | undefined;
3235
3867
  warm?: number | undefined;
3236
3868
  vpc?: boolean | undefined;
3237
- log?: string | boolean | undefined;
3869
+ log?: string | boolean | {
3870
+ retention: string;
3871
+ format?: "text" | "json" | undefined;
3872
+ system?: "debug" | "info" | "warn" | undefined;
3873
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3874
+ } | undefined;
3238
3875
  timeout?: string | undefined;
3239
3876
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3240
3877
  memorySize?: string | undefined;
@@ -3269,7 +3906,12 @@ declare const AppSchema: z.ZodObject<{
3269
3906
  minify?: boolean | undefined;
3270
3907
  warm?: number | undefined;
3271
3908
  vpc?: boolean | undefined;
3272
- log?: string | boolean | undefined;
3909
+ log?: string | boolean | {
3910
+ retention: string;
3911
+ format?: "text" | "json" | undefined;
3912
+ system?: "debug" | "info" | "warn" | undefined;
3913
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3914
+ } | undefined;
3273
3915
  timeout?: string | undefined;
3274
3916
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3275
3917
  memorySize?: string | undefined;
@@ -3327,7 +3969,22 @@ declare const StackSchema: z.ZodObject<{
3327
3969
  minify: z.ZodOptional<z.ZodBoolean>;
3328
3970
  warm: z.ZodOptional<z.ZodNumber>;
3329
3971
  vpc: z.ZodOptional<z.ZodBoolean>;
3330
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
3972
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
3973
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
3974
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
3975
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
3976
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
3977
+ }, "strip", z.ZodTypeAny, {
3978
+ retention: Duration;
3979
+ format?: "text" | "json" | undefined;
3980
+ system?: "debug" | "info" | "warn" | undefined;
3981
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3982
+ }, {
3983
+ retention: string;
3984
+ format?: "text" | "json" | undefined;
3985
+ system?: "debug" | "info" | "warn" | undefined;
3986
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3987
+ }>]>>;
3331
3988
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3332
3989
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3333
3990
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3367,7 +4024,12 @@ declare const StackSchema: z.ZodObject<{
3367
4024
  minify?: boolean | undefined;
3368
4025
  warm?: number | undefined;
3369
4026
  vpc?: boolean | undefined;
3370
- log?: boolean | Duration | undefined;
4027
+ log?: boolean | Duration | {
4028
+ retention: Duration;
4029
+ format?: "text" | "json" | undefined;
4030
+ system?: "debug" | "info" | "warn" | undefined;
4031
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4032
+ } | undefined;
3371
4033
  timeout?: Duration | undefined;
3372
4034
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3373
4035
  memorySize?: Size | undefined;
@@ -3391,7 +4053,12 @@ declare const StackSchema: z.ZodObject<{
3391
4053
  minify?: boolean | undefined;
3392
4054
  warm?: number | undefined;
3393
4055
  vpc?: boolean | undefined;
3394
- log?: string | boolean | undefined;
4056
+ log?: string | boolean | {
4057
+ retention: string;
4058
+ format?: "text" | "json" | undefined;
4059
+ system?: "debug" | "info" | "warn" | undefined;
4060
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4061
+ } | undefined;
3395
4062
  timeout?: string | undefined;
3396
4063
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3397
4064
  memorySize?: string | undefined;
@@ -3411,7 +4078,6 @@ declare const StackSchema: z.ZodObject<{
3411
4078
  }[] | undefined;
3412
4079
  }>]>>;
3413
4080
  auth: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
3414
- access: z.ZodDefault<z.ZodBoolean>;
3415
4081
  triggers: z.ZodOptional<z.ZodObject<{
3416
4082
  beforeToken: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodObject<{
3417
4083
  file: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -3419,7 +4085,22 @@ declare const StackSchema: z.ZodObject<{
3419
4085
  minify: z.ZodOptional<z.ZodBoolean>;
3420
4086
  warm: z.ZodOptional<z.ZodNumber>;
3421
4087
  vpc: z.ZodOptional<z.ZodBoolean>;
3422
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4088
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4089
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4090
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4091
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4092
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4093
+ }, "strip", z.ZodTypeAny, {
4094
+ retention: Duration;
4095
+ format?: "text" | "json" | undefined;
4096
+ system?: "debug" | "info" | "warn" | undefined;
4097
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4098
+ }, {
4099
+ retention: string;
4100
+ format?: "text" | "json" | undefined;
4101
+ system?: "debug" | "info" | "warn" | undefined;
4102
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4103
+ }>]>>;
3423
4104
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3424
4105
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3425
4106
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3459,7 +4140,12 @@ declare const StackSchema: z.ZodObject<{
3459
4140
  minify?: boolean | undefined;
3460
4141
  warm?: number | undefined;
3461
4142
  vpc?: boolean | undefined;
3462
- log?: boolean | Duration | undefined;
4143
+ log?: boolean | Duration | {
4144
+ retention: Duration;
4145
+ format?: "text" | "json" | undefined;
4146
+ system?: "debug" | "info" | "warn" | undefined;
4147
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4148
+ } | undefined;
3463
4149
  timeout?: Duration | undefined;
3464
4150
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3465
4151
  memorySize?: Size | undefined;
@@ -3483,7 +4169,12 @@ declare const StackSchema: z.ZodObject<{
3483
4169
  minify?: boolean | undefined;
3484
4170
  warm?: number | undefined;
3485
4171
  vpc?: boolean | undefined;
3486
- log?: string | boolean | undefined;
4172
+ log?: string | boolean | {
4173
+ retention: string;
4174
+ format?: "text" | "json" | undefined;
4175
+ system?: "debug" | "info" | "warn" | undefined;
4176
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4177
+ } | undefined;
3487
4178
  timeout?: string | undefined;
3488
4179
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3489
4180
  memorySize?: string | undefined;
@@ -3508,7 +4199,22 @@ declare const StackSchema: z.ZodObject<{
3508
4199
  minify: z.ZodOptional<z.ZodBoolean>;
3509
4200
  warm: z.ZodOptional<z.ZodNumber>;
3510
4201
  vpc: z.ZodOptional<z.ZodBoolean>;
3511
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4202
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4203
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4204
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4205
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4206
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4207
+ }, "strip", z.ZodTypeAny, {
4208
+ retention: Duration;
4209
+ format?: "text" | "json" | undefined;
4210
+ system?: "debug" | "info" | "warn" | undefined;
4211
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4212
+ }, {
4213
+ retention: string;
4214
+ format?: "text" | "json" | undefined;
4215
+ system?: "debug" | "info" | "warn" | undefined;
4216
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4217
+ }>]>>;
3512
4218
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3513
4219
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3514
4220
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3548,7 +4254,12 @@ declare const StackSchema: z.ZodObject<{
3548
4254
  minify?: boolean | undefined;
3549
4255
  warm?: number | undefined;
3550
4256
  vpc?: boolean | undefined;
3551
- log?: boolean | Duration | undefined;
4257
+ log?: boolean | Duration | {
4258
+ retention: Duration;
4259
+ format?: "text" | "json" | undefined;
4260
+ system?: "debug" | "info" | "warn" | undefined;
4261
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4262
+ } | undefined;
3552
4263
  timeout?: Duration | undefined;
3553
4264
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3554
4265
  memorySize?: Size | undefined;
@@ -3572,7 +4283,12 @@ declare const StackSchema: z.ZodObject<{
3572
4283
  minify?: boolean | undefined;
3573
4284
  warm?: number | undefined;
3574
4285
  vpc?: boolean | undefined;
3575
- log?: string | boolean | undefined;
4286
+ log?: string | boolean | {
4287
+ retention: string;
4288
+ format?: "text" | "json" | undefined;
4289
+ system?: "debug" | "info" | "warn" | undefined;
4290
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4291
+ } | undefined;
3576
4292
  timeout?: string | undefined;
3577
4293
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3578
4294
  memorySize?: string | undefined;
@@ -3597,7 +4313,22 @@ declare const StackSchema: z.ZodObject<{
3597
4313
  minify: z.ZodOptional<z.ZodBoolean>;
3598
4314
  warm: z.ZodOptional<z.ZodNumber>;
3599
4315
  vpc: z.ZodOptional<z.ZodBoolean>;
3600
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4316
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4317
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4318
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4319
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4320
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4321
+ }, "strip", z.ZodTypeAny, {
4322
+ retention: Duration;
4323
+ format?: "text" | "json" | undefined;
4324
+ system?: "debug" | "info" | "warn" | undefined;
4325
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4326
+ }, {
4327
+ retention: string;
4328
+ format?: "text" | "json" | undefined;
4329
+ system?: "debug" | "info" | "warn" | undefined;
4330
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4331
+ }>]>>;
3601
4332
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3602
4333
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3603
4334
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3637,7 +4368,12 @@ declare const StackSchema: z.ZodObject<{
3637
4368
  minify?: boolean | undefined;
3638
4369
  warm?: number | undefined;
3639
4370
  vpc?: boolean | undefined;
3640
- log?: boolean | Duration | undefined;
4371
+ log?: boolean | Duration | {
4372
+ retention: Duration;
4373
+ format?: "text" | "json" | undefined;
4374
+ system?: "debug" | "info" | "warn" | undefined;
4375
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4376
+ } | undefined;
3641
4377
  timeout?: Duration | undefined;
3642
4378
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3643
4379
  memorySize?: Size | undefined;
@@ -3661,7 +4397,12 @@ declare const StackSchema: z.ZodObject<{
3661
4397
  minify?: boolean | undefined;
3662
4398
  warm?: number | undefined;
3663
4399
  vpc?: boolean | undefined;
3664
- log?: string | boolean | undefined;
4400
+ log?: string | boolean | {
4401
+ retention: string;
4402
+ format?: "text" | "json" | undefined;
4403
+ system?: "debug" | "info" | "warn" | undefined;
4404
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4405
+ } | undefined;
3665
4406
  timeout?: string | undefined;
3666
4407
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3667
4408
  memorySize?: string | undefined;
@@ -3686,7 +4427,22 @@ declare const StackSchema: z.ZodObject<{
3686
4427
  minify: z.ZodOptional<z.ZodBoolean>;
3687
4428
  warm: z.ZodOptional<z.ZodNumber>;
3688
4429
  vpc: z.ZodOptional<z.ZodBoolean>;
3689
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4430
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4431
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4432
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4433
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4434
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4435
+ }, "strip", z.ZodTypeAny, {
4436
+ retention: Duration;
4437
+ format?: "text" | "json" | undefined;
4438
+ system?: "debug" | "info" | "warn" | undefined;
4439
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4440
+ }, {
4441
+ retention: string;
4442
+ format?: "text" | "json" | undefined;
4443
+ system?: "debug" | "info" | "warn" | undefined;
4444
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4445
+ }>]>>;
3690
4446
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3691
4447
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3692
4448
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3726,7 +4482,12 @@ declare const StackSchema: z.ZodObject<{
3726
4482
  minify?: boolean | undefined;
3727
4483
  warm?: number | undefined;
3728
4484
  vpc?: boolean | undefined;
3729
- log?: boolean | Duration | undefined;
4485
+ log?: boolean | Duration | {
4486
+ retention: Duration;
4487
+ format?: "text" | "json" | undefined;
4488
+ system?: "debug" | "info" | "warn" | undefined;
4489
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4490
+ } | undefined;
3730
4491
  timeout?: Duration | undefined;
3731
4492
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3732
4493
  memorySize?: Size | undefined;
@@ -3750,7 +4511,12 @@ declare const StackSchema: z.ZodObject<{
3750
4511
  minify?: boolean | undefined;
3751
4512
  warm?: number | undefined;
3752
4513
  vpc?: boolean | undefined;
3753
- log?: string | boolean | undefined;
4514
+ log?: string | boolean | {
4515
+ retention: string;
4516
+ format?: "text" | "json" | undefined;
4517
+ system?: "debug" | "info" | "warn" | undefined;
4518
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4519
+ } | undefined;
3754
4520
  timeout?: string | undefined;
3755
4521
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3756
4522
  memorySize?: string | undefined;
@@ -3775,7 +4541,22 @@ declare const StackSchema: z.ZodObject<{
3775
4541
  minify: z.ZodOptional<z.ZodBoolean>;
3776
4542
  warm: z.ZodOptional<z.ZodNumber>;
3777
4543
  vpc: z.ZodOptional<z.ZodBoolean>;
3778
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4544
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4545
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4546
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4547
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4548
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4549
+ }, "strip", z.ZodTypeAny, {
4550
+ retention: Duration;
4551
+ format?: "text" | "json" | undefined;
4552
+ system?: "debug" | "info" | "warn" | undefined;
4553
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4554
+ }, {
4555
+ retention: string;
4556
+ format?: "text" | "json" | undefined;
4557
+ system?: "debug" | "info" | "warn" | undefined;
4558
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4559
+ }>]>>;
3779
4560
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3780
4561
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3781
4562
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3815,7 +4596,12 @@ declare const StackSchema: z.ZodObject<{
3815
4596
  minify?: boolean | undefined;
3816
4597
  warm?: number | undefined;
3817
4598
  vpc?: boolean | undefined;
3818
- log?: boolean | Duration | undefined;
4599
+ log?: boolean | Duration | {
4600
+ retention: Duration;
4601
+ format?: "text" | "json" | undefined;
4602
+ system?: "debug" | "info" | "warn" | undefined;
4603
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4604
+ } | undefined;
3819
4605
  timeout?: Duration | undefined;
3820
4606
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3821
4607
  memorySize?: Size | undefined;
@@ -3839,7 +4625,12 @@ declare const StackSchema: z.ZodObject<{
3839
4625
  minify?: boolean | undefined;
3840
4626
  warm?: number | undefined;
3841
4627
  vpc?: boolean | undefined;
3842
- log?: string | boolean | undefined;
4628
+ log?: string | boolean | {
4629
+ retention: string;
4630
+ format?: "text" | "json" | undefined;
4631
+ system?: "debug" | "info" | "warn" | undefined;
4632
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4633
+ } | undefined;
3843
4634
  timeout?: string | undefined;
3844
4635
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3845
4636
  memorySize?: string | undefined;
@@ -3864,7 +4655,22 @@ declare const StackSchema: z.ZodObject<{
3864
4655
  minify: z.ZodOptional<z.ZodBoolean>;
3865
4656
  warm: z.ZodOptional<z.ZodNumber>;
3866
4657
  vpc: z.ZodOptional<z.ZodBoolean>;
3867
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4658
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4659
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4660
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4661
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4662
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4663
+ }, "strip", z.ZodTypeAny, {
4664
+ retention: Duration;
4665
+ format?: "text" | "json" | undefined;
4666
+ system?: "debug" | "info" | "warn" | undefined;
4667
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4668
+ }, {
4669
+ retention: string;
4670
+ format?: "text" | "json" | undefined;
4671
+ system?: "debug" | "info" | "warn" | undefined;
4672
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4673
+ }>]>>;
3868
4674
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3869
4675
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3870
4676
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3904,7 +4710,12 @@ declare const StackSchema: z.ZodObject<{
3904
4710
  minify?: boolean | undefined;
3905
4711
  warm?: number | undefined;
3906
4712
  vpc?: boolean | undefined;
3907
- log?: boolean | Duration | undefined;
4713
+ log?: boolean | Duration | {
4714
+ retention: Duration;
4715
+ format?: "text" | "json" | undefined;
4716
+ system?: "debug" | "info" | "warn" | undefined;
4717
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4718
+ } | undefined;
3908
4719
  timeout?: Duration | undefined;
3909
4720
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3910
4721
  memorySize?: Size | undefined;
@@ -3928,7 +4739,12 @@ declare const StackSchema: z.ZodObject<{
3928
4739
  minify?: boolean | undefined;
3929
4740
  warm?: number | undefined;
3930
4741
  vpc?: boolean | undefined;
3931
- log?: string | boolean | undefined;
4742
+ log?: string | boolean | {
4743
+ retention: string;
4744
+ format?: "text" | "json" | undefined;
4745
+ system?: "debug" | "info" | "warn" | undefined;
4746
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4747
+ } | undefined;
3932
4748
  timeout?: string | undefined;
3933
4749
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3934
4750
  memorySize?: string | undefined;
@@ -3953,7 +4769,22 @@ declare const StackSchema: z.ZodObject<{
3953
4769
  minify: z.ZodOptional<z.ZodBoolean>;
3954
4770
  warm: z.ZodOptional<z.ZodNumber>;
3955
4771
  vpc: z.ZodOptional<z.ZodBoolean>;
3956
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4772
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4773
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4774
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4775
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4776
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4777
+ }, "strip", z.ZodTypeAny, {
4778
+ retention: Duration;
4779
+ format?: "text" | "json" | undefined;
4780
+ system?: "debug" | "info" | "warn" | undefined;
4781
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4782
+ }, {
4783
+ retention: string;
4784
+ format?: "text" | "json" | undefined;
4785
+ system?: "debug" | "info" | "warn" | undefined;
4786
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4787
+ }>]>>;
3957
4788
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3958
4789
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3959
4790
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3993,7 +4824,12 @@ declare const StackSchema: z.ZodObject<{
3993
4824
  minify?: boolean | undefined;
3994
4825
  warm?: number | undefined;
3995
4826
  vpc?: boolean | undefined;
3996
- log?: boolean | Duration | undefined;
4827
+ log?: boolean | Duration | {
4828
+ retention: Duration;
4829
+ format?: "text" | "json" | undefined;
4830
+ system?: "debug" | "info" | "warn" | undefined;
4831
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4832
+ } | undefined;
3997
4833
  timeout?: Duration | undefined;
3998
4834
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3999
4835
  memorySize?: Size | undefined;
@@ -4017,7 +4853,12 @@ declare const StackSchema: z.ZodObject<{
4017
4853
  minify?: boolean | undefined;
4018
4854
  warm?: number | undefined;
4019
4855
  vpc?: boolean | undefined;
4020
- log?: string | boolean | undefined;
4856
+ log?: string | boolean | {
4857
+ retention: string;
4858
+ format?: "text" | "json" | undefined;
4859
+ system?: "debug" | "info" | "warn" | undefined;
4860
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4861
+ } | undefined;
4021
4862
  timeout?: string | undefined;
4022
4863
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4023
4864
  memorySize?: string | undefined;
@@ -4042,7 +4883,22 @@ declare const StackSchema: z.ZodObject<{
4042
4883
  minify: z.ZodOptional<z.ZodBoolean>;
4043
4884
  warm: z.ZodOptional<z.ZodNumber>;
4044
4885
  vpc: z.ZodOptional<z.ZodBoolean>;
4045
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4886
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4887
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4888
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4889
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4890
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4891
+ }, "strip", z.ZodTypeAny, {
4892
+ retention: Duration;
4893
+ format?: "text" | "json" | undefined;
4894
+ system?: "debug" | "info" | "warn" | undefined;
4895
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4896
+ }, {
4897
+ retention: string;
4898
+ format?: "text" | "json" | undefined;
4899
+ system?: "debug" | "info" | "warn" | undefined;
4900
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4901
+ }>]>>;
4046
4902
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
4047
4903
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
4048
4904
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -4082,7 +4938,12 @@ declare const StackSchema: z.ZodObject<{
4082
4938
  minify?: boolean | undefined;
4083
4939
  warm?: number | undefined;
4084
4940
  vpc?: boolean | undefined;
4085
- log?: boolean | Duration | undefined;
4941
+ log?: boolean | Duration | {
4942
+ retention: Duration;
4943
+ format?: "text" | "json" | undefined;
4944
+ system?: "debug" | "info" | "warn" | undefined;
4945
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4946
+ } | undefined;
4086
4947
  timeout?: Duration | undefined;
4087
4948
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4088
4949
  memorySize?: Size | undefined;
@@ -4106,7 +4967,12 @@ declare const StackSchema: z.ZodObject<{
4106
4967
  minify?: boolean | undefined;
4107
4968
  warm?: number | undefined;
4108
4969
  vpc?: boolean | undefined;
4109
- log?: string | boolean | undefined;
4970
+ log?: string | boolean | {
4971
+ retention: string;
4972
+ format?: "text" | "json" | undefined;
4973
+ system?: "debug" | "info" | "warn" | undefined;
4974
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4975
+ } | undefined;
4110
4976
  timeout?: string | undefined;
4111
4977
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4112
4978
  memorySize?: string | undefined;
@@ -4131,7 +4997,22 @@ declare const StackSchema: z.ZodObject<{
4131
4997
  minify: z.ZodOptional<z.ZodBoolean>;
4132
4998
  warm: z.ZodOptional<z.ZodNumber>;
4133
4999
  vpc: z.ZodOptional<z.ZodBoolean>;
4134
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
5000
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
5001
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
5002
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
5003
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
5004
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
5005
+ }, "strip", z.ZodTypeAny, {
5006
+ retention: Duration;
5007
+ format?: "text" | "json" | undefined;
5008
+ system?: "debug" | "info" | "warn" | undefined;
5009
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5010
+ }, {
5011
+ retention: string;
5012
+ format?: "text" | "json" | undefined;
5013
+ system?: "debug" | "info" | "warn" | undefined;
5014
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5015
+ }>]>>;
4135
5016
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
4136
5017
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
4137
5018
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -4171,7 +5052,12 @@ declare const StackSchema: z.ZodObject<{
4171
5052
  minify?: boolean | undefined;
4172
5053
  warm?: number | undefined;
4173
5054
  vpc?: boolean | undefined;
4174
- log?: boolean | Duration | undefined;
5055
+ log?: boolean | Duration | {
5056
+ retention: Duration;
5057
+ format?: "text" | "json" | undefined;
5058
+ system?: "debug" | "info" | "warn" | undefined;
5059
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5060
+ } | undefined;
4175
5061
  timeout?: Duration | undefined;
4176
5062
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4177
5063
  memorySize?: Size | undefined;
@@ -4195,7 +5081,12 @@ declare const StackSchema: z.ZodObject<{
4195
5081
  minify?: boolean | undefined;
4196
5082
  warm?: number | undefined;
4197
5083
  vpc?: boolean | undefined;
4198
- log?: string | boolean | undefined;
5084
+ log?: string | boolean | {
5085
+ retention: string;
5086
+ format?: "text" | "json" | undefined;
5087
+ system?: "debug" | "info" | "warn" | undefined;
5088
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5089
+ } | undefined;
4199
5090
  timeout?: string | undefined;
4200
5091
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4201
5092
  memorySize?: string | undefined;
@@ -4221,7 +5112,12 @@ declare const StackSchema: z.ZodObject<{
4221
5112
  minify?: boolean | undefined;
4222
5113
  warm?: number | undefined;
4223
5114
  vpc?: boolean | undefined;
4224
- log?: boolean | Duration | undefined;
5115
+ log?: boolean | Duration | {
5116
+ retention: Duration;
5117
+ format?: "text" | "json" | undefined;
5118
+ system?: "debug" | "info" | "warn" | undefined;
5119
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5120
+ } | undefined;
4225
5121
  timeout?: Duration | undefined;
4226
5122
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4227
5123
  memorySize?: Size | undefined;
@@ -4246,7 +5142,12 @@ declare const StackSchema: z.ZodObject<{
4246
5142
  minify?: boolean | undefined;
4247
5143
  warm?: number | undefined;
4248
5144
  vpc?: boolean | undefined;
4249
- log?: boolean | Duration | undefined;
5145
+ log?: boolean | Duration | {
5146
+ retention: Duration;
5147
+ format?: "text" | "json" | undefined;
5148
+ system?: "debug" | "info" | "warn" | undefined;
5149
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5150
+ } | undefined;
4250
5151
  timeout?: Duration | undefined;
4251
5152
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4252
5153
  memorySize?: Size | undefined;
@@ -4271,7 +5172,12 @@ declare const StackSchema: z.ZodObject<{
4271
5172
  minify?: boolean | undefined;
4272
5173
  warm?: number | undefined;
4273
5174
  vpc?: boolean | undefined;
4274
- log?: boolean | Duration | undefined;
5175
+ log?: boolean | Duration | {
5176
+ retention: Duration;
5177
+ format?: "text" | "json" | undefined;
5178
+ system?: "debug" | "info" | "warn" | undefined;
5179
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5180
+ } | undefined;
4275
5181
  timeout?: Duration | undefined;
4276
5182
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4277
5183
  memorySize?: Size | undefined;
@@ -4296,7 +5202,12 @@ declare const StackSchema: z.ZodObject<{
4296
5202
  minify?: boolean | undefined;
4297
5203
  warm?: number | undefined;
4298
5204
  vpc?: boolean | undefined;
4299
- log?: boolean | Duration | undefined;
5205
+ log?: boolean | Duration | {
5206
+ retention: Duration;
5207
+ format?: "text" | "json" | undefined;
5208
+ system?: "debug" | "info" | "warn" | undefined;
5209
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5210
+ } | undefined;
4300
5211
  timeout?: Duration | undefined;
4301
5212
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4302
5213
  memorySize?: Size | undefined;
@@ -4321,7 +5232,12 @@ declare const StackSchema: z.ZodObject<{
4321
5232
  minify?: boolean | undefined;
4322
5233
  warm?: number | undefined;
4323
5234
  vpc?: boolean | undefined;
4324
- log?: boolean | Duration | undefined;
5235
+ log?: boolean | Duration | {
5236
+ retention: Duration;
5237
+ format?: "text" | "json" | undefined;
5238
+ system?: "debug" | "info" | "warn" | undefined;
5239
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5240
+ } | undefined;
4325
5241
  timeout?: Duration | undefined;
4326
5242
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4327
5243
  memorySize?: Size | undefined;
@@ -4346,7 +5262,12 @@ declare const StackSchema: z.ZodObject<{
4346
5262
  minify?: boolean | undefined;
4347
5263
  warm?: number | undefined;
4348
5264
  vpc?: boolean | undefined;
4349
- log?: boolean | Duration | undefined;
5265
+ log?: boolean | Duration | {
5266
+ retention: Duration;
5267
+ format?: "text" | "json" | undefined;
5268
+ system?: "debug" | "info" | "warn" | undefined;
5269
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5270
+ } | undefined;
4350
5271
  timeout?: Duration | undefined;
4351
5272
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4352
5273
  memorySize?: Size | undefined;
@@ -4371,7 +5292,12 @@ declare const StackSchema: z.ZodObject<{
4371
5292
  minify?: boolean | undefined;
4372
5293
  warm?: number | undefined;
4373
5294
  vpc?: boolean | undefined;
4374
- log?: boolean | Duration | undefined;
5295
+ log?: boolean | Duration | {
5296
+ retention: Duration;
5297
+ format?: "text" | "json" | undefined;
5298
+ system?: "debug" | "info" | "warn" | undefined;
5299
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5300
+ } | undefined;
4375
5301
  timeout?: Duration | undefined;
4376
5302
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4377
5303
  memorySize?: Size | undefined;
@@ -4396,7 +5322,12 @@ declare const StackSchema: z.ZodObject<{
4396
5322
  minify?: boolean | undefined;
4397
5323
  warm?: number | undefined;
4398
5324
  vpc?: boolean | undefined;
4399
- log?: boolean | Duration | undefined;
5325
+ log?: boolean | Duration | {
5326
+ retention: Duration;
5327
+ format?: "text" | "json" | undefined;
5328
+ system?: "debug" | "info" | "warn" | undefined;
5329
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5330
+ } | undefined;
4400
5331
  timeout?: Duration | undefined;
4401
5332
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4402
5333
  memorySize?: Size | undefined;
@@ -4421,7 +5352,12 @@ declare const StackSchema: z.ZodObject<{
4421
5352
  minify?: boolean | undefined;
4422
5353
  warm?: number | undefined;
4423
5354
  vpc?: boolean | undefined;
4424
- log?: boolean | Duration | undefined;
5355
+ log?: boolean | Duration | {
5356
+ retention: Duration;
5357
+ format?: "text" | "json" | undefined;
5358
+ system?: "debug" | "info" | "warn" | undefined;
5359
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5360
+ } | undefined;
4425
5361
  timeout?: Duration | undefined;
4426
5362
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4427
5363
  memorySize?: Size | undefined;
@@ -4447,7 +5383,12 @@ declare const StackSchema: z.ZodObject<{
4447
5383
  minify?: boolean | undefined;
4448
5384
  warm?: number | undefined;
4449
5385
  vpc?: boolean | undefined;
4450
- log?: string | boolean | undefined;
5386
+ log?: string | boolean | {
5387
+ retention: string;
5388
+ format?: "text" | "json" | undefined;
5389
+ system?: "debug" | "info" | "warn" | undefined;
5390
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5391
+ } | undefined;
4451
5392
  timeout?: string | undefined;
4452
5393
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4453
5394
  memorySize?: string | undefined;
@@ -4472,7 +5413,12 @@ declare const StackSchema: z.ZodObject<{
4472
5413
  minify?: boolean | undefined;
4473
5414
  warm?: number | undefined;
4474
5415
  vpc?: boolean | undefined;
4475
- log?: string | boolean | undefined;
5416
+ log?: string | boolean | {
5417
+ retention: string;
5418
+ format?: "text" | "json" | undefined;
5419
+ system?: "debug" | "info" | "warn" | undefined;
5420
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5421
+ } | undefined;
4476
5422
  timeout?: string | undefined;
4477
5423
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4478
5424
  memorySize?: string | undefined;
@@ -4497,7 +5443,12 @@ declare const StackSchema: z.ZodObject<{
4497
5443
  minify?: boolean | undefined;
4498
5444
  warm?: number | undefined;
4499
5445
  vpc?: boolean | undefined;
4500
- log?: string | boolean | undefined;
5446
+ log?: string | boolean | {
5447
+ retention: string;
5448
+ format?: "text" | "json" | undefined;
5449
+ system?: "debug" | "info" | "warn" | undefined;
5450
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5451
+ } | undefined;
4501
5452
  timeout?: string | undefined;
4502
5453
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4503
5454
  memorySize?: string | undefined;
@@ -4522,7 +5473,12 @@ declare const StackSchema: z.ZodObject<{
4522
5473
  minify?: boolean | undefined;
4523
5474
  warm?: number | undefined;
4524
5475
  vpc?: boolean | undefined;
4525
- log?: string | boolean | undefined;
5476
+ log?: string | boolean | {
5477
+ retention: string;
5478
+ format?: "text" | "json" | undefined;
5479
+ system?: "debug" | "info" | "warn" | undefined;
5480
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5481
+ } | undefined;
4526
5482
  timeout?: string | undefined;
4527
5483
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4528
5484
  memorySize?: string | undefined;
@@ -4547,7 +5503,12 @@ declare const StackSchema: z.ZodObject<{
4547
5503
  minify?: boolean | undefined;
4548
5504
  warm?: number | undefined;
4549
5505
  vpc?: boolean | undefined;
4550
- log?: string | boolean | undefined;
5506
+ log?: string | boolean | {
5507
+ retention: string;
5508
+ format?: "text" | "json" | undefined;
5509
+ system?: "debug" | "info" | "warn" | undefined;
5510
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5511
+ } | undefined;
4551
5512
  timeout?: string | undefined;
4552
5513
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4553
5514
  memorySize?: string | undefined;
@@ -4572,7 +5533,12 @@ declare const StackSchema: z.ZodObject<{
4572
5533
  minify?: boolean | undefined;
4573
5534
  warm?: number | undefined;
4574
5535
  vpc?: boolean | undefined;
4575
- log?: string | boolean | undefined;
5536
+ log?: string | boolean | {
5537
+ retention: string;
5538
+ format?: "text" | "json" | undefined;
5539
+ system?: "debug" | "info" | "warn" | undefined;
5540
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5541
+ } | undefined;
4576
5542
  timeout?: string | undefined;
4577
5543
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4578
5544
  memorySize?: string | undefined;
@@ -4597,7 +5563,12 @@ declare const StackSchema: z.ZodObject<{
4597
5563
  minify?: boolean | undefined;
4598
5564
  warm?: number | undefined;
4599
5565
  vpc?: boolean | undefined;
4600
- log?: string | boolean | undefined;
5566
+ log?: string | boolean | {
5567
+ retention: string;
5568
+ format?: "text" | "json" | undefined;
5569
+ system?: "debug" | "info" | "warn" | undefined;
5570
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5571
+ } | undefined;
4601
5572
  timeout?: string | undefined;
4602
5573
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4603
5574
  memorySize?: string | undefined;
@@ -4622,7 +5593,12 @@ declare const StackSchema: z.ZodObject<{
4622
5593
  minify?: boolean | undefined;
4623
5594
  warm?: number | undefined;
4624
5595
  vpc?: boolean | undefined;
4625
- log?: string | boolean | undefined;
5596
+ log?: string | boolean | {
5597
+ retention: string;
5598
+ format?: "text" | "json" | undefined;
5599
+ system?: "debug" | "info" | "warn" | undefined;
5600
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5601
+ } | undefined;
4626
5602
  timeout?: string | undefined;
4627
5603
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4628
5604
  memorySize?: string | undefined;
@@ -4647,7 +5623,12 @@ declare const StackSchema: z.ZodObject<{
4647
5623
  minify?: boolean | undefined;
4648
5624
  warm?: number | undefined;
4649
5625
  vpc?: boolean | undefined;
4650
- log?: string | boolean | undefined;
5626
+ log?: string | boolean | {
5627
+ retention: string;
5628
+ format?: "text" | "json" | undefined;
5629
+ system?: "debug" | "info" | "warn" | undefined;
5630
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5631
+ } | undefined;
4651
5632
  timeout?: string | undefined;
4652
5633
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4653
5634
  memorySize?: string | undefined;
@@ -4668,7 +5649,6 @@ declare const StackSchema: z.ZodObject<{
4668
5649
  } | undefined;
4669
5650
  }>>;
4670
5651
  }, "strip", z.ZodTypeAny, {
4671
- access: boolean;
4672
5652
  triggers?: {
4673
5653
  beforeToken?: string | {
4674
5654
  file: string;
@@ -4676,7 +5656,12 @@ declare const StackSchema: z.ZodObject<{
4676
5656
  minify?: boolean | undefined;
4677
5657
  warm?: number | undefined;
4678
5658
  vpc?: boolean | undefined;
4679
- log?: boolean | Duration | undefined;
5659
+ log?: boolean | Duration | {
5660
+ retention: Duration;
5661
+ format?: "text" | "json" | undefined;
5662
+ system?: "debug" | "info" | "warn" | undefined;
5663
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5664
+ } | undefined;
4680
5665
  timeout?: Duration | undefined;
4681
5666
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4682
5667
  memorySize?: Size | undefined;
@@ -4701,7 +5686,12 @@ declare const StackSchema: z.ZodObject<{
4701
5686
  minify?: boolean | undefined;
4702
5687
  warm?: number | undefined;
4703
5688
  vpc?: boolean | undefined;
4704
- log?: boolean | Duration | undefined;
5689
+ log?: boolean | Duration | {
5690
+ retention: Duration;
5691
+ format?: "text" | "json" | undefined;
5692
+ system?: "debug" | "info" | "warn" | undefined;
5693
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5694
+ } | undefined;
4705
5695
  timeout?: Duration | undefined;
4706
5696
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4707
5697
  memorySize?: Size | undefined;
@@ -4726,7 +5716,12 @@ declare const StackSchema: z.ZodObject<{
4726
5716
  minify?: boolean | undefined;
4727
5717
  warm?: number | undefined;
4728
5718
  vpc?: boolean | undefined;
4729
- log?: boolean | Duration | undefined;
5719
+ log?: boolean | Duration | {
5720
+ retention: Duration;
5721
+ format?: "text" | "json" | undefined;
5722
+ system?: "debug" | "info" | "warn" | undefined;
5723
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5724
+ } | undefined;
4730
5725
  timeout?: Duration | undefined;
4731
5726
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4732
5727
  memorySize?: Size | undefined;
@@ -4751,7 +5746,12 @@ declare const StackSchema: z.ZodObject<{
4751
5746
  minify?: boolean | undefined;
4752
5747
  warm?: number | undefined;
4753
5748
  vpc?: boolean | undefined;
4754
- log?: boolean | Duration | undefined;
5749
+ log?: boolean | Duration | {
5750
+ retention: Duration;
5751
+ format?: "text" | "json" | undefined;
5752
+ system?: "debug" | "info" | "warn" | undefined;
5753
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5754
+ } | undefined;
4755
5755
  timeout?: Duration | undefined;
4756
5756
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4757
5757
  memorySize?: Size | undefined;
@@ -4776,7 +5776,12 @@ declare const StackSchema: z.ZodObject<{
4776
5776
  minify?: boolean | undefined;
4777
5777
  warm?: number | undefined;
4778
5778
  vpc?: boolean | undefined;
4779
- log?: boolean | Duration | undefined;
5779
+ log?: boolean | Duration | {
5780
+ retention: Duration;
5781
+ format?: "text" | "json" | undefined;
5782
+ system?: "debug" | "info" | "warn" | undefined;
5783
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5784
+ } | undefined;
4780
5785
  timeout?: Duration | undefined;
4781
5786
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4782
5787
  memorySize?: Size | undefined;
@@ -4801,7 +5806,12 @@ declare const StackSchema: z.ZodObject<{
4801
5806
  minify?: boolean | undefined;
4802
5807
  warm?: number | undefined;
4803
5808
  vpc?: boolean | undefined;
4804
- log?: boolean | Duration | undefined;
5809
+ log?: boolean | Duration | {
5810
+ retention: Duration;
5811
+ format?: "text" | "json" | undefined;
5812
+ system?: "debug" | "info" | "warn" | undefined;
5813
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5814
+ } | undefined;
4805
5815
  timeout?: Duration | undefined;
4806
5816
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4807
5817
  memorySize?: Size | undefined;
@@ -4826,7 +5836,12 @@ declare const StackSchema: z.ZodObject<{
4826
5836
  minify?: boolean | undefined;
4827
5837
  warm?: number | undefined;
4828
5838
  vpc?: boolean | undefined;
4829
- log?: boolean | Duration | undefined;
5839
+ log?: boolean | Duration | {
5840
+ retention: Duration;
5841
+ format?: "text" | "json" | undefined;
5842
+ system?: "debug" | "info" | "warn" | undefined;
5843
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5844
+ } | undefined;
4830
5845
  timeout?: Duration | undefined;
4831
5846
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4832
5847
  memorySize?: Size | undefined;
@@ -4851,7 +5866,12 @@ declare const StackSchema: z.ZodObject<{
4851
5866
  minify?: boolean | undefined;
4852
5867
  warm?: number | undefined;
4853
5868
  vpc?: boolean | undefined;
4854
- log?: boolean | Duration | undefined;
5869
+ log?: boolean | Duration | {
5870
+ retention: Duration;
5871
+ format?: "text" | "json" | undefined;
5872
+ system?: "debug" | "info" | "warn" | undefined;
5873
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5874
+ } | undefined;
4855
5875
  timeout?: Duration | undefined;
4856
5876
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4857
5877
  memorySize?: Size | undefined;
@@ -4876,7 +5896,12 @@ declare const StackSchema: z.ZodObject<{
4876
5896
  minify?: boolean | undefined;
4877
5897
  warm?: number | undefined;
4878
5898
  vpc?: boolean | undefined;
4879
- log?: boolean | Duration | undefined;
5899
+ log?: boolean | Duration | {
5900
+ retention: Duration;
5901
+ format?: "text" | "json" | undefined;
5902
+ system?: "debug" | "info" | "warn" | undefined;
5903
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5904
+ } | undefined;
4880
5905
  timeout?: Duration | undefined;
4881
5906
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4882
5907
  memorySize?: Size | undefined;
@@ -4897,7 +5922,6 @@ declare const StackSchema: z.ZodObject<{
4897
5922
  } | undefined;
4898
5923
  } | undefined;
4899
5924
  }, {
4900
- access?: boolean | undefined;
4901
5925
  triggers?: {
4902
5926
  beforeToken?: string | {
4903
5927
  file: string;
@@ -4905,7 +5929,12 @@ declare const StackSchema: z.ZodObject<{
4905
5929
  minify?: boolean | undefined;
4906
5930
  warm?: number | undefined;
4907
5931
  vpc?: boolean | undefined;
4908
- log?: string | boolean | undefined;
5932
+ log?: string | boolean | {
5933
+ retention: string;
5934
+ format?: "text" | "json" | undefined;
5935
+ system?: "debug" | "info" | "warn" | undefined;
5936
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5937
+ } | undefined;
4909
5938
  timeout?: string | undefined;
4910
5939
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4911
5940
  memorySize?: string | undefined;
@@ -4930,7 +5959,12 @@ declare const StackSchema: z.ZodObject<{
4930
5959
  minify?: boolean | undefined;
4931
5960
  warm?: number | undefined;
4932
5961
  vpc?: boolean | undefined;
4933
- log?: string | boolean | undefined;
5962
+ log?: string | boolean | {
5963
+ retention: string;
5964
+ format?: "text" | "json" | undefined;
5965
+ system?: "debug" | "info" | "warn" | undefined;
5966
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5967
+ } | undefined;
4934
5968
  timeout?: string | undefined;
4935
5969
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4936
5970
  memorySize?: string | undefined;
@@ -4955,7 +5989,12 @@ declare const StackSchema: z.ZodObject<{
4955
5989
  minify?: boolean | undefined;
4956
5990
  warm?: number | undefined;
4957
5991
  vpc?: boolean | undefined;
4958
- log?: string | boolean | undefined;
5992
+ log?: string | boolean | {
5993
+ retention: string;
5994
+ format?: "text" | "json" | undefined;
5995
+ system?: "debug" | "info" | "warn" | undefined;
5996
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5997
+ } | undefined;
4959
5998
  timeout?: string | undefined;
4960
5999
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4961
6000
  memorySize?: string | undefined;
@@ -4980,7 +6019,12 @@ declare const StackSchema: z.ZodObject<{
4980
6019
  minify?: boolean | undefined;
4981
6020
  warm?: number | undefined;
4982
6021
  vpc?: boolean | undefined;
4983
- log?: string | boolean | undefined;
6022
+ log?: string | boolean | {
6023
+ retention: string;
6024
+ format?: "text" | "json" | undefined;
6025
+ system?: "debug" | "info" | "warn" | undefined;
6026
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6027
+ } | undefined;
4984
6028
  timeout?: string | undefined;
4985
6029
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4986
6030
  memorySize?: string | undefined;
@@ -5005,7 +6049,12 @@ declare const StackSchema: z.ZodObject<{
5005
6049
  minify?: boolean | undefined;
5006
6050
  warm?: number | undefined;
5007
6051
  vpc?: boolean | undefined;
5008
- log?: string | boolean | undefined;
6052
+ log?: string | boolean | {
6053
+ retention: string;
6054
+ format?: "text" | "json" | undefined;
6055
+ system?: "debug" | "info" | "warn" | undefined;
6056
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6057
+ } | undefined;
5009
6058
  timeout?: string | undefined;
5010
6059
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5011
6060
  memorySize?: string | undefined;
@@ -5030,7 +6079,12 @@ declare const StackSchema: z.ZodObject<{
5030
6079
  minify?: boolean | undefined;
5031
6080
  warm?: number | undefined;
5032
6081
  vpc?: boolean | undefined;
5033
- log?: string | boolean | undefined;
6082
+ log?: string | boolean | {
6083
+ retention: string;
6084
+ format?: "text" | "json" | undefined;
6085
+ system?: "debug" | "info" | "warn" | undefined;
6086
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6087
+ } | undefined;
5034
6088
  timeout?: string | undefined;
5035
6089
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5036
6090
  memorySize?: string | undefined;
@@ -5055,7 +6109,12 @@ declare const StackSchema: z.ZodObject<{
5055
6109
  minify?: boolean | undefined;
5056
6110
  warm?: number | undefined;
5057
6111
  vpc?: boolean | undefined;
5058
- log?: string | boolean | undefined;
6112
+ log?: string | boolean | {
6113
+ retention: string;
6114
+ format?: "text" | "json" | undefined;
6115
+ system?: "debug" | "info" | "warn" | undefined;
6116
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6117
+ } | undefined;
5059
6118
  timeout?: string | undefined;
5060
6119
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5061
6120
  memorySize?: string | undefined;
@@ -5080,7 +6139,12 @@ declare const StackSchema: z.ZodObject<{
5080
6139
  minify?: boolean | undefined;
5081
6140
  warm?: number | undefined;
5082
6141
  vpc?: boolean | undefined;
5083
- log?: string | boolean | undefined;
6142
+ log?: string | boolean | {
6143
+ retention: string;
6144
+ format?: "text" | "json" | undefined;
6145
+ system?: "debug" | "info" | "warn" | undefined;
6146
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6147
+ } | undefined;
5084
6148
  timeout?: string | undefined;
5085
6149
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5086
6150
  memorySize?: string | undefined;
@@ -5105,7 +6169,12 @@ declare const StackSchema: z.ZodObject<{
5105
6169
  minify?: boolean | undefined;
5106
6170
  warm?: number | undefined;
5107
6171
  vpc?: boolean | undefined;
5108
- log?: string | boolean | undefined;
6172
+ log?: string | boolean | {
6173
+ retention: string;
6174
+ format?: "text" | "json" | undefined;
6175
+ system?: "debug" | "info" | "warn" | undefined;
6176
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6177
+ } | undefined;
5109
6178
  timeout?: string | undefined;
5110
6179
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5111
6180
  memorySize?: string | undefined;
@@ -5134,7 +6203,22 @@ declare const StackSchema: z.ZodObject<{
5134
6203
  minify: z.ZodOptional<z.ZodBoolean>;
5135
6204
  warm: z.ZodOptional<z.ZodNumber>;
5136
6205
  vpc: z.ZodOptional<z.ZodBoolean>;
5137
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6206
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6207
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6208
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6209
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6210
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6211
+ }, "strip", z.ZodTypeAny, {
6212
+ retention: Duration;
6213
+ format?: "text" | "json" | undefined;
6214
+ system?: "debug" | "info" | "warn" | undefined;
6215
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6216
+ }, {
6217
+ retention: string;
6218
+ format?: "text" | "json" | undefined;
6219
+ system?: "debug" | "info" | "warn" | undefined;
6220
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6221
+ }>]>>;
5138
6222
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5139
6223
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5140
6224
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5174,7 +6258,12 @@ declare const StackSchema: z.ZodObject<{
5174
6258
  minify?: boolean | undefined;
5175
6259
  warm?: number | undefined;
5176
6260
  vpc?: boolean | undefined;
5177
- log?: boolean | Duration | undefined;
6261
+ log?: boolean | Duration | {
6262
+ retention: Duration;
6263
+ format?: "text" | "json" | undefined;
6264
+ system?: "debug" | "info" | "warn" | undefined;
6265
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6266
+ } | undefined;
5178
6267
  timeout?: Duration | undefined;
5179
6268
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5180
6269
  memorySize?: Size | undefined;
@@ -5198,7 +6287,12 @@ declare const StackSchema: z.ZodObject<{
5198
6287
  minify?: boolean | undefined;
5199
6288
  warm?: number | undefined;
5200
6289
  vpc?: boolean | undefined;
5201
- log?: string | boolean | undefined;
6290
+ log?: string | boolean | {
6291
+ retention: string;
6292
+ format?: "text" | "json" | undefined;
6293
+ system?: "debug" | "info" | "warn" | undefined;
6294
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6295
+ } | undefined;
5202
6296
  timeout?: string | undefined;
5203
6297
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5204
6298
  memorySize?: string | undefined;
@@ -5223,7 +6317,22 @@ declare const StackSchema: z.ZodObject<{
5223
6317
  minify: z.ZodOptional<z.ZodBoolean>;
5224
6318
  warm: z.ZodOptional<z.ZodNumber>;
5225
6319
  vpc: z.ZodOptional<z.ZodBoolean>;
5226
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6320
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6321
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6322
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6323
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6324
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6325
+ }, "strip", z.ZodTypeAny, {
6326
+ retention: Duration;
6327
+ format?: "text" | "json" | undefined;
6328
+ system?: "debug" | "info" | "warn" | undefined;
6329
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6330
+ }, {
6331
+ retention: string;
6332
+ format?: "text" | "json" | undefined;
6333
+ system?: "debug" | "info" | "warn" | undefined;
6334
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6335
+ }>]>>;
5227
6336
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5228
6337
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5229
6338
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5263,7 +6372,12 @@ declare const StackSchema: z.ZodObject<{
5263
6372
  minify?: boolean | undefined;
5264
6373
  warm?: number | undefined;
5265
6374
  vpc?: boolean | undefined;
5266
- log?: boolean | Duration | undefined;
6375
+ log?: boolean | Duration | {
6376
+ retention: Duration;
6377
+ format?: "text" | "json" | undefined;
6378
+ system?: "debug" | "info" | "warn" | undefined;
6379
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6380
+ } | undefined;
5267
6381
  timeout?: Duration | undefined;
5268
6382
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5269
6383
  memorySize?: Size | undefined;
@@ -5287,7 +6401,12 @@ declare const StackSchema: z.ZodObject<{
5287
6401
  minify?: boolean | undefined;
5288
6402
  warm?: number | undefined;
5289
6403
  vpc?: boolean | undefined;
5290
- log?: string | boolean | undefined;
6404
+ log?: string | boolean | {
6405
+ retention: string;
6406
+ format?: "text" | "json" | undefined;
6407
+ system?: "debug" | "info" | "warn" | undefined;
6408
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6409
+ } | undefined;
5291
6410
  timeout?: string | undefined;
5292
6411
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5293
6412
  memorySize?: string | undefined;
@@ -5314,7 +6433,12 @@ declare const StackSchema: z.ZodObject<{
5314
6433
  minify?: boolean | undefined;
5315
6434
  warm?: number | undefined;
5316
6435
  vpc?: boolean | undefined;
5317
- log?: boolean | Duration | undefined;
6436
+ log?: boolean | Duration | {
6437
+ retention: Duration;
6438
+ format?: "text" | "json" | undefined;
6439
+ system?: "debug" | "info" | "warn" | undefined;
6440
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6441
+ } | undefined;
5318
6442
  timeout?: Duration | undefined;
5319
6443
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5320
6444
  memorySize?: Size | undefined;
@@ -5338,7 +6462,12 @@ declare const StackSchema: z.ZodObject<{
5338
6462
  minify?: boolean | undefined;
5339
6463
  warm?: number | undefined;
5340
6464
  vpc?: boolean | undefined;
5341
- log?: boolean | Duration | undefined;
6465
+ log?: boolean | Duration | {
6466
+ retention: Duration;
6467
+ format?: "text" | "json" | undefined;
6468
+ system?: "debug" | "info" | "warn" | undefined;
6469
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6470
+ } | undefined;
5342
6471
  timeout?: Duration | undefined;
5343
6472
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5344
6473
  memorySize?: Size | undefined;
@@ -5365,7 +6494,12 @@ declare const StackSchema: z.ZodObject<{
5365
6494
  minify?: boolean | undefined;
5366
6495
  warm?: number | undefined;
5367
6496
  vpc?: boolean | undefined;
5368
- log?: string | boolean | undefined;
6497
+ log?: string | boolean | {
6498
+ retention: string;
6499
+ format?: "text" | "json" | undefined;
6500
+ system?: "debug" | "info" | "warn" | undefined;
6501
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6502
+ } | undefined;
5369
6503
  timeout?: string | undefined;
5370
6504
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5371
6505
  memorySize?: string | undefined;
@@ -5389,7 +6523,12 @@ declare const StackSchema: z.ZodObject<{
5389
6523
  minify?: boolean | undefined;
5390
6524
  warm?: number | undefined;
5391
6525
  vpc?: boolean | undefined;
5392
- log?: string | boolean | undefined;
6526
+ log?: string | boolean | {
6527
+ retention: string;
6528
+ format?: "text" | "json" | undefined;
6529
+ system?: "debug" | "info" | "warn" | undefined;
6530
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6531
+ } | undefined;
5393
6532
  timeout?: string | undefined;
5394
6533
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5395
6534
  memorySize?: string | undefined;
@@ -5418,7 +6557,12 @@ declare const StackSchema: z.ZodObject<{
5418
6557
  minify?: boolean | undefined;
5419
6558
  warm?: number | undefined;
5420
6559
  vpc?: boolean | undefined;
5421
- log?: boolean | Duration | undefined;
6560
+ log?: boolean | Duration | {
6561
+ retention: Duration;
6562
+ format?: "text" | "json" | undefined;
6563
+ system?: "debug" | "info" | "warn" | undefined;
6564
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6565
+ } | undefined;
5422
6566
  timeout?: Duration | undefined;
5423
6567
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5424
6568
  memorySize?: Size | undefined;
@@ -5443,7 +6587,12 @@ declare const StackSchema: z.ZodObject<{
5443
6587
  minify?: boolean | undefined;
5444
6588
  warm?: number | undefined;
5445
6589
  vpc?: boolean | undefined;
5446
- log?: boolean | Duration | undefined;
6590
+ log?: boolean | Duration | {
6591
+ retention: Duration;
6592
+ format?: "text" | "json" | undefined;
6593
+ system?: "debug" | "info" | "warn" | undefined;
6594
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6595
+ } | undefined;
5447
6596
  timeout?: Duration | undefined;
5448
6597
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5449
6598
  memorySize?: Size | undefined;
@@ -5467,7 +6616,12 @@ declare const StackSchema: z.ZodObject<{
5467
6616
  minify?: boolean | undefined;
5468
6617
  warm?: number | undefined;
5469
6618
  vpc?: boolean | undefined;
5470
- log?: boolean | Duration | undefined;
6619
+ log?: boolean | Duration | {
6620
+ retention: Duration;
6621
+ format?: "text" | "json" | undefined;
6622
+ system?: "debug" | "info" | "warn" | undefined;
6623
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6624
+ } | undefined;
5471
6625
  timeout?: Duration | undefined;
5472
6626
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5473
6627
  memorySize?: Size | undefined;
@@ -5496,7 +6650,12 @@ declare const StackSchema: z.ZodObject<{
5496
6650
  minify?: boolean | undefined;
5497
6651
  warm?: number | undefined;
5498
6652
  vpc?: boolean | undefined;
5499
- log?: string | boolean | undefined;
6653
+ log?: string | boolean | {
6654
+ retention: string;
6655
+ format?: "text" | "json" | undefined;
6656
+ system?: "debug" | "info" | "warn" | undefined;
6657
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6658
+ } | undefined;
5500
6659
  timeout?: string | undefined;
5501
6660
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5502
6661
  memorySize?: string | undefined;
@@ -5521,7 +6680,12 @@ declare const StackSchema: z.ZodObject<{
5521
6680
  minify?: boolean | undefined;
5522
6681
  warm?: number | undefined;
5523
6682
  vpc?: boolean | undefined;
5524
- log?: string | boolean | undefined;
6683
+ log?: string | boolean | {
6684
+ retention: string;
6685
+ format?: "text" | "json" | undefined;
6686
+ system?: "debug" | "info" | "warn" | undefined;
6687
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6688
+ } | undefined;
5525
6689
  timeout?: string | undefined;
5526
6690
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5527
6691
  memorySize?: string | undefined;
@@ -5545,7 +6709,12 @@ declare const StackSchema: z.ZodObject<{
5545
6709
  minify?: boolean | undefined;
5546
6710
  warm?: number | undefined;
5547
6711
  vpc?: boolean | undefined;
5548
- log?: string | boolean | undefined;
6712
+ log?: string | boolean | {
6713
+ retention: string;
6714
+ format?: "text" | "json" | undefined;
6715
+ system?: "debug" | "info" | "warn" | undefined;
6716
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6717
+ } | undefined;
5549
6718
  timeout?: string | undefined;
5550
6719
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5551
6720
  memorySize?: string | undefined;
@@ -5573,7 +6742,22 @@ declare const StackSchema: z.ZodObject<{
5573
6742
  minify: z.ZodOptional<z.ZodBoolean>;
5574
6743
  warm: z.ZodOptional<z.ZodNumber>;
5575
6744
  vpc: z.ZodOptional<z.ZodBoolean>;
5576
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6745
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6746
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6747
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6748
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6749
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6750
+ }, "strip", z.ZodTypeAny, {
6751
+ retention: Duration;
6752
+ format?: "text" | "json" | undefined;
6753
+ system?: "debug" | "info" | "warn" | undefined;
6754
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6755
+ }, {
6756
+ retention: string;
6757
+ format?: "text" | "json" | undefined;
6758
+ system?: "debug" | "info" | "warn" | undefined;
6759
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6760
+ }>]>>;
5577
6761
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5578
6762
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5579
6763
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5613,7 +6797,12 @@ declare const StackSchema: z.ZodObject<{
5613
6797
  minify?: boolean | undefined;
5614
6798
  warm?: number | undefined;
5615
6799
  vpc?: boolean | undefined;
5616
- log?: boolean | Duration | undefined;
6800
+ log?: boolean | Duration | {
6801
+ retention: Duration;
6802
+ format?: "text" | "json" | undefined;
6803
+ system?: "debug" | "info" | "warn" | undefined;
6804
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6805
+ } | undefined;
5617
6806
  timeout?: Duration | undefined;
5618
6807
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5619
6808
  memorySize?: Size | undefined;
@@ -5637,7 +6826,12 @@ declare const StackSchema: z.ZodObject<{
5637
6826
  minify?: boolean | undefined;
5638
6827
  warm?: number | undefined;
5639
6828
  vpc?: boolean | undefined;
5640
- log?: string | boolean | undefined;
6829
+ log?: string | boolean | {
6830
+ retention: string;
6831
+ format?: "text" | "json" | undefined;
6832
+ system?: "debug" | "info" | "warn" | undefined;
6833
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6834
+ } | undefined;
5641
6835
  timeout?: string | undefined;
5642
6836
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5643
6837
  memorySize?: string | undefined;
@@ -5662,7 +6856,22 @@ declare const StackSchema: z.ZodObject<{
5662
6856
  minify: z.ZodOptional<z.ZodBoolean>;
5663
6857
  warm: z.ZodOptional<z.ZodNumber>;
5664
6858
  vpc: z.ZodOptional<z.ZodBoolean>;
5665
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6859
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6860
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6861
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6862
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6863
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6864
+ }, "strip", z.ZodTypeAny, {
6865
+ retention: Duration;
6866
+ format?: "text" | "json" | undefined;
6867
+ system?: "debug" | "info" | "warn" | undefined;
6868
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6869
+ }, {
6870
+ retention: string;
6871
+ format?: "text" | "json" | undefined;
6872
+ system?: "debug" | "info" | "warn" | undefined;
6873
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6874
+ }>]>>;
5666
6875
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5667
6876
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5668
6877
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5702,7 +6911,12 @@ declare const StackSchema: z.ZodObject<{
5702
6911
  minify?: boolean | undefined;
5703
6912
  warm?: number | undefined;
5704
6913
  vpc?: boolean | undefined;
5705
- log?: boolean | Duration | undefined;
6914
+ log?: boolean | Duration | {
6915
+ retention: Duration;
6916
+ format?: "text" | "json" | undefined;
6917
+ system?: "debug" | "info" | "warn" | undefined;
6918
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6919
+ } | undefined;
5706
6920
  timeout?: Duration | undefined;
5707
6921
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5708
6922
  memorySize?: Size | undefined;
@@ -5726,7 +6940,12 @@ declare const StackSchema: z.ZodObject<{
5726
6940
  minify?: boolean | undefined;
5727
6941
  warm?: number | undefined;
5728
6942
  vpc?: boolean | undefined;
5729
- log?: string | boolean | undefined;
6943
+ log?: string | boolean | {
6944
+ retention: string;
6945
+ format?: "text" | "json" | undefined;
6946
+ system?: "debug" | "info" | "warn" | undefined;
6947
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6948
+ } | undefined;
5730
6949
  timeout?: string | undefined;
5731
6950
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5732
6951
  memorySize?: string | undefined;
@@ -5747,13 +6966,29 @@ declare const StackSchema: z.ZodObject<{
5747
6966
  }>]>>>>;
5748
6967
  configs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5749
6968
  crons: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
6969
+ enabled: z.ZodDefault<z.ZodBoolean>;
5750
6970
  consumer: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodObject<{
5751
6971
  file: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
5752
6972
  handler: z.ZodOptional<z.ZodString>;
5753
6973
  minify: z.ZodOptional<z.ZodBoolean>;
5754
6974
  warm: z.ZodOptional<z.ZodNumber>;
5755
6975
  vpc: z.ZodOptional<z.ZodBoolean>;
5756
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6976
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6977
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6978
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6979
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6980
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6981
+ }, "strip", z.ZodTypeAny, {
6982
+ retention: Duration;
6983
+ format?: "text" | "json" | undefined;
6984
+ system?: "debug" | "info" | "warn" | undefined;
6985
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6986
+ }, {
6987
+ retention: string;
6988
+ format?: "text" | "json" | undefined;
6989
+ system?: "debug" | "info" | "warn" | undefined;
6990
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6991
+ }>]>>;
5757
6992
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5758
6993
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5759
6994
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5793,7 +7028,12 @@ declare const StackSchema: z.ZodObject<{
5793
7028
  minify?: boolean | undefined;
5794
7029
  warm?: number | undefined;
5795
7030
  vpc?: boolean | undefined;
5796
- log?: boolean | Duration | undefined;
7031
+ log?: boolean | Duration | {
7032
+ retention: Duration;
7033
+ format?: "text" | "json" | undefined;
7034
+ system?: "debug" | "info" | "warn" | undefined;
7035
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7036
+ } | undefined;
5797
7037
  timeout?: Duration | undefined;
5798
7038
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5799
7039
  memorySize?: Size | undefined;
@@ -5817,7 +7057,12 @@ declare const StackSchema: z.ZodObject<{
5817
7057
  minify?: boolean | undefined;
5818
7058
  warm?: number | undefined;
5819
7059
  vpc?: boolean | undefined;
5820
- log?: string | boolean | undefined;
7060
+ log?: string | boolean | {
7061
+ retention: string;
7062
+ format?: "text" | "json" | undefined;
7063
+ system?: "debug" | "info" | "warn" | undefined;
7064
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7065
+ } | undefined;
5821
7066
  timeout?: string | undefined;
5822
7067
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5823
7068
  memorySize?: string | undefined;
@@ -5845,7 +7090,12 @@ declare const StackSchema: z.ZodObject<{
5845
7090
  minify?: boolean | undefined;
5846
7091
  warm?: number | undefined;
5847
7092
  vpc?: boolean | undefined;
5848
- log?: boolean | Duration | undefined;
7093
+ log?: boolean | Duration | {
7094
+ retention: Duration;
7095
+ format?: "text" | "json" | undefined;
7096
+ system?: "debug" | "info" | "warn" | undefined;
7097
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7098
+ } | undefined;
5849
7099
  timeout?: Duration | undefined;
5850
7100
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5851
7101
  memorySize?: Size | undefined;
@@ -5869,7 +7119,12 @@ declare const StackSchema: z.ZodObject<{
5869
7119
  minify?: boolean | undefined;
5870
7120
  warm?: number | undefined;
5871
7121
  vpc?: boolean | undefined;
5872
- log?: boolean | Duration | undefined;
7122
+ log?: boolean | Duration | {
7123
+ retention: Duration;
7124
+ format?: "text" | "json" | undefined;
7125
+ system?: "debug" | "info" | "warn" | undefined;
7126
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7127
+ } | undefined;
5873
7128
  timeout?: Duration | undefined;
5874
7129
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5875
7130
  memorySize?: Size | undefined;
@@ -5888,6 +7143,7 @@ declare const StackSchema: z.ZodObject<{
5888
7143
  resources: string[];
5889
7144
  }[] | undefined;
5890
7145
  } | undefined);
7146
+ enabled: boolean;
5891
7147
  schedule: string;
5892
7148
  payload?: unknown;
5893
7149
  }, {
@@ -5897,7 +7153,12 @@ declare const StackSchema: z.ZodObject<{
5897
7153
  minify?: boolean | undefined;
5898
7154
  warm?: number | undefined;
5899
7155
  vpc?: boolean | undefined;
5900
- log?: string | boolean | undefined;
7156
+ log?: string | boolean | {
7157
+ retention: string;
7158
+ format?: "text" | "json" | undefined;
7159
+ system?: "debug" | "info" | "warn" | undefined;
7160
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7161
+ } | undefined;
5901
7162
  timeout?: string | undefined;
5902
7163
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5903
7164
  memorySize?: string | undefined;
@@ -5921,7 +7182,12 @@ declare const StackSchema: z.ZodObject<{
5921
7182
  minify?: boolean | undefined;
5922
7183
  warm?: number | undefined;
5923
7184
  vpc?: boolean | undefined;
5924
- log?: string | boolean | undefined;
7185
+ log?: string | boolean | {
7186
+ retention: string;
7187
+ format?: "text" | "json" | undefined;
7188
+ system?: "debug" | "info" | "warn" | undefined;
7189
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7190
+ } | undefined;
5925
7191
  timeout?: string | undefined;
5926
7192
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5927
7193
  memorySize?: string | undefined;
@@ -5941,6 +7207,7 @@ declare const StackSchema: z.ZodObject<{
5941
7207
  }[] | undefined;
5942
7208
  } | undefined);
5943
7209
  schedule: (`${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `${string} ${string} ${string} ${string} ${string} ${string}`) & (`${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `${string} ${string} ${string} ${string} ${string} ${string}` | undefined);
7210
+ enabled?: boolean | undefined;
5944
7211
  payload?: unknown;
5945
7212
  }>>>;
5946
7213
  caches: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
@@ -5972,7 +7239,22 @@ declare const StackSchema: z.ZodObject<{
5972
7239
  minify: z.ZodOptional<z.ZodBoolean>;
5973
7240
  warm: z.ZodOptional<z.ZodNumber>;
5974
7241
  vpc: z.ZodOptional<z.ZodBoolean>;
5975
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7242
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7243
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7244
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7245
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7246
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7247
+ }, "strip", z.ZodTypeAny, {
7248
+ retention: Duration;
7249
+ format?: "text" | "json" | undefined;
7250
+ system?: "debug" | "info" | "warn" | undefined;
7251
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7252
+ }, {
7253
+ retention: string;
7254
+ format?: "text" | "json" | undefined;
7255
+ system?: "debug" | "info" | "warn" | undefined;
7256
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7257
+ }>]>>;
5976
7258
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5977
7259
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5978
7260
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6012,7 +7294,12 @@ declare const StackSchema: z.ZodObject<{
6012
7294
  minify?: boolean | undefined;
6013
7295
  warm?: number | undefined;
6014
7296
  vpc?: boolean | undefined;
6015
- log?: boolean | Duration | undefined;
7297
+ log?: boolean | Duration | {
7298
+ retention: Duration;
7299
+ format?: "text" | "json" | undefined;
7300
+ system?: "debug" | "info" | "warn" | undefined;
7301
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7302
+ } | undefined;
6016
7303
  timeout?: Duration | undefined;
6017
7304
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6018
7305
  memorySize?: Size | undefined;
@@ -6036,7 +7323,12 @@ declare const StackSchema: z.ZodObject<{
6036
7323
  minify?: boolean | undefined;
6037
7324
  warm?: number | undefined;
6038
7325
  vpc?: boolean | undefined;
6039
- log?: string | boolean | undefined;
7326
+ log?: string | boolean | {
7327
+ retention: string;
7328
+ format?: "text" | "json" | undefined;
7329
+ system?: "debug" | "info" | "warn" | undefined;
7330
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7331
+ } | undefined;
6040
7332
  timeout?: string | undefined;
6041
7333
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6042
7334
  memorySize?: string | undefined;
@@ -6061,7 +7353,22 @@ declare const StackSchema: z.ZodObject<{
6061
7353
  minify: z.ZodOptional<z.ZodBoolean>;
6062
7354
  warm: z.ZodOptional<z.ZodNumber>;
6063
7355
  vpc: z.ZodOptional<z.ZodBoolean>;
6064
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7356
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7357
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7358
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7359
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7360
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7361
+ }, "strip", z.ZodTypeAny, {
7362
+ retention: Duration;
7363
+ format?: "text" | "json" | undefined;
7364
+ system?: "debug" | "info" | "warn" | undefined;
7365
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7366
+ }, {
7367
+ retention: string;
7368
+ format?: "text" | "json" | undefined;
7369
+ system?: "debug" | "info" | "warn" | undefined;
7370
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7371
+ }>]>>;
6065
7372
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6066
7373
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6067
7374
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6101,7 +7408,12 @@ declare const StackSchema: z.ZodObject<{
6101
7408
  minify?: boolean | undefined;
6102
7409
  warm?: number | undefined;
6103
7410
  vpc?: boolean | undefined;
6104
- log?: boolean | Duration | undefined;
7411
+ log?: boolean | Duration | {
7412
+ retention: Duration;
7413
+ format?: "text" | "json" | undefined;
7414
+ system?: "debug" | "info" | "warn" | undefined;
7415
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7416
+ } | undefined;
6105
7417
  timeout?: Duration | undefined;
6106
7418
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6107
7419
  memorySize?: Size | undefined;
@@ -6125,7 +7437,12 @@ declare const StackSchema: z.ZodObject<{
6125
7437
  minify?: boolean | undefined;
6126
7438
  warm?: number | undefined;
6127
7439
  vpc?: boolean | undefined;
6128
- log?: string | boolean | undefined;
7440
+ log?: string | boolean | {
7441
+ retention: string;
7442
+ format?: "text" | "json" | undefined;
7443
+ system?: "debug" | "info" | "warn" | undefined;
7444
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7445
+ } | undefined;
6129
7446
  timeout?: string | undefined;
6130
7447
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6131
7448
  memorySize?: string | undefined;
@@ -6159,7 +7476,22 @@ declare const StackSchema: z.ZodObject<{
6159
7476
  minify: z.ZodOptional<z.ZodBoolean>;
6160
7477
  warm: z.ZodOptional<z.ZodNumber>;
6161
7478
  vpc: z.ZodOptional<z.ZodBoolean>;
6162
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7479
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7480
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7481
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7482
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7483
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7484
+ }, "strip", z.ZodTypeAny, {
7485
+ retention: Duration;
7486
+ format?: "text" | "json" | undefined;
7487
+ system?: "debug" | "info" | "warn" | undefined;
7488
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7489
+ }, {
7490
+ retention: string;
7491
+ format?: "text" | "json" | undefined;
7492
+ system?: "debug" | "info" | "warn" | undefined;
7493
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7494
+ }>]>>;
6163
7495
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6164
7496
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6165
7497
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6199,7 +7531,12 @@ declare const StackSchema: z.ZodObject<{
6199
7531
  minify?: boolean | undefined;
6200
7532
  warm?: number | undefined;
6201
7533
  vpc?: boolean | undefined;
6202
- log?: boolean | Duration | undefined;
7534
+ log?: boolean | Duration | {
7535
+ retention: Duration;
7536
+ format?: "text" | "json" | undefined;
7537
+ system?: "debug" | "info" | "warn" | undefined;
7538
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7539
+ } | undefined;
6203
7540
  timeout?: Duration | undefined;
6204
7541
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6205
7542
  memorySize?: Size | undefined;
@@ -6223,7 +7560,12 @@ declare const StackSchema: z.ZodObject<{
6223
7560
  minify?: boolean | undefined;
6224
7561
  warm?: number | undefined;
6225
7562
  vpc?: boolean | undefined;
6226
- log?: string | boolean | undefined;
7563
+ log?: string | boolean | {
7564
+ retention: string;
7565
+ format?: "text" | "json" | undefined;
7566
+ system?: "debug" | "info" | "warn" | undefined;
7567
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7568
+ } | undefined;
6227
7569
  timeout?: string | undefined;
6228
7570
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6229
7571
  memorySize?: string | undefined;
@@ -6250,7 +7592,12 @@ declare const StackSchema: z.ZodObject<{
6250
7592
  minify?: boolean | undefined;
6251
7593
  warm?: number | undefined;
6252
7594
  vpc?: boolean | undefined;
6253
- log?: boolean | Duration | undefined;
7595
+ log?: boolean | Duration | {
7596
+ retention: Duration;
7597
+ format?: "text" | "json" | undefined;
7598
+ system?: "debug" | "info" | "warn" | undefined;
7599
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7600
+ } | undefined;
6254
7601
  timeout?: Duration | undefined;
6255
7602
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6256
7603
  memorySize?: Size | undefined;
@@ -6274,7 +7621,12 @@ declare const StackSchema: z.ZodObject<{
6274
7621
  minify?: boolean | undefined;
6275
7622
  warm?: number | undefined;
6276
7623
  vpc?: boolean | undefined;
6277
- log?: boolean | Duration | undefined;
7624
+ log?: boolean | Duration | {
7625
+ retention: Duration;
7626
+ format?: "text" | "json" | undefined;
7627
+ system?: "debug" | "info" | "warn" | undefined;
7628
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7629
+ } | undefined;
6278
7630
  timeout?: Duration | undefined;
6279
7631
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6280
7632
  memorySize?: Size | undefined;
@@ -6301,7 +7653,12 @@ declare const StackSchema: z.ZodObject<{
6301
7653
  minify?: boolean | undefined;
6302
7654
  warm?: number | undefined;
6303
7655
  vpc?: boolean | undefined;
6304
- log?: string | boolean | undefined;
7656
+ log?: string | boolean | {
7657
+ retention: string;
7658
+ format?: "text" | "json" | undefined;
7659
+ system?: "debug" | "info" | "warn" | undefined;
7660
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7661
+ } | undefined;
6305
7662
  timeout?: string | undefined;
6306
7663
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6307
7664
  memorySize?: string | undefined;
@@ -6325,7 +7682,12 @@ declare const StackSchema: z.ZodObject<{
6325
7682
  minify?: boolean | undefined;
6326
7683
  warm?: number | undefined;
6327
7684
  vpc?: boolean | undefined;
6328
- log?: string | boolean | undefined;
7685
+ log?: string | boolean | {
7686
+ retention: string;
7687
+ format?: "text" | "json" | undefined;
7688
+ system?: "debug" | "info" | "warn" | undefined;
7689
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7690
+ } | undefined;
6329
7691
  timeout?: string | undefined;
6330
7692
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6331
7693
  memorySize?: string | undefined;
@@ -6373,7 +7735,12 @@ declare const StackSchema: z.ZodObject<{
6373
7735
  minify?: boolean | undefined;
6374
7736
  warm?: number | undefined;
6375
7737
  vpc?: boolean | undefined;
6376
- log?: boolean | Duration | undefined;
7738
+ log?: boolean | Duration | {
7739
+ retention: Duration;
7740
+ format?: "text" | "json" | undefined;
7741
+ system?: "debug" | "info" | "warn" | undefined;
7742
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7743
+ } | undefined;
6377
7744
  timeout?: Duration | undefined;
6378
7745
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6379
7746
  memorySize?: Size | undefined;
@@ -6397,7 +7764,12 @@ declare const StackSchema: z.ZodObject<{
6397
7764
  minify?: boolean | undefined;
6398
7765
  warm?: number | undefined;
6399
7766
  vpc?: boolean | undefined;
6400
- log?: boolean | Duration | undefined;
7767
+ log?: boolean | Duration | {
7768
+ retention: Duration;
7769
+ format?: "text" | "json" | undefined;
7770
+ system?: "debug" | "info" | "warn" | undefined;
7771
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7772
+ } | undefined;
6401
7773
  timeout?: Duration | undefined;
6402
7774
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6403
7775
  memorySize?: Size | undefined;
@@ -6437,7 +7809,12 @@ declare const StackSchema: z.ZodObject<{
6437
7809
  minify?: boolean | undefined;
6438
7810
  warm?: number | undefined;
6439
7811
  vpc?: boolean | undefined;
6440
- log?: string | boolean | undefined;
7812
+ log?: string | boolean | {
7813
+ retention: string;
7814
+ format?: "text" | "json" | undefined;
7815
+ system?: "debug" | "info" | "warn" | undefined;
7816
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7817
+ } | undefined;
6441
7818
  timeout?: string | undefined;
6442
7819
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6443
7820
  memorySize?: string | undefined;
@@ -6461,7 +7838,12 @@ declare const StackSchema: z.ZodObject<{
6461
7838
  minify?: boolean | undefined;
6462
7839
  warm?: number | undefined;
6463
7840
  vpc?: boolean | undefined;
6464
- log?: string | boolean | undefined;
7841
+ log?: string | boolean | {
7842
+ retention: string;
7843
+ format?: "text" | "json" | undefined;
7844
+ system?: "debug" | "info" | "warn" | undefined;
7845
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7846
+ } | undefined;
6465
7847
  timeout?: string | undefined;
6466
7848
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6467
7849
  memorySize?: string | undefined;
@@ -6495,7 +7877,22 @@ declare const StackSchema: z.ZodObject<{
6495
7877
  minify: z.ZodOptional<z.ZodBoolean>;
6496
7878
  warm: z.ZodOptional<z.ZodNumber>;
6497
7879
  vpc: z.ZodOptional<z.ZodBoolean>;
6498
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7880
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7881
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7882
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7883
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7884
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7885
+ }, "strip", z.ZodTypeAny, {
7886
+ retention: Duration;
7887
+ format?: "text" | "json" | undefined;
7888
+ system?: "debug" | "info" | "warn" | undefined;
7889
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7890
+ }, {
7891
+ retention: string;
7892
+ format?: "text" | "json" | undefined;
7893
+ system?: "debug" | "info" | "warn" | undefined;
7894
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7895
+ }>]>>;
6499
7896
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6500
7897
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6501
7898
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6535,7 +7932,12 @@ declare const StackSchema: z.ZodObject<{
6535
7932
  minify?: boolean | undefined;
6536
7933
  warm?: number | undefined;
6537
7934
  vpc?: boolean | undefined;
6538
- log?: boolean | Duration | undefined;
7935
+ log?: boolean | Duration | {
7936
+ retention: Duration;
7937
+ format?: "text" | "json" | undefined;
7938
+ system?: "debug" | "info" | "warn" | undefined;
7939
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7940
+ } | undefined;
6539
7941
  timeout?: Duration | undefined;
6540
7942
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6541
7943
  memorySize?: Size | undefined;
@@ -6559,7 +7961,12 @@ declare const StackSchema: z.ZodObject<{
6559
7961
  minify?: boolean | undefined;
6560
7962
  warm?: number | undefined;
6561
7963
  vpc?: boolean | undefined;
6562
- log?: string | boolean | undefined;
7964
+ log?: string | boolean | {
7965
+ retention: string;
7966
+ format?: "text" | "json" | undefined;
7967
+ system?: "debug" | "info" | "warn" | undefined;
7968
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7969
+ } | undefined;
6563
7970
  timeout?: string | undefined;
6564
7971
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6565
7972
  memorySize?: string | undefined;
@@ -6593,7 +8000,12 @@ declare const StackSchema: z.ZodObject<{
6593
8000
  minify?: boolean | undefined;
6594
8001
  warm?: number | undefined;
6595
8002
  vpc?: boolean | undefined;
6596
- log?: boolean | Duration | undefined;
8003
+ log?: boolean | Duration | {
8004
+ retention: Duration;
8005
+ format?: "text" | "json" | undefined;
8006
+ system?: "debug" | "info" | "warn" | undefined;
8007
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8008
+ } | undefined;
6597
8009
  timeout?: Duration | undefined;
6598
8010
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6599
8011
  memorySize?: Size | undefined;
@@ -6617,7 +8029,12 @@ declare const StackSchema: z.ZodObject<{
6617
8029
  minify?: boolean | undefined;
6618
8030
  warm?: number | undefined;
6619
8031
  vpc?: boolean | undefined;
6620
- log?: boolean | Duration | undefined;
8032
+ log?: boolean | Duration | {
8033
+ retention: Duration;
8034
+ format?: "text" | "json" | undefined;
8035
+ system?: "debug" | "info" | "warn" | undefined;
8036
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8037
+ } | undefined;
6621
8038
  timeout?: Duration | undefined;
6622
8039
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6623
8040
  memorySize?: Size | undefined;
@@ -6651,7 +8068,12 @@ declare const StackSchema: z.ZodObject<{
6651
8068
  minify?: boolean | undefined;
6652
8069
  warm?: number | undefined;
6653
8070
  vpc?: boolean | undefined;
6654
- log?: string | boolean | undefined;
8071
+ log?: string | boolean | {
8072
+ retention: string;
8073
+ format?: "text" | "json" | undefined;
8074
+ system?: "debug" | "info" | "warn" | undefined;
8075
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8076
+ } | undefined;
6655
8077
  timeout?: string | undefined;
6656
8078
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6657
8079
  memorySize?: string | undefined;
@@ -6675,7 +8097,12 @@ declare const StackSchema: z.ZodObject<{
6675
8097
  minify?: boolean | undefined;
6676
8098
  warm?: number | undefined;
6677
8099
  vpc?: boolean | undefined;
6678
- log?: string | boolean | undefined;
8100
+ log?: string | boolean | {
8101
+ retention: string;
8102
+ format?: "text" | "json" | undefined;
8103
+ system?: "debug" | "info" | "warn" | undefined;
8104
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8105
+ } | undefined;
6679
8106
  timeout?: string | undefined;
6680
8107
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6681
8108
  memorySize?: string | undefined;
@@ -6712,7 +8139,22 @@ declare const StackSchema: z.ZodObject<{
6712
8139
  minify: z.ZodOptional<z.ZodBoolean>;
6713
8140
  warm: z.ZodOptional<z.ZodNumber>;
6714
8141
  vpc: z.ZodOptional<z.ZodBoolean>;
6715
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
8142
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
8143
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
8144
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
8145
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
8146
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
8147
+ }, "strip", z.ZodTypeAny, {
8148
+ retention: Duration;
8149
+ format?: "text" | "json" | undefined;
8150
+ system?: "debug" | "info" | "warn" | undefined;
8151
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8152
+ }, {
8153
+ retention: string;
8154
+ format?: "text" | "json" | undefined;
8155
+ system?: "debug" | "info" | "warn" | undefined;
8156
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8157
+ }>]>>;
6716
8158
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6717
8159
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6718
8160
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6752,7 +8194,12 @@ declare const StackSchema: z.ZodObject<{
6752
8194
  minify?: boolean | undefined;
6753
8195
  warm?: number | undefined;
6754
8196
  vpc?: boolean | undefined;
6755
- log?: boolean | Duration | undefined;
8197
+ log?: boolean | Duration | {
8198
+ retention: Duration;
8199
+ format?: "text" | "json" | undefined;
8200
+ system?: "debug" | "info" | "warn" | undefined;
8201
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8202
+ } | undefined;
6756
8203
  timeout?: Duration | undefined;
6757
8204
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6758
8205
  memorySize?: Size | undefined;
@@ -6776,7 +8223,12 @@ declare const StackSchema: z.ZodObject<{
6776
8223
  minify?: boolean | undefined;
6777
8224
  warm?: number | undefined;
6778
8225
  vpc?: boolean | undefined;
6779
- log?: string | boolean | undefined;
8226
+ log?: string | boolean | {
8227
+ retention: string;
8228
+ format?: "text" | "json" | undefined;
8229
+ system?: "debug" | "info" | "warn" | undefined;
8230
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8231
+ } | undefined;
6780
8232
  timeout?: string | undefined;
6781
8233
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6782
8234
  memorySize?: string | undefined;
@@ -6802,7 +8254,12 @@ declare const StackSchema: z.ZodObject<{
6802
8254
  minify?: boolean | undefined;
6803
8255
  warm?: number | undefined;
6804
8256
  vpc?: boolean | undefined;
6805
- log?: boolean | Duration | undefined;
8257
+ log?: boolean | Duration | {
8258
+ retention: Duration;
8259
+ format?: "text" | "json" | undefined;
8260
+ system?: "debug" | "info" | "warn" | undefined;
8261
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8262
+ } | undefined;
6806
8263
  timeout?: Duration | undefined;
6807
8264
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6808
8265
  memorySize?: Size | undefined;
@@ -6826,7 +8283,12 @@ declare const StackSchema: z.ZodObject<{
6826
8283
  minify?: boolean | undefined;
6827
8284
  warm?: number | undefined;
6828
8285
  vpc?: boolean | undefined;
6829
- log?: boolean | Duration | undefined;
8286
+ log?: boolean | Duration | {
8287
+ retention: Duration;
8288
+ format?: "text" | "json" | undefined;
8289
+ system?: "debug" | "info" | "warn" | undefined;
8290
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8291
+ } | undefined;
6830
8292
  timeout?: Duration | undefined;
6831
8293
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6832
8294
  memorySize?: Size | undefined;
@@ -6854,7 +8316,12 @@ declare const StackSchema: z.ZodObject<{
6854
8316
  minify?: boolean | undefined;
6855
8317
  warm?: number | undefined;
6856
8318
  vpc?: boolean | undefined;
6857
- log?: string | boolean | undefined;
8319
+ log?: string | boolean | {
8320
+ retention: string;
8321
+ format?: "text" | "json" | undefined;
8322
+ system?: "debug" | "info" | "warn" | undefined;
8323
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8324
+ } | undefined;
6858
8325
  timeout?: string | undefined;
6859
8326
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6860
8327
  memorySize?: string | undefined;
@@ -6878,7 +8345,12 @@ declare const StackSchema: z.ZodObject<{
6878
8345
  minify?: boolean | undefined;
6879
8346
  warm?: number | undefined;
6880
8347
  vpc?: boolean | undefined;
6881
- log?: string | boolean | undefined;
8348
+ log?: string | boolean | {
8349
+ retention: string;
8350
+ format?: "text" | "json" | undefined;
8351
+ system?: "debug" | "info" | "warn" | undefined;
8352
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8353
+ } | undefined;
6882
8354
  timeout?: string | undefined;
6883
8355
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6884
8356
  memorySize?: string | undefined;
@@ -6911,7 +8383,22 @@ declare const StackSchema: z.ZodObject<{
6911
8383
  minify: z.ZodOptional<z.ZodBoolean>;
6912
8384
  warm: z.ZodOptional<z.ZodNumber>;
6913
8385
  vpc: z.ZodOptional<z.ZodBoolean>;
6914
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
8386
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
8387
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
8388
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
8389
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
8390
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
8391
+ }, "strip", z.ZodTypeAny, {
8392
+ retention: Duration;
8393
+ format?: "text" | "json" | undefined;
8394
+ system?: "debug" | "info" | "warn" | undefined;
8395
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8396
+ }, {
8397
+ retention: string;
8398
+ format?: "text" | "json" | undefined;
8399
+ system?: "debug" | "info" | "warn" | undefined;
8400
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8401
+ }>]>>;
6915
8402
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6916
8403
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6917
8404
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6951,7 +8438,12 @@ declare const StackSchema: z.ZodObject<{
6951
8438
  minify?: boolean | undefined;
6952
8439
  warm?: number | undefined;
6953
8440
  vpc?: boolean | undefined;
6954
- log?: boolean | Duration | undefined;
8441
+ log?: boolean | Duration | {
8442
+ retention: Duration;
8443
+ format?: "text" | "json" | undefined;
8444
+ system?: "debug" | "info" | "warn" | undefined;
8445
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8446
+ } | undefined;
6955
8447
  timeout?: Duration | undefined;
6956
8448
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6957
8449
  memorySize?: Size | undefined;
@@ -6975,7 +8467,12 @@ declare const StackSchema: z.ZodObject<{
6975
8467
  minify?: boolean | undefined;
6976
8468
  warm?: number | undefined;
6977
8469
  vpc?: boolean | undefined;
6978
- log?: string | boolean | undefined;
8470
+ log?: string | boolean | {
8471
+ retention: string;
8472
+ format?: "text" | "json" | undefined;
8473
+ system?: "debug" | "info" | "warn" | undefined;
8474
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8475
+ } | undefined;
6979
8476
  timeout?: string | undefined;
6980
8477
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6981
8478
  memorySize?: string | undefined;
@@ -7300,7 +8797,12 @@ declare const StackSchema: z.ZodObject<{
7300
8797
  minify?: boolean | undefined;
7301
8798
  warm?: number | undefined;
7302
8799
  vpc?: boolean | undefined;
7303
- log?: boolean | Duration | undefined;
8800
+ log?: boolean | Duration | {
8801
+ retention: Duration;
8802
+ format?: "text" | "json" | undefined;
8803
+ system?: "debug" | "info" | "warn" | undefined;
8804
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8805
+ } | undefined;
7304
8806
  timeout?: Duration | undefined;
7305
8807
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7306
8808
  memorySize?: Size | undefined;
@@ -7401,7 +8903,12 @@ declare const StackSchema: z.ZodObject<{
7401
8903
  minify?: boolean | undefined;
7402
8904
  warm?: number | undefined;
7403
8905
  vpc?: boolean | undefined;
7404
- log?: string | boolean | undefined;
8906
+ log?: string | boolean | {
8907
+ retention: string;
8908
+ format?: "text" | "json" | undefined;
8909
+ system?: "debug" | "info" | "warn" | undefined;
8910
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8911
+ } | undefined;
7405
8912
  timeout?: string | undefined;
7406
8913
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7407
8914
  memorySize?: string | undefined;
@@ -7504,7 +9011,12 @@ declare const StackSchema: z.ZodObject<{
7504
9011
  minify?: boolean | undefined;
7505
9012
  warm?: number | undefined;
7506
9013
  vpc?: boolean | undefined;
7507
- log?: boolean | Duration | undefined;
9014
+ log?: boolean | Duration | {
9015
+ retention: Duration;
9016
+ format?: "text" | "json" | undefined;
9017
+ system?: "debug" | "info" | "warn" | undefined;
9018
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9019
+ } | undefined;
7508
9020
  timeout?: Duration | undefined;
7509
9021
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7510
9022
  memorySize?: Size | undefined;
@@ -7524,7 +9036,6 @@ declare const StackSchema: z.ZodObject<{
7524
9036
  }[] | undefined;
7525
9037
  } | undefined;
7526
9038
  auth?: Record<string, {
7527
- access: boolean;
7528
9039
  triggers?: {
7529
9040
  beforeToken?: string | {
7530
9041
  file: string;
@@ -7532,7 +9043,12 @@ declare const StackSchema: z.ZodObject<{
7532
9043
  minify?: boolean | undefined;
7533
9044
  warm?: number | undefined;
7534
9045
  vpc?: boolean | undefined;
7535
- log?: boolean | Duration | undefined;
9046
+ log?: boolean | Duration | {
9047
+ retention: Duration;
9048
+ format?: "text" | "json" | undefined;
9049
+ system?: "debug" | "info" | "warn" | undefined;
9050
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9051
+ } | undefined;
7536
9052
  timeout?: Duration | undefined;
7537
9053
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7538
9054
  memorySize?: Size | undefined;
@@ -7557,7 +9073,12 @@ declare const StackSchema: z.ZodObject<{
7557
9073
  minify?: boolean | undefined;
7558
9074
  warm?: number | undefined;
7559
9075
  vpc?: boolean | undefined;
7560
- log?: boolean | Duration | undefined;
9076
+ log?: boolean | Duration | {
9077
+ retention: Duration;
9078
+ format?: "text" | "json" | undefined;
9079
+ system?: "debug" | "info" | "warn" | undefined;
9080
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9081
+ } | undefined;
7561
9082
  timeout?: Duration | undefined;
7562
9083
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7563
9084
  memorySize?: Size | undefined;
@@ -7582,7 +9103,12 @@ declare const StackSchema: z.ZodObject<{
7582
9103
  minify?: boolean | undefined;
7583
9104
  warm?: number | undefined;
7584
9105
  vpc?: boolean | undefined;
7585
- log?: boolean | Duration | undefined;
9106
+ log?: boolean | Duration | {
9107
+ retention: Duration;
9108
+ format?: "text" | "json" | undefined;
9109
+ system?: "debug" | "info" | "warn" | undefined;
9110
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9111
+ } | undefined;
7586
9112
  timeout?: Duration | undefined;
7587
9113
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7588
9114
  memorySize?: Size | undefined;
@@ -7607,7 +9133,12 @@ declare const StackSchema: z.ZodObject<{
7607
9133
  minify?: boolean | undefined;
7608
9134
  warm?: number | undefined;
7609
9135
  vpc?: boolean | undefined;
7610
- log?: boolean | Duration | undefined;
9136
+ log?: boolean | Duration | {
9137
+ retention: Duration;
9138
+ format?: "text" | "json" | undefined;
9139
+ system?: "debug" | "info" | "warn" | undefined;
9140
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9141
+ } | undefined;
7611
9142
  timeout?: Duration | undefined;
7612
9143
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7613
9144
  memorySize?: Size | undefined;
@@ -7632,7 +9163,12 @@ declare const StackSchema: z.ZodObject<{
7632
9163
  minify?: boolean | undefined;
7633
9164
  warm?: number | undefined;
7634
9165
  vpc?: boolean | undefined;
7635
- log?: boolean | Duration | undefined;
9166
+ log?: boolean | Duration | {
9167
+ retention: Duration;
9168
+ format?: "text" | "json" | undefined;
9169
+ system?: "debug" | "info" | "warn" | undefined;
9170
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9171
+ } | undefined;
7636
9172
  timeout?: Duration | undefined;
7637
9173
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7638
9174
  memorySize?: Size | undefined;
@@ -7657,7 +9193,12 @@ declare const StackSchema: z.ZodObject<{
7657
9193
  minify?: boolean | undefined;
7658
9194
  warm?: number | undefined;
7659
9195
  vpc?: boolean | undefined;
7660
- log?: boolean | Duration | undefined;
9196
+ log?: boolean | Duration | {
9197
+ retention: Duration;
9198
+ format?: "text" | "json" | undefined;
9199
+ system?: "debug" | "info" | "warn" | undefined;
9200
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9201
+ } | undefined;
7661
9202
  timeout?: Duration | undefined;
7662
9203
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7663
9204
  memorySize?: Size | undefined;
@@ -7682,7 +9223,12 @@ declare const StackSchema: z.ZodObject<{
7682
9223
  minify?: boolean | undefined;
7683
9224
  warm?: number | undefined;
7684
9225
  vpc?: boolean | undefined;
7685
- log?: boolean | Duration | undefined;
9226
+ log?: boolean | Duration | {
9227
+ retention: Duration;
9228
+ format?: "text" | "json" | undefined;
9229
+ system?: "debug" | "info" | "warn" | undefined;
9230
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9231
+ } | undefined;
7686
9232
  timeout?: Duration | undefined;
7687
9233
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7688
9234
  memorySize?: Size | undefined;
@@ -7707,7 +9253,12 @@ declare const StackSchema: z.ZodObject<{
7707
9253
  minify?: boolean | undefined;
7708
9254
  warm?: number | undefined;
7709
9255
  vpc?: boolean | undefined;
7710
- log?: boolean | Duration | undefined;
9256
+ log?: boolean | Duration | {
9257
+ retention: Duration;
9258
+ format?: "text" | "json" | undefined;
9259
+ system?: "debug" | "info" | "warn" | undefined;
9260
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9261
+ } | undefined;
7711
9262
  timeout?: Duration | undefined;
7712
9263
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7713
9264
  memorySize?: Size | undefined;
@@ -7732,7 +9283,12 @@ declare const StackSchema: z.ZodObject<{
7732
9283
  minify?: boolean | undefined;
7733
9284
  warm?: number | undefined;
7734
9285
  vpc?: boolean | undefined;
7735
- log?: boolean | Duration | undefined;
9286
+ log?: boolean | Duration | {
9287
+ retention: Duration;
9288
+ format?: "text" | "json" | undefined;
9289
+ system?: "debug" | "info" | "warn" | undefined;
9290
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9291
+ } | undefined;
7736
9292
  timeout?: Duration | undefined;
7737
9293
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7738
9294
  memorySize?: Size | undefined;
@@ -7761,7 +9317,12 @@ declare const StackSchema: z.ZodObject<{
7761
9317
  minify?: boolean | undefined;
7762
9318
  warm?: number | undefined;
7763
9319
  vpc?: boolean | undefined;
7764
- log?: boolean | Duration | undefined;
9320
+ log?: boolean | Duration | {
9321
+ retention: Duration;
9322
+ format?: "text" | "json" | undefined;
9323
+ system?: "debug" | "info" | "warn" | undefined;
9324
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9325
+ } | undefined;
7765
9326
  timeout?: Duration | undefined;
7766
9327
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7767
9328
  memorySize?: Size | undefined;
@@ -7786,7 +9347,12 @@ declare const StackSchema: z.ZodObject<{
7786
9347
  minify?: boolean | undefined;
7787
9348
  warm?: number | undefined;
7788
9349
  vpc?: boolean | undefined;
7789
- log?: boolean | Duration | undefined;
9350
+ log?: boolean | Duration | {
9351
+ retention: Duration;
9352
+ format?: "text" | "json" | undefined;
9353
+ system?: "debug" | "info" | "warn" | undefined;
9354
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9355
+ } | undefined;
7790
9356
  timeout?: Duration | undefined;
7791
9357
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7792
9358
  memorySize?: Size | undefined;
@@ -7810,7 +9376,12 @@ declare const StackSchema: z.ZodObject<{
7810
9376
  minify?: boolean | undefined;
7811
9377
  warm?: number | undefined;
7812
9378
  vpc?: boolean | undefined;
7813
- log?: boolean | Duration | undefined;
9379
+ log?: boolean | Duration | {
9380
+ retention: Duration;
9381
+ format?: "text" | "json" | undefined;
9382
+ system?: "debug" | "info" | "warn" | undefined;
9383
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9384
+ } | undefined;
7814
9385
  timeout?: Duration | undefined;
7815
9386
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7816
9387
  memorySize?: Size | undefined;
@@ -7838,7 +9409,12 @@ declare const StackSchema: z.ZodObject<{
7838
9409
  minify?: boolean | undefined;
7839
9410
  warm?: number | undefined;
7840
9411
  vpc?: boolean | undefined;
7841
- log?: boolean | Duration | undefined;
9412
+ log?: boolean | Duration | {
9413
+ retention: Duration;
9414
+ format?: "text" | "json" | undefined;
9415
+ system?: "debug" | "info" | "warn" | undefined;
9416
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9417
+ } | undefined;
7842
9418
  timeout?: Duration | undefined;
7843
9419
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7844
9420
  memorySize?: Size | undefined;
@@ -7863,7 +9439,12 @@ declare const StackSchema: z.ZodObject<{
7863
9439
  minify?: boolean | undefined;
7864
9440
  warm?: number | undefined;
7865
9441
  vpc?: boolean | undefined;
7866
- log?: boolean | Duration | undefined;
9442
+ log?: boolean | Duration | {
9443
+ retention: Duration;
9444
+ format?: "text" | "json" | undefined;
9445
+ system?: "debug" | "info" | "warn" | undefined;
9446
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9447
+ } | undefined;
7867
9448
  timeout?: Duration | undefined;
7868
9449
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7869
9450
  memorySize?: Size | undefined;
@@ -7890,7 +9471,12 @@ declare const StackSchema: z.ZodObject<{
7890
9471
  minify?: boolean | undefined;
7891
9472
  warm?: number | undefined;
7892
9473
  vpc?: boolean | undefined;
7893
- log?: boolean | Duration | undefined;
9474
+ log?: boolean | Duration | {
9475
+ retention: Duration;
9476
+ format?: "text" | "json" | undefined;
9477
+ system?: "debug" | "info" | "warn" | undefined;
9478
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9479
+ } | undefined;
7894
9480
  timeout?: Duration | undefined;
7895
9481
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7896
9482
  memorySize?: Size | undefined;
@@ -7914,7 +9500,12 @@ declare const StackSchema: z.ZodObject<{
7914
9500
  minify?: boolean | undefined;
7915
9501
  warm?: number | undefined;
7916
9502
  vpc?: boolean | undefined;
7917
- log?: boolean | Duration | undefined;
9503
+ log?: boolean | Duration | {
9504
+ retention: Duration;
9505
+ format?: "text" | "json" | undefined;
9506
+ system?: "debug" | "info" | "warn" | undefined;
9507
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9508
+ } | undefined;
7918
9509
  timeout?: Duration | undefined;
7919
9510
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7920
9511
  memorySize?: Size | undefined;
@@ -7933,6 +9524,7 @@ declare const StackSchema: z.ZodObject<{
7933
9524
  resources: string[];
7934
9525
  }[] | undefined;
7935
9526
  } | undefined);
9527
+ enabled: boolean;
7936
9528
  schedule: string;
7937
9529
  payload?: unknown;
7938
9530
  }> | undefined;
@@ -7951,7 +9543,12 @@ declare const StackSchema: z.ZodObject<{
7951
9543
  minify?: boolean | undefined;
7952
9544
  warm?: number | undefined;
7953
9545
  vpc?: boolean | undefined;
7954
- log?: boolean | Duration | undefined;
9546
+ log?: boolean | Duration | {
9547
+ retention: Duration;
9548
+ format?: "text" | "json" | undefined;
9549
+ system?: "debug" | "info" | "warn" | undefined;
9550
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9551
+ } | undefined;
7955
9552
  timeout?: Duration | undefined;
7956
9553
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7957
9554
  memorySize?: Size | undefined;
@@ -7976,7 +9573,12 @@ declare const StackSchema: z.ZodObject<{
7976
9573
  minify?: boolean | undefined;
7977
9574
  warm?: number | undefined;
7978
9575
  vpc?: boolean | undefined;
7979
- log?: boolean | Duration | undefined;
9576
+ log?: boolean | Duration | {
9577
+ retention: Duration;
9578
+ format?: "text" | "json" | undefined;
9579
+ system?: "debug" | "info" | "warn" | undefined;
9580
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9581
+ } | undefined;
7980
9582
  timeout?: Duration | undefined;
7981
9583
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7982
9584
  memorySize?: Size | undefined;
@@ -8010,7 +9612,12 @@ declare const StackSchema: z.ZodObject<{
8010
9612
  minify?: boolean | undefined;
8011
9613
  warm?: number | undefined;
8012
9614
  vpc?: boolean | undefined;
8013
- log?: boolean | Duration | undefined;
9615
+ log?: boolean | Duration | {
9616
+ retention: Duration;
9617
+ format?: "text" | "json" | undefined;
9618
+ system?: "debug" | "info" | "warn" | undefined;
9619
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9620
+ } | undefined;
8014
9621
  timeout?: Duration | undefined;
8015
9622
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8016
9623
  memorySize?: Size | undefined;
@@ -8034,7 +9641,12 @@ declare const StackSchema: z.ZodObject<{
8034
9641
  minify?: boolean | undefined;
8035
9642
  warm?: number | undefined;
8036
9643
  vpc?: boolean | undefined;
8037
- log?: boolean | Duration | undefined;
9644
+ log?: boolean | Duration | {
9645
+ retention: Duration;
9646
+ format?: "text" | "json" | undefined;
9647
+ system?: "debug" | "info" | "warn" | undefined;
9648
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9649
+ } | undefined;
8038
9650
  timeout?: Duration | undefined;
8039
9651
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8040
9652
  memorySize?: Size | undefined;
@@ -8068,7 +9680,12 @@ declare const StackSchema: z.ZodObject<{
8068
9680
  minify?: boolean | undefined;
8069
9681
  warm?: number | undefined;
8070
9682
  vpc?: boolean | undefined;
8071
- log?: boolean | Duration | undefined;
9683
+ log?: boolean | Duration | {
9684
+ retention: Duration;
9685
+ format?: "text" | "json" | undefined;
9686
+ system?: "debug" | "info" | "warn" | undefined;
9687
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9688
+ } | undefined;
8072
9689
  timeout?: Duration | undefined;
8073
9690
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8074
9691
  memorySize?: Size | undefined;
@@ -8092,7 +9709,12 @@ declare const StackSchema: z.ZodObject<{
8092
9709
  minify?: boolean | undefined;
8093
9710
  warm?: number | undefined;
8094
9711
  vpc?: boolean | undefined;
8095
- log?: boolean | Duration | undefined;
9712
+ log?: boolean | Duration | {
9713
+ retention: Duration;
9714
+ format?: "text" | "json" | undefined;
9715
+ system?: "debug" | "info" | "warn" | undefined;
9716
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9717
+ } | undefined;
8096
9718
  timeout?: Duration | undefined;
8097
9719
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8098
9720
  memorySize?: Size | undefined;
@@ -8127,7 +9749,12 @@ declare const StackSchema: z.ZodObject<{
8127
9749
  minify?: boolean | undefined;
8128
9750
  warm?: number | undefined;
8129
9751
  vpc?: boolean | undefined;
8130
- log?: boolean | Duration | undefined;
9752
+ log?: boolean | Duration | {
9753
+ retention: Duration;
9754
+ format?: "text" | "json" | undefined;
9755
+ system?: "debug" | "info" | "warn" | undefined;
9756
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9757
+ } | undefined;
8131
9758
  timeout?: Duration | undefined;
8132
9759
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8133
9760
  memorySize?: Size | undefined;
@@ -8151,7 +9778,12 @@ declare const StackSchema: z.ZodObject<{
8151
9778
  minify?: boolean | undefined;
8152
9779
  warm?: number | undefined;
8153
9780
  vpc?: boolean | undefined;
8154
- log?: boolean | Duration | undefined;
9781
+ log?: boolean | Duration | {
9782
+ retention: Duration;
9783
+ format?: "text" | "json" | undefined;
9784
+ system?: "debug" | "info" | "warn" | undefined;
9785
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9786
+ } | undefined;
8155
9787
  timeout?: Duration | undefined;
8156
9788
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8157
9789
  memorySize?: Size | undefined;
@@ -8184,7 +9816,12 @@ declare const StackSchema: z.ZodObject<{
8184
9816
  minify?: boolean | undefined;
8185
9817
  warm?: number | undefined;
8186
9818
  vpc?: boolean | undefined;
8187
- log?: boolean | Duration | undefined;
9819
+ log?: boolean | Duration | {
9820
+ retention: Duration;
9821
+ format?: "text" | "json" | undefined;
9822
+ system?: "debug" | "info" | "warn" | undefined;
9823
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9824
+ } | undefined;
8188
9825
  timeout?: Duration | undefined;
8189
9826
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8190
9827
  memorySize?: Size | undefined;
@@ -8287,7 +9924,12 @@ declare const StackSchema: z.ZodObject<{
8287
9924
  minify?: boolean | undefined;
8288
9925
  warm?: number | undefined;
8289
9926
  vpc?: boolean | undefined;
8290
- log?: string | boolean | undefined;
9927
+ log?: string | boolean | {
9928
+ retention: string;
9929
+ format?: "text" | "json" | undefined;
9930
+ system?: "debug" | "info" | "warn" | undefined;
9931
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9932
+ } | undefined;
8291
9933
  timeout?: string | undefined;
8292
9934
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8293
9935
  memorySize?: string | undefined;
@@ -8307,7 +9949,6 @@ declare const StackSchema: z.ZodObject<{
8307
9949
  }[] | undefined;
8308
9950
  } | undefined;
8309
9951
  auth?: Record<string, {
8310
- access?: boolean | undefined;
8311
9952
  triggers?: {
8312
9953
  beforeToken?: string | {
8313
9954
  file: string;
@@ -8315,7 +9956,12 @@ declare const StackSchema: z.ZodObject<{
8315
9956
  minify?: boolean | undefined;
8316
9957
  warm?: number | undefined;
8317
9958
  vpc?: boolean | undefined;
8318
- log?: string | boolean | undefined;
9959
+ log?: string | boolean | {
9960
+ retention: string;
9961
+ format?: "text" | "json" | undefined;
9962
+ system?: "debug" | "info" | "warn" | undefined;
9963
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9964
+ } | undefined;
8319
9965
  timeout?: string | undefined;
8320
9966
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8321
9967
  memorySize?: string | undefined;
@@ -8340,7 +9986,12 @@ declare const StackSchema: z.ZodObject<{
8340
9986
  minify?: boolean | undefined;
8341
9987
  warm?: number | undefined;
8342
9988
  vpc?: boolean | undefined;
8343
- log?: string | boolean | undefined;
9989
+ log?: string | boolean | {
9990
+ retention: string;
9991
+ format?: "text" | "json" | undefined;
9992
+ system?: "debug" | "info" | "warn" | undefined;
9993
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9994
+ } | undefined;
8344
9995
  timeout?: string | undefined;
8345
9996
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8346
9997
  memorySize?: string | undefined;
@@ -8365,7 +10016,12 @@ declare const StackSchema: z.ZodObject<{
8365
10016
  minify?: boolean | undefined;
8366
10017
  warm?: number | undefined;
8367
10018
  vpc?: boolean | undefined;
8368
- log?: string | boolean | undefined;
10019
+ log?: string | boolean | {
10020
+ retention: string;
10021
+ format?: "text" | "json" | undefined;
10022
+ system?: "debug" | "info" | "warn" | undefined;
10023
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10024
+ } | undefined;
8369
10025
  timeout?: string | undefined;
8370
10026
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8371
10027
  memorySize?: string | undefined;
@@ -8390,7 +10046,12 @@ declare const StackSchema: z.ZodObject<{
8390
10046
  minify?: boolean | undefined;
8391
10047
  warm?: number | undefined;
8392
10048
  vpc?: boolean | undefined;
8393
- log?: string | boolean | undefined;
10049
+ log?: string | boolean | {
10050
+ retention: string;
10051
+ format?: "text" | "json" | undefined;
10052
+ system?: "debug" | "info" | "warn" | undefined;
10053
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10054
+ } | undefined;
8394
10055
  timeout?: string | undefined;
8395
10056
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8396
10057
  memorySize?: string | undefined;
@@ -8415,7 +10076,12 @@ declare const StackSchema: z.ZodObject<{
8415
10076
  minify?: boolean | undefined;
8416
10077
  warm?: number | undefined;
8417
10078
  vpc?: boolean | undefined;
8418
- log?: string | boolean | undefined;
10079
+ log?: string | boolean | {
10080
+ retention: string;
10081
+ format?: "text" | "json" | undefined;
10082
+ system?: "debug" | "info" | "warn" | undefined;
10083
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10084
+ } | undefined;
8419
10085
  timeout?: string | undefined;
8420
10086
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8421
10087
  memorySize?: string | undefined;
@@ -8440,7 +10106,12 @@ declare const StackSchema: z.ZodObject<{
8440
10106
  minify?: boolean | undefined;
8441
10107
  warm?: number | undefined;
8442
10108
  vpc?: boolean | undefined;
8443
- log?: string | boolean | undefined;
10109
+ log?: string | boolean | {
10110
+ retention: string;
10111
+ format?: "text" | "json" | undefined;
10112
+ system?: "debug" | "info" | "warn" | undefined;
10113
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10114
+ } | undefined;
8444
10115
  timeout?: string | undefined;
8445
10116
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8446
10117
  memorySize?: string | undefined;
@@ -8465,7 +10136,12 @@ declare const StackSchema: z.ZodObject<{
8465
10136
  minify?: boolean | undefined;
8466
10137
  warm?: number | undefined;
8467
10138
  vpc?: boolean | undefined;
8468
- log?: string | boolean | undefined;
10139
+ log?: string | boolean | {
10140
+ retention: string;
10141
+ format?: "text" | "json" | undefined;
10142
+ system?: "debug" | "info" | "warn" | undefined;
10143
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10144
+ } | undefined;
8469
10145
  timeout?: string | undefined;
8470
10146
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8471
10147
  memorySize?: string | undefined;
@@ -8490,7 +10166,12 @@ declare const StackSchema: z.ZodObject<{
8490
10166
  minify?: boolean | undefined;
8491
10167
  warm?: number | undefined;
8492
10168
  vpc?: boolean | undefined;
8493
- log?: string | boolean | undefined;
10169
+ log?: string | boolean | {
10170
+ retention: string;
10171
+ format?: "text" | "json" | undefined;
10172
+ system?: "debug" | "info" | "warn" | undefined;
10173
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10174
+ } | undefined;
8494
10175
  timeout?: string | undefined;
8495
10176
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8496
10177
  memorySize?: string | undefined;
@@ -8515,7 +10196,12 @@ declare const StackSchema: z.ZodObject<{
8515
10196
  minify?: boolean | undefined;
8516
10197
  warm?: number | undefined;
8517
10198
  vpc?: boolean | undefined;
8518
- log?: string | boolean | undefined;
10199
+ log?: string | boolean | {
10200
+ retention: string;
10201
+ format?: "text" | "json" | undefined;
10202
+ system?: "debug" | "info" | "warn" | undefined;
10203
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10204
+ } | undefined;
8519
10205
  timeout?: string | undefined;
8520
10206
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8521
10207
  memorySize?: string | undefined;
@@ -8544,7 +10230,12 @@ declare const StackSchema: z.ZodObject<{
8544
10230
  minify?: boolean | undefined;
8545
10231
  warm?: number | undefined;
8546
10232
  vpc?: boolean | undefined;
8547
- log?: string | boolean | undefined;
10233
+ log?: string | boolean | {
10234
+ retention: string;
10235
+ format?: "text" | "json" | undefined;
10236
+ system?: "debug" | "info" | "warn" | undefined;
10237
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10238
+ } | undefined;
8548
10239
  timeout?: string | undefined;
8549
10240
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8550
10241
  memorySize?: string | undefined;
@@ -8569,7 +10260,12 @@ declare const StackSchema: z.ZodObject<{
8569
10260
  minify?: boolean | undefined;
8570
10261
  warm?: number | undefined;
8571
10262
  vpc?: boolean | undefined;
8572
- log?: string | boolean | undefined;
10263
+ log?: string | boolean | {
10264
+ retention: string;
10265
+ format?: "text" | "json" | undefined;
10266
+ system?: "debug" | "info" | "warn" | undefined;
10267
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10268
+ } | undefined;
8573
10269
  timeout?: string | undefined;
8574
10270
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8575
10271
  memorySize?: string | undefined;
@@ -8593,7 +10289,12 @@ declare const StackSchema: z.ZodObject<{
8593
10289
  minify?: boolean | undefined;
8594
10290
  warm?: number | undefined;
8595
10291
  vpc?: boolean | undefined;
8596
- log?: string | boolean | undefined;
10292
+ log?: string | boolean | {
10293
+ retention: string;
10294
+ format?: "text" | "json" | undefined;
10295
+ system?: "debug" | "info" | "warn" | undefined;
10296
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10297
+ } | undefined;
8597
10298
  timeout?: string | undefined;
8598
10299
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8599
10300
  memorySize?: string | undefined;
@@ -8621,7 +10322,12 @@ declare const StackSchema: z.ZodObject<{
8621
10322
  minify?: boolean | undefined;
8622
10323
  warm?: number | undefined;
8623
10324
  vpc?: boolean | undefined;
8624
- log?: string | boolean | undefined;
10325
+ log?: string | boolean | {
10326
+ retention: string;
10327
+ format?: "text" | "json" | undefined;
10328
+ system?: "debug" | "info" | "warn" | undefined;
10329
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10330
+ } | undefined;
8625
10331
  timeout?: string | undefined;
8626
10332
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8627
10333
  memorySize?: string | undefined;
@@ -8646,7 +10352,12 @@ declare const StackSchema: z.ZodObject<{
8646
10352
  minify?: boolean | undefined;
8647
10353
  warm?: number | undefined;
8648
10354
  vpc?: boolean | undefined;
8649
- log?: string | boolean | undefined;
10355
+ log?: string | boolean | {
10356
+ retention: string;
10357
+ format?: "text" | "json" | undefined;
10358
+ system?: "debug" | "info" | "warn" | undefined;
10359
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10360
+ } | undefined;
8650
10361
  timeout?: string | undefined;
8651
10362
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8652
10363
  memorySize?: string | undefined;
@@ -8673,7 +10384,12 @@ declare const StackSchema: z.ZodObject<{
8673
10384
  minify?: boolean | undefined;
8674
10385
  warm?: number | undefined;
8675
10386
  vpc?: boolean | undefined;
8676
- log?: string | boolean | undefined;
10387
+ log?: string | boolean | {
10388
+ retention: string;
10389
+ format?: "text" | "json" | undefined;
10390
+ system?: "debug" | "info" | "warn" | undefined;
10391
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10392
+ } | undefined;
8677
10393
  timeout?: string | undefined;
8678
10394
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8679
10395
  memorySize?: string | undefined;
@@ -8697,7 +10413,12 @@ declare const StackSchema: z.ZodObject<{
8697
10413
  minify?: boolean | undefined;
8698
10414
  warm?: number | undefined;
8699
10415
  vpc?: boolean | undefined;
8700
- log?: string | boolean | undefined;
10416
+ log?: string | boolean | {
10417
+ retention: string;
10418
+ format?: "text" | "json" | undefined;
10419
+ system?: "debug" | "info" | "warn" | undefined;
10420
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10421
+ } | undefined;
8701
10422
  timeout?: string | undefined;
8702
10423
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8703
10424
  memorySize?: string | undefined;
@@ -8717,6 +10438,7 @@ declare const StackSchema: z.ZodObject<{
8717
10438
  }[] | undefined;
8718
10439
  } | undefined);
8719
10440
  schedule: (`${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `${string} ${string} ${string} ${string} ${string} ${string}`) & (`${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `${string} ${string} ${string} ${string} ${string} ${string}` | undefined);
10441
+ enabled?: boolean | undefined;
8720
10442
  payload?: unknown;
8721
10443
  }> | undefined;
8722
10444
  caches?: Record<string, {
@@ -8734,7 +10456,12 @@ declare const StackSchema: z.ZodObject<{
8734
10456
  minify?: boolean | undefined;
8735
10457
  warm?: number | undefined;
8736
10458
  vpc?: boolean | undefined;
8737
- log?: string | boolean | undefined;
10459
+ log?: string | boolean | {
10460
+ retention: string;
10461
+ format?: "text" | "json" | undefined;
10462
+ system?: "debug" | "info" | "warn" | undefined;
10463
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10464
+ } | undefined;
8738
10465
  timeout?: string | undefined;
8739
10466
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8740
10467
  memorySize?: string | undefined;
@@ -8759,7 +10486,12 @@ declare const StackSchema: z.ZodObject<{
8759
10486
  minify?: boolean | undefined;
8760
10487
  warm?: number | undefined;
8761
10488
  vpc?: boolean | undefined;
8762
- log?: string | boolean | undefined;
10489
+ log?: string | boolean | {
10490
+ retention: string;
10491
+ format?: "text" | "json" | undefined;
10492
+ system?: "debug" | "info" | "warn" | undefined;
10493
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10494
+ } | undefined;
8763
10495
  timeout?: string | undefined;
8764
10496
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8765
10497
  memorySize?: string | undefined;
@@ -8793,7 +10525,12 @@ declare const StackSchema: z.ZodObject<{
8793
10525
  minify?: boolean | undefined;
8794
10526
  warm?: number | undefined;
8795
10527
  vpc?: boolean | undefined;
8796
- log?: string | boolean | undefined;
10528
+ log?: string | boolean | {
10529
+ retention: string;
10530
+ format?: "text" | "json" | undefined;
10531
+ system?: "debug" | "info" | "warn" | undefined;
10532
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10533
+ } | undefined;
8797
10534
  timeout?: string | undefined;
8798
10535
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8799
10536
  memorySize?: string | undefined;
@@ -8817,7 +10554,12 @@ declare const StackSchema: z.ZodObject<{
8817
10554
  minify?: boolean | undefined;
8818
10555
  warm?: number | undefined;
8819
10556
  vpc?: boolean | undefined;
8820
- log?: string | boolean | undefined;
10557
+ log?: string | boolean | {
10558
+ retention: string;
10559
+ format?: "text" | "json" | undefined;
10560
+ system?: "debug" | "info" | "warn" | undefined;
10561
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10562
+ } | undefined;
8821
10563
  timeout?: string | undefined;
8822
10564
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8823
10565
  memorySize?: string | undefined;
@@ -8851,7 +10593,12 @@ declare const StackSchema: z.ZodObject<{
8851
10593
  minify?: boolean | undefined;
8852
10594
  warm?: number | undefined;
8853
10595
  vpc?: boolean | undefined;
8854
- log?: string | boolean | undefined;
10596
+ log?: string | boolean | {
10597
+ retention: string;
10598
+ format?: "text" | "json" | undefined;
10599
+ system?: "debug" | "info" | "warn" | undefined;
10600
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10601
+ } | undefined;
8855
10602
  timeout?: string | undefined;
8856
10603
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8857
10604
  memorySize?: string | undefined;
@@ -8875,7 +10622,12 @@ declare const StackSchema: z.ZodObject<{
8875
10622
  minify?: boolean | undefined;
8876
10623
  warm?: number | undefined;
8877
10624
  vpc?: boolean | undefined;
8878
- log?: string | boolean | undefined;
10625
+ log?: string | boolean | {
10626
+ retention: string;
10627
+ format?: "text" | "json" | undefined;
10628
+ system?: "debug" | "info" | "warn" | undefined;
10629
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10630
+ } | undefined;
8879
10631
  timeout?: string | undefined;
8880
10632
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8881
10633
  memorySize?: string | undefined;
@@ -8910,7 +10662,12 @@ declare const StackSchema: z.ZodObject<{
8910
10662
  minify?: boolean | undefined;
8911
10663
  warm?: number | undefined;
8912
10664
  vpc?: boolean | undefined;
8913
- log?: string | boolean | undefined;
10665
+ log?: string | boolean | {
10666
+ retention: string;
10667
+ format?: "text" | "json" | undefined;
10668
+ system?: "debug" | "info" | "warn" | undefined;
10669
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10670
+ } | undefined;
8914
10671
  timeout?: string | undefined;
8915
10672
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8916
10673
  memorySize?: string | undefined;
@@ -8934,7 +10691,12 @@ declare const StackSchema: z.ZodObject<{
8934
10691
  minify?: boolean | undefined;
8935
10692
  warm?: number | undefined;
8936
10693
  vpc?: boolean | undefined;
8937
- log?: string | boolean | undefined;
10694
+ log?: string | boolean | {
10695
+ retention: string;
10696
+ format?: "text" | "json" | undefined;
10697
+ system?: "debug" | "info" | "warn" | undefined;
10698
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10699
+ } | undefined;
8938
10700
  timeout?: string | undefined;
8939
10701
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8940
10702
  memorySize?: string | undefined;
@@ -8967,7 +10729,12 @@ declare const StackSchema: z.ZodObject<{
8967
10729
  minify?: boolean | undefined;
8968
10730
  warm?: number | undefined;
8969
10731
  vpc?: boolean | undefined;
8970
- log?: string | boolean | undefined;
10732
+ log?: string | boolean | {
10733
+ retention: string;
10734
+ format?: "text" | "json" | undefined;
10735
+ system?: "debug" | "info" | "warn" | undefined;
10736
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10737
+ } | undefined;
8971
10738
  timeout?: string | undefined;
8972
10739
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8973
10740
  memorySize?: string | undefined;
@@ -9061,10 +10828,13 @@ declare const StackSchema: z.ZodObject<{
9061
10828
  }> | undefined;
9062
10829
  tests?: string | string[] | undefined;
9063
10830
  }>;
9064
- type StackConfig = z.output<typeof StackSchema>;
10831
+ type StackConfig = z.output<typeof StackSchema> & {
10832
+ file: string;
10833
+ };
9065
10834
 
9066
10835
  type Config$1 = {
9067
10836
  app: AppConfig;
10837
+ stage: string;
9068
10838
  stacks: StackConfig[];
9069
10839
  account: string;
9070
10840
  credentials: Credentials;
@@ -9243,6 +11013,12 @@ type FunctionProps$1 = {
9243
11013
  securityGroupIds: string[];
9244
11014
  subnetIds: string[];
9245
11015
  };
11016
+ log?: boolean | Duration | {
11017
+ retention: Duration;
11018
+ format?: 'text' | 'json';
11019
+ level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
11020
+ system?: 'debug' | 'info' | 'warn';
11021
+ };
9246
11022
  };
9247
11023
  declare class Function$1 extends Resource {
9248
11024
  private _logicalId;
@@ -9251,8 +11027,9 @@ declare class Function$1 extends Resource {
9251
11027
  private role;
9252
11028
  private policy;
9253
11029
  private environmentVariables;
11030
+ private logConfig;
9254
11031
  constructor(_logicalId: string, props: FunctionProps$1);
9255
- enableLogs(retention?: Duration): this;
11032
+ private enableLogs;
9256
11033
  warmUp(concurrency: number): this;
9257
11034
  addUrl(props?: Omit<UrlProps, 'target'>): Url;
9258
11035
  addPermissions(...permissions: (Permission | Permission[])[]): this;
@@ -9275,6 +11052,11 @@ declare class Function$1 extends Resource {
9275
11052
  SecurityGroupIds: string[];
9276
11053
  SubnetIds: string[];
9277
11054
  } | undefined;
11055
+ LoggingConfig?: {
11056
+ LogFormat: string;
11057
+ ApplicationLogLevel: string;
11058
+ SystemLogLevel: string;
11059
+ } | undefined;
9278
11060
  EphemeralStorage: {
9279
11061
  Size: number;
9280
11062
  };