@awsless/awsless 0.0.145 → 0.0.147

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
@@ -110,7 +110,22 @@ declare const AppSchema: z.ZodObject<{
110
110
  minify: z.ZodOptional<z.ZodBoolean>;
111
111
  warm: z.ZodOptional<z.ZodNumber>;
112
112
  vpc: z.ZodOptional<z.ZodBoolean>;
113
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
113
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
114
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
115
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
116
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
117
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ retention: Duration;
120
+ format?: "text" | "json" | undefined;
121
+ system?: "debug" | "info" | "warn" | undefined;
122
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
123
+ }, {
124
+ retention: string;
125
+ format?: "text" | "json" | undefined;
126
+ system?: "debug" | "info" | "warn" | undefined;
127
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
128
+ }>]>>;
114
129
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
115
130
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
116
131
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -150,7 +165,12 @@ declare const AppSchema: z.ZodObject<{
150
165
  minify?: boolean | undefined;
151
166
  warm?: number | undefined;
152
167
  vpc?: boolean | undefined;
153
- log?: boolean | Duration | undefined;
168
+ log?: boolean | Duration | {
169
+ retention: Duration;
170
+ format?: "text" | "json" | undefined;
171
+ system?: "debug" | "info" | "warn" | undefined;
172
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
173
+ } | undefined;
154
174
  timeout?: Duration | undefined;
155
175
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
156
176
  memorySize?: Size | undefined;
@@ -174,7 +194,12 @@ declare const AppSchema: z.ZodObject<{
174
194
  minify?: boolean | undefined;
175
195
  warm?: number | undefined;
176
196
  vpc?: boolean | undefined;
177
- log?: string | boolean | undefined;
197
+ log?: string | boolean | {
198
+ retention: string;
199
+ format?: "text" | "json" | undefined;
200
+ system?: "debug" | "info" | "warn" | undefined;
201
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
202
+ } | undefined;
178
203
  timeout?: string | undefined;
179
204
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
180
205
  memorySize?: string | undefined;
@@ -199,7 +224,22 @@ declare const AppSchema: z.ZodObject<{
199
224
  minify: z.ZodOptional<z.ZodBoolean>;
200
225
  warm: z.ZodOptional<z.ZodNumber>;
201
226
  vpc: z.ZodOptional<z.ZodBoolean>;
202
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
227
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
228
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
229
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
230
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
231
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ retention: Duration;
234
+ format?: "text" | "json" | undefined;
235
+ system?: "debug" | "info" | "warn" | undefined;
236
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
237
+ }, {
238
+ retention: string;
239
+ format?: "text" | "json" | undefined;
240
+ system?: "debug" | "info" | "warn" | undefined;
241
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
242
+ }>]>>;
203
243
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
204
244
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
205
245
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -239,7 +279,12 @@ declare const AppSchema: z.ZodObject<{
239
279
  minify?: boolean | undefined;
240
280
  warm?: number | undefined;
241
281
  vpc?: boolean | undefined;
242
- log?: boolean | Duration | undefined;
282
+ log?: boolean | Duration | {
283
+ retention: Duration;
284
+ format?: "text" | "json" | undefined;
285
+ system?: "debug" | "info" | "warn" | undefined;
286
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
287
+ } | undefined;
243
288
  timeout?: Duration | undefined;
244
289
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
245
290
  memorySize?: Size | undefined;
@@ -263,7 +308,12 @@ declare const AppSchema: z.ZodObject<{
263
308
  minify?: boolean | undefined;
264
309
  warm?: number | undefined;
265
310
  vpc?: boolean | undefined;
266
- log?: string | boolean | undefined;
311
+ log?: string | boolean | {
312
+ retention: string;
313
+ format?: "text" | "json" | undefined;
314
+ system?: "debug" | "info" | "warn" | undefined;
315
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
316
+ } | undefined;
267
317
  timeout?: string | undefined;
268
318
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
269
319
  memorySize?: string | undefined;
@@ -288,7 +338,22 @@ declare const AppSchema: z.ZodObject<{
288
338
  minify: z.ZodOptional<z.ZodBoolean>;
289
339
  warm: z.ZodOptional<z.ZodNumber>;
290
340
  vpc: z.ZodOptional<z.ZodBoolean>;
291
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
341
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
342
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
343
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
344
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
345
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ retention: Duration;
348
+ format?: "text" | "json" | undefined;
349
+ system?: "debug" | "info" | "warn" | undefined;
350
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
351
+ }, {
352
+ retention: string;
353
+ format?: "text" | "json" | undefined;
354
+ system?: "debug" | "info" | "warn" | undefined;
355
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
356
+ }>]>>;
292
357
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
293
358
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
294
359
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -328,7 +393,12 @@ declare const AppSchema: z.ZodObject<{
328
393
  minify?: boolean | undefined;
329
394
  warm?: number | undefined;
330
395
  vpc?: boolean | undefined;
331
- log?: boolean | Duration | undefined;
396
+ log?: boolean | Duration | {
397
+ retention: Duration;
398
+ format?: "text" | "json" | undefined;
399
+ system?: "debug" | "info" | "warn" | undefined;
400
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
401
+ } | undefined;
332
402
  timeout?: Duration | undefined;
333
403
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
334
404
  memorySize?: Size | undefined;
@@ -352,7 +422,12 @@ declare const AppSchema: z.ZodObject<{
352
422
  minify?: boolean | undefined;
353
423
  warm?: number | undefined;
354
424
  vpc?: boolean | undefined;
355
- log?: string | boolean | undefined;
425
+ log?: string | boolean | {
426
+ retention: string;
427
+ format?: "text" | "json" | undefined;
428
+ system?: "debug" | "info" | "warn" | undefined;
429
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
430
+ } | undefined;
356
431
  timeout?: string | undefined;
357
432
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
358
433
  memorySize?: string | undefined;
@@ -377,7 +452,22 @@ declare const AppSchema: z.ZodObject<{
377
452
  minify: z.ZodOptional<z.ZodBoolean>;
378
453
  warm: z.ZodOptional<z.ZodNumber>;
379
454
  vpc: z.ZodOptional<z.ZodBoolean>;
380
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
455
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
456
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
457
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
458
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
459
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
460
+ }, "strip", z.ZodTypeAny, {
461
+ retention: Duration;
462
+ format?: "text" | "json" | undefined;
463
+ system?: "debug" | "info" | "warn" | undefined;
464
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
465
+ }, {
466
+ retention: string;
467
+ format?: "text" | "json" | undefined;
468
+ system?: "debug" | "info" | "warn" | undefined;
469
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
470
+ }>]>>;
381
471
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
382
472
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
383
473
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -417,7 +507,12 @@ declare const AppSchema: z.ZodObject<{
417
507
  minify?: boolean | undefined;
418
508
  warm?: number | undefined;
419
509
  vpc?: boolean | undefined;
420
- log?: boolean | Duration | undefined;
510
+ log?: boolean | Duration | {
511
+ retention: Duration;
512
+ format?: "text" | "json" | undefined;
513
+ system?: "debug" | "info" | "warn" | undefined;
514
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
515
+ } | undefined;
421
516
  timeout?: Duration | undefined;
422
517
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
423
518
  memorySize?: Size | undefined;
@@ -441,7 +536,12 @@ declare const AppSchema: z.ZodObject<{
441
536
  minify?: boolean | undefined;
442
537
  warm?: number | undefined;
443
538
  vpc?: boolean | undefined;
444
- log?: string | boolean | undefined;
539
+ log?: string | boolean | {
540
+ retention: string;
541
+ format?: "text" | "json" | undefined;
542
+ system?: "debug" | "info" | "warn" | undefined;
543
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
544
+ } | undefined;
445
545
  timeout?: string | undefined;
446
546
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
447
547
  memorySize?: string | undefined;
@@ -466,7 +566,22 @@ declare const AppSchema: z.ZodObject<{
466
566
  minify: z.ZodOptional<z.ZodBoolean>;
467
567
  warm: z.ZodOptional<z.ZodNumber>;
468
568
  vpc: z.ZodOptional<z.ZodBoolean>;
469
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
569
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
570
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
571
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
572
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
573
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ retention: Duration;
576
+ format?: "text" | "json" | undefined;
577
+ system?: "debug" | "info" | "warn" | undefined;
578
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
579
+ }, {
580
+ retention: string;
581
+ format?: "text" | "json" | undefined;
582
+ system?: "debug" | "info" | "warn" | undefined;
583
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
584
+ }>]>>;
470
585
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
471
586
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
472
587
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -506,7 +621,12 @@ declare const AppSchema: z.ZodObject<{
506
621
  minify?: boolean | undefined;
507
622
  warm?: number | undefined;
508
623
  vpc?: boolean | undefined;
509
- log?: boolean | Duration | undefined;
624
+ log?: boolean | Duration | {
625
+ retention: Duration;
626
+ format?: "text" | "json" | undefined;
627
+ system?: "debug" | "info" | "warn" | undefined;
628
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
629
+ } | undefined;
510
630
  timeout?: Duration | undefined;
511
631
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
512
632
  memorySize?: Size | undefined;
@@ -530,7 +650,12 @@ declare const AppSchema: z.ZodObject<{
530
650
  minify?: boolean | undefined;
531
651
  warm?: number | undefined;
532
652
  vpc?: boolean | undefined;
533
- log?: string | boolean | undefined;
653
+ log?: string | boolean | {
654
+ retention: string;
655
+ format?: "text" | "json" | undefined;
656
+ system?: "debug" | "info" | "warn" | undefined;
657
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
658
+ } | undefined;
534
659
  timeout?: string | undefined;
535
660
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
536
661
  memorySize?: string | undefined;
@@ -555,7 +680,22 @@ declare const AppSchema: z.ZodObject<{
555
680
  minify: z.ZodOptional<z.ZodBoolean>;
556
681
  warm: z.ZodOptional<z.ZodNumber>;
557
682
  vpc: z.ZodOptional<z.ZodBoolean>;
558
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
683
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
684
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
685
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
686
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
687
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ retention: Duration;
690
+ format?: "text" | "json" | undefined;
691
+ system?: "debug" | "info" | "warn" | undefined;
692
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
693
+ }, {
694
+ retention: string;
695
+ format?: "text" | "json" | undefined;
696
+ system?: "debug" | "info" | "warn" | undefined;
697
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
698
+ }>]>>;
559
699
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
560
700
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
561
701
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -595,7 +735,12 @@ declare const AppSchema: z.ZodObject<{
595
735
  minify?: boolean | undefined;
596
736
  warm?: number | undefined;
597
737
  vpc?: boolean | undefined;
598
- log?: boolean | Duration | undefined;
738
+ log?: boolean | Duration | {
739
+ retention: Duration;
740
+ format?: "text" | "json" | undefined;
741
+ system?: "debug" | "info" | "warn" | undefined;
742
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
743
+ } | undefined;
599
744
  timeout?: Duration | undefined;
600
745
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
601
746
  memorySize?: Size | undefined;
@@ -619,7 +764,12 @@ declare const AppSchema: z.ZodObject<{
619
764
  minify?: boolean | undefined;
620
765
  warm?: number | undefined;
621
766
  vpc?: boolean | undefined;
622
- log?: string | boolean | undefined;
767
+ log?: string | boolean | {
768
+ retention: string;
769
+ format?: "text" | "json" | undefined;
770
+ system?: "debug" | "info" | "warn" | undefined;
771
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
772
+ } | undefined;
623
773
  timeout?: string | undefined;
624
774
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
625
775
  memorySize?: string | undefined;
@@ -644,7 +794,22 @@ declare const AppSchema: z.ZodObject<{
644
794
  minify: z.ZodOptional<z.ZodBoolean>;
645
795
  warm: z.ZodOptional<z.ZodNumber>;
646
796
  vpc: z.ZodOptional<z.ZodBoolean>;
647
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
797
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
798
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
799
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
800
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
801
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
802
+ }, "strip", z.ZodTypeAny, {
803
+ retention: Duration;
804
+ format?: "text" | "json" | undefined;
805
+ system?: "debug" | "info" | "warn" | undefined;
806
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
807
+ }, {
808
+ retention: string;
809
+ format?: "text" | "json" | undefined;
810
+ system?: "debug" | "info" | "warn" | undefined;
811
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
812
+ }>]>>;
648
813
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
649
814
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
650
815
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -684,7 +849,12 @@ declare const AppSchema: z.ZodObject<{
684
849
  minify?: boolean | undefined;
685
850
  warm?: number | undefined;
686
851
  vpc?: boolean | undefined;
687
- log?: boolean | Duration | undefined;
852
+ log?: boolean | Duration | {
853
+ retention: Duration;
854
+ format?: "text" | "json" | undefined;
855
+ system?: "debug" | "info" | "warn" | undefined;
856
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
857
+ } | undefined;
688
858
  timeout?: Duration | undefined;
689
859
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
690
860
  memorySize?: Size | undefined;
@@ -708,7 +878,12 @@ declare const AppSchema: z.ZodObject<{
708
878
  minify?: boolean | undefined;
709
879
  warm?: number | undefined;
710
880
  vpc?: boolean | undefined;
711
- log?: string | boolean | undefined;
881
+ log?: string | boolean | {
882
+ retention: string;
883
+ format?: "text" | "json" | undefined;
884
+ system?: "debug" | "info" | "warn" | undefined;
885
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
886
+ } | undefined;
712
887
  timeout?: string | undefined;
713
888
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
714
889
  memorySize?: string | undefined;
@@ -733,7 +908,22 @@ declare const AppSchema: z.ZodObject<{
733
908
  minify: z.ZodOptional<z.ZodBoolean>;
734
909
  warm: z.ZodOptional<z.ZodNumber>;
735
910
  vpc: z.ZodOptional<z.ZodBoolean>;
736
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
911
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
912
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
913
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
914
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
915
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
916
+ }, "strip", z.ZodTypeAny, {
917
+ retention: Duration;
918
+ format?: "text" | "json" | undefined;
919
+ system?: "debug" | "info" | "warn" | undefined;
920
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
921
+ }, {
922
+ retention: string;
923
+ format?: "text" | "json" | undefined;
924
+ system?: "debug" | "info" | "warn" | undefined;
925
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
926
+ }>]>>;
737
927
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
738
928
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
739
929
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -773,7 +963,12 @@ declare const AppSchema: z.ZodObject<{
773
963
  minify?: boolean | undefined;
774
964
  warm?: number | undefined;
775
965
  vpc?: boolean | undefined;
776
- log?: boolean | Duration | undefined;
966
+ log?: boolean | Duration | {
967
+ retention: Duration;
968
+ format?: "text" | "json" | undefined;
969
+ system?: "debug" | "info" | "warn" | undefined;
970
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
971
+ } | undefined;
777
972
  timeout?: Duration | undefined;
778
973
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
779
974
  memorySize?: Size | undefined;
@@ -797,7 +992,12 @@ declare const AppSchema: z.ZodObject<{
797
992
  minify?: boolean | undefined;
798
993
  warm?: number | undefined;
799
994
  vpc?: boolean | undefined;
800
- log?: string | boolean | undefined;
995
+ log?: string | boolean | {
996
+ retention: string;
997
+ format?: "text" | "json" | undefined;
998
+ system?: "debug" | "info" | "warn" | undefined;
999
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1000
+ } | undefined;
801
1001
  timeout?: string | undefined;
802
1002
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
803
1003
  memorySize?: string | undefined;
@@ -822,7 +1022,22 @@ declare const AppSchema: z.ZodObject<{
822
1022
  minify: z.ZodOptional<z.ZodBoolean>;
823
1023
  warm: z.ZodOptional<z.ZodNumber>;
824
1024
  vpc: z.ZodOptional<z.ZodBoolean>;
825
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
1025
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
1026
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
1027
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
1028
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
1029
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ retention: Duration;
1032
+ format?: "text" | "json" | undefined;
1033
+ system?: "debug" | "info" | "warn" | undefined;
1034
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1035
+ }, {
1036
+ retention: string;
1037
+ format?: "text" | "json" | undefined;
1038
+ system?: "debug" | "info" | "warn" | undefined;
1039
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1040
+ }>]>>;
826
1041
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
827
1042
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
828
1043
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -862,7 +1077,12 @@ declare const AppSchema: z.ZodObject<{
862
1077
  minify?: boolean | undefined;
863
1078
  warm?: number | undefined;
864
1079
  vpc?: boolean | undefined;
865
- log?: boolean | Duration | undefined;
1080
+ log?: boolean | Duration | {
1081
+ retention: Duration;
1082
+ format?: "text" | "json" | undefined;
1083
+ system?: "debug" | "info" | "warn" | undefined;
1084
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1085
+ } | undefined;
866
1086
  timeout?: Duration | undefined;
867
1087
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
868
1088
  memorySize?: Size | undefined;
@@ -886,7 +1106,12 @@ declare const AppSchema: z.ZodObject<{
886
1106
  minify?: boolean | undefined;
887
1107
  warm?: number | undefined;
888
1108
  vpc?: boolean | undefined;
889
- log?: string | boolean | undefined;
1109
+ log?: string | boolean | {
1110
+ retention: string;
1111
+ format?: "text" | "json" | undefined;
1112
+ system?: "debug" | "info" | "warn" | undefined;
1113
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1114
+ } | undefined;
890
1115
  timeout?: string | undefined;
891
1116
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
892
1117
  memorySize?: string | undefined;
@@ -912,7 +1137,12 @@ declare const AppSchema: z.ZodObject<{
912
1137
  minify?: boolean | undefined;
913
1138
  warm?: number | undefined;
914
1139
  vpc?: boolean | undefined;
915
- log?: boolean | Duration | undefined;
1140
+ log?: boolean | Duration | {
1141
+ retention: Duration;
1142
+ format?: "text" | "json" | undefined;
1143
+ system?: "debug" | "info" | "warn" | undefined;
1144
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1145
+ } | undefined;
916
1146
  timeout?: Duration | undefined;
917
1147
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
918
1148
  memorySize?: Size | undefined;
@@ -937,7 +1167,12 @@ declare const AppSchema: z.ZodObject<{
937
1167
  minify?: boolean | undefined;
938
1168
  warm?: number | undefined;
939
1169
  vpc?: boolean | undefined;
940
- log?: boolean | Duration | undefined;
1170
+ log?: boolean | Duration | {
1171
+ retention: Duration;
1172
+ format?: "text" | "json" | undefined;
1173
+ system?: "debug" | "info" | "warn" | undefined;
1174
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1175
+ } | undefined;
941
1176
  timeout?: Duration | undefined;
942
1177
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
943
1178
  memorySize?: Size | undefined;
@@ -962,7 +1197,12 @@ declare const AppSchema: z.ZodObject<{
962
1197
  minify?: boolean | undefined;
963
1198
  warm?: number | undefined;
964
1199
  vpc?: boolean | undefined;
965
- log?: boolean | Duration | undefined;
1200
+ log?: boolean | Duration | {
1201
+ retention: Duration;
1202
+ format?: "text" | "json" | undefined;
1203
+ system?: "debug" | "info" | "warn" | undefined;
1204
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1205
+ } | undefined;
966
1206
  timeout?: Duration | undefined;
967
1207
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
968
1208
  memorySize?: Size | undefined;
@@ -987,7 +1227,12 @@ declare const AppSchema: z.ZodObject<{
987
1227
  minify?: boolean | undefined;
988
1228
  warm?: number | undefined;
989
1229
  vpc?: boolean | undefined;
990
- log?: boolean | Duration | undefined;
1230
+ log?: boolean | Duration | {
1231
+ retention: Duration;
1232
+ format?: "text" | "json" | undefined;
1233
+ system?: "debug" | "info" | "warn" | undefined;
1234
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1235
+ } | undefined;
991
1236
  timeout?: Duration | undefined;
992
1237
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
993
1238
  memorySize?: Size | undefined;
@@ -1012,7 +1257,12 @@ declare const AppSchema: z.ZodObject<{
1012
1257
  minify?: boolean | undefined;
1013
1258
  warm?: number | undefined;
1014
1259
  vpc?: boolean | undefined;
1015
- log?: boolean | Duration | undefined;
1260
+ log?: boolean | Duration | {
1261
+ retention: Duration;
1262
+ format?: "text" | "json" | undefined;
1263
+ system?: "debug" | "info" | "warn" | undefined;
1264
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1265
+ } | undefined;
1016
1266
  timeout?: Duration | undefined;
1017
1267
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1018
1268
  memorySize?: Size | undefined;
@@ -1037,7 +1287,12 @@ declare const AppSchema: z.ZodObject<{
1037
1287
  minify?: boolean | undefined;
1038
1288
  warm?: number | undefined;
1039
1289
  vpc?: boolean | undefined;
1040
- log?: boolean | Duration | undefined;
1290
+ log?: boolean | Duration | {
1291
+ retention: Duration;
1292
+ format?: "text" | "json" | undefined;
1293
+ system?: "debug" | "info" | "warn" | undefined;
1294
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1295
+ } | undefined;
1041
1296
  timeout?: Duration | undefined;
1042
1297
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1043
1298
  memorySize?: Size | undefined;
@@ -1062,7 +1317,12 @@ declare const AppSchema: z.ZodObject<{
1062
1317
  minify?: boolean | undefined;
1063
1318
  warm?: number | undefined;
1064
1319
  vpc?: boolean | undefined;
1065
- log?: boolean | Duration | undefined;
1320
+ log?: boolean | Duration | {
1321
+ retention: Duration;
1322
+ format?: "text" | "json" | undefined;
1323
+ system?: "debug" | "info" | "warn" | undefined;
1324
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1325
+ } | undefined;
1066
1326
  timeout?: Duration | undefined;
1067
1327
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1068
1328
  memorySize?: Size | undefined;
@@ -1087,7 +1347,12 @@ declare const AppSchema: z.ZodObject<{
1087
1347
  minify?: boolean | undefined;
1088
1348
  warm?: number | undefined;
1089
1349
  vpc?: boolean | undefined;
1090
- log?: boolean | Duration | undefined;
1350
+ log?: boolean | Duration | {
1351
+ retention: Duration;
1352
+ format?: "text" | "json" | undefined;
1353
+ system?: "debug" | "info" | "warn" | undefined;
1354
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1355
+ } | undefined;
1091
1356
  timeout?: Duration | undefined;
1092
1357
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1093
1358
  memorySize?: Size | undefined;
@@ -1112,7 +1377,12 @@ declare const AppSchema: z.ZodObject<{
1112
1377
  minify?: boolean | undefined;
1113
1378
  warm?: number | undefined;
1114
1379
  vpc?: boolean | undefined;
1115
- log?: boolean | Duration | undefined;
1380
+ log?: boolean | Duration | {
1381
+ retention: Duration;
1382
+ format?: "text" | "json" | undefined;
1383
+ system?: "debug" | "info" | "warn" | undefined;
1384
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1385
+ } | undefined;
1116
1386
  timeout?: Duration | undefined;
1117
1387
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1118
1388
  memorySize?: Size | undefined;
@@ -1138,7 +1408,12 @@ declare const AppSchema: z.ZodObject<{
1138
1408
  minify?: boolean | undefined;
1139
1409
  warm?: number | undefined;
1140
1410
  vpc?: boolean | undefined;
1141
- log?: string | boolean | undefined;
1411
+ log?: string | boolean | {
1412
+ retention: string;
1413
+ format?: "text" | "json" | undefined;
1414
+ system?: "debug" | "info" | "warn" | undefined;
1415
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1416
+ } | undefined;
1142
1417
  timeout?: string | undefined;
1143
1418
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1144
1419
  memorySize?: string | undefined;
@@ -1163,7 +1438,12 @@ declare const AppSchema: z.ZodObject<{
1163
1438
  minify?: boolean | undefined;
1164
1439
  warm?: number | undefined;
1165
1440
  vpc?: boolean | undefined;
1166
- log?: string | boolean | undefined;
1441
+ log?: string | boolean | {
1442
+ retention: string;
1443
+ format?: "text" | "json" | undefined;
1444
+ system?: "debug" | "info" | "warn" | undefined;
1445
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1446
+ } | undefined;
1167
1447
  timeout?: string | undefined;
1168
1448
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1169
1449
  memorySize?: string | undefined;
@@ -1188,7 +1468,12 @@ declare const AppSchema: z.ZodObject<{
1188
1468
  minify?: boolean | undefined;
1189
1469
  warm?: number | undefined;
1190
1470
  vpc?: boolean | undefined;
1191
- log?: string | boolean | undefined;
1471
+ log?: string | boolean | {
1472
+ retention: string;
1473
+ format?: "text" | "json" | undefined;
1474
+ system?: "debug" | "info" | "warn" | undefined;
1475
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1476
+ } | undefined;
1192
1477
  timeout?: string | undefined;
1193
1478
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1194
1479
  memorySize?: string | undefined;
@@ -1213,7 +1498,12 @@ declare const AppSchema: z.ZodObject<{
1213
1498
  minify?: boolean | undefined;
1214
1499
  warm?: number | undefined;
1215
1500
  vpc?: boolean | undefined;
1216
- log?: string | boolean | undefined;
1501
+ log?: string | boolean | {
1502
+ retention: string;
1503
+ format?: "text" | "json" | undefined;
1504
+ system?: "debug" | "info" | "warn" | undefined;
1505
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1506
+ } | undefined;
1217
1507
  timeout?: string | undefined;
1218
1508
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1219
1509
  memorySize?: string | undefined;
@@ -1238,7 +1528,12 @@ declare const AppSchema: z.ZodObject<{
1238
1528
  minify?: boolean | undefined;
1239
1529
  warm?: number | undefined;
1240
1530
  vpc?: boolean | undefined;
1241
- log?: string | boolean | undefined;
1531
+ log?: string | boolean | {
1532
+ retention: string;
1533
+ format?: "text" | "json" | undefined;
1534
+ system?: "debug" | "info" | "warn" | undefined;
1535
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1536
+ } | undefined;
1242
1537
  timeout?: string | undefined;
1243
1538
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1244
1539
  memorySize?: string | undefined;
@@ -1263,7 +1558,12 @@ declare const AppSchema: z.ZodObject<{
1263
1558
  minify?: boolean | undefined;
1264
1559
  warm?: number | undefined;
1265
1560
  vpc?: boolean | undefined;
1266
- log?: string | boolean | undefined;
1561
+ log?: string | boolean | {
1562
+ retention: string;
1563
+ format?: "text" | "json" | undefined;
1564
+ system?: "debug" | "info" | "warn" | undefined;
1565
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1566
+ } | undefined;
1267
1567
  timeout?: string | undefined;
1268
1568
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1269
1569
  memorySize?: string | undefined;
@@ -1288,7 +1588,12 @@ declare const AppSchema: z.ZodObject<{
1288
1588
  minify?: boolean | undefined;
1289
1589
  warm?: number | undefined;
1290
1590
  vpc?: boolean | undefined;
1291
- log?: string | boolean | undefined;
1591
+ log?: string | boolean | {
1592
+ retention: string;
1593
+ format?: "text" | "json" | undefined;
1594
+ system?: "debug" | "info" | "warn" | undefined;
1595
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1596
+ } | undefined;
1292
1597
  timeout?: string | undefined;
1293
1598
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1294
1599
  memorySize?: string | undefined;
@@ -1313,7 +1618,12 @@ declare const AppSchema: z.ZodObject<{
1313
1618
  minify?: boolean | undefined;
1314
1619
  warm?: number | undefined;
1315
1620
  vpc?: boolean | undefined;
1316
- log?: string | boolean | undefined;
1621
+ log?: string | boolean | {
1622
+ retention: string;
1623
+ format?: "text" | "json" | undefined;
1624
+ system?: "debug" | "info" | "warn" | undefined;
1625
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1626
+ } | undefined;
1317
1627
  timeout?: string | undefined;
1318
1628
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1319
1629
  memorySize?: string | undefined;
@@ -1338,7 +1648,12 @@ declare const AppSchema: z.ZodObject<{
1338
1648
  minify?: boolean | undefined;
1339
1649
  warm?: number | undefined;
1340
1650
  vpc?: boolean | undefined;
1341
- log?: string | boolean | undefined;
1651
+ log?: string | boolean | {
1652
+ retention: string;
1653
+ format?: "text" | "json" | undefined;
1654
+ system?: "debug" | "info" | "warn" | undefined;
1655
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1656
+ } | undefined;
1342
1657
  timeout?: string | undefined;
1343
1658
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1344
1659
  memorySize?: string | undefined;
@@ -1390,7 +1705,12 @@ declare const AppSchema: z.ZodObject<{
1390
1705
  minify?: boolean | undefined;
1391
1706
  warm?: number | undefined;
1392
1707
  vpc?: boolean | undefined;
1393
- log?: boolean | Duration | undefined;
1708
+ log?: boolean | Duration | {
1709
+ retention: Duration;
1710
+ format?: "text" | "json" | undefined;
1711
+ system?: "debug" | "info" | "warn" | undefined;
1712
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1713
+ } | undefined;
1394
1714
  timeout?: Duration | undefined;
1395
1715
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1396
1716
  memorySize?: Size | undefined;
@@ -1415,7 +1735,12 @@ declare const AppSchema: z.ZodObject<{
1415
1735
  minify?: boolean | undefined;
1416
1736
  warm?: number | undefined;
1417
1737
  vpc?: boolean | undefined;
1418
- log?: boolean | Duration | undefined;
1738
+ log?: boolean | Duration | {
1739
+ retention: Duration;
1740
+ format?: "text" | "json" | undefined;
1741
+ system?: "debug" | "info" | "warn" | undefined;
1742
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1743
+ } | undefined;
1419
1744
  timeout?: Duration | undefined;
1420
1745
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1421
1746
  memorySize?: Size | undefined;
@@ -1440,7 +1765,12 @@ declare const AppSchema: z.ZodObject<{
1440
1765
  minify?: boolean | undefined;
1441
1766
  warm?: number | undefined;
1442
1767
  vpc?: boolean | undefined;
1443
- log?: boolean | Duration | undefined;
1768
+ log?: boolean | Duration | {
1769
+ retention: Duration;
1770
+ format?: "text" | "json" | undefined;
1771
+ system?: "debug" | "info" | "warn" | undefined;
1772
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1773
+ } | undefined;
1444
1774
  timeout?: Duration | undefined;
1445
1775
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1446
1776
  memorySize?: Size | undefined;
@@ -1465,7 +1795,12 @@ declare const AppSchema: z.ZodObject<{
1465
1795
  minify?: boolean | undefined;
1466
1796
  warm?: number | undefined;
1467
1797
  vpc?: boolean | undefined;
1468
- log?: boolean | Duration | undefined;
1798
+ log?: boolean | Duration | {
1799
+ retention: Duration;
1800
+ format?: "text" | "json" | undefined;
1801
+ system?: "debug" | "info" | "warn" | undefined;
1802
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1803
+ } | undefined;
1469
1804
  timeout?: Duration | undefined;
1470
1805
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1471
1806
  memorySize?: Size | undefined;
@@ -1490,7 +1825,12 @@ declare const AppSchema: z.ZodObject<{
1490
1825
  minify?: boolean | undefined;
1491
1826
  warm?: number | undefined;
1492
1827
  vpc?: boolean | undefined;
1493
- log?: boolean | Duration | undefined;
1828
+ log?: boolean | Duration | {
1829
+ retention: Duration;
1830
+ format?: "text" | "json" | undefined;
1831
+ system?: "debug" | "info" | "warn" | undefined;
1832
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1833
+ } | undefined;
1494
1834
  timeout?: Duration | undefined;
1495
1835
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1496
1836
  memorySize?: Size | undefined;
@@ -1515,7 +1855,12 @@ declare const AppSchema: z.ZodObject<{
1515
1855
  minify?: boolean | undefined;
1516
1856
  warm?: number | undefined;
1517
1857
  vpc?: boolean | undefined;
1518
- log?: boolean | Duration | undefined;
1858
+ log?: boolean | Duration | {
1859
+ retention: Duration;
1860
+ format?: "text" | "json" | undefined;
1861
+ system?: "debug" | "info" | "warn" | undefined;
1862
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1863
+ } | undefined;
1519
1864
  timeout?: Duration | undefined;
1520
1865
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1521
1866
  memorySize?: Size | undefined;
@@ -1540,7 +1885,12 @@ declare const AppSchema: z.ZodObject<{
1540
1885
  minify?: boolean | undefined;
1541
1886
  warm?: number | undefined;
1542
1887
  vpc?: boolean | undefined;
1543
- log?: boolean | Duration | undefined;
1888
+ log?: boolean | Duration | {
1889
+ retention: Duration;
1890
+ format?: "text" | "json" | undefined;
1891
+ system?: "debug" | "info" | "warn" | undefined;
1892
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1893
+ } | undefined;
1544
1894
  timeout?: Duration | undefined;
1545
1895
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1546
1896
  memorySize?: Size | undefined;
@@ -1565,7 +1915,12 @@ declare const AppSchema: z.ZodObject<{
1565
1915
  minify?: boolean | undefined;
1566
1916
  warm?: number | undefined;
1567
1917
  vpc?: boolean | undefined;
1568
- log?: boolean | Duration | undefined;
1918
+ log?: boolean | Duration | {
1919
+ retention: Duration;
1920
+ format?: "text" | "json" | undefined;
1921
+ system?: "debug" | "info" | "warn" | undefined;
1922
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1923
+ } | undefined;
1569
1924
  timeout?: Duration | undefined;
1570
1925
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1571
1926
  memorySize?: Size | undefined;
@@ -1590,7 +1945,12 @@ declare const AppSchema: z.ZodObject<{
1590
1945
  minify?: boolean | undefined;
1591
1946
  warm?: number | undefined;
1592
1947
  vpc?: boolean | undefined;
1593
- log?: boolean | Duration | undefined;
1948
+ log?: boolean | Duration | {
1949
+ retention: Duration;
1950
+ format?: "text" | "json" | undefined;
1951
+ system?: "debug" | "info" | "warn" | undefined;
1952
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
1953
+ } | undefined;
1594
1954
  timeout?: Duration | undefined;
1595
1955
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1596
1956
  memorySize?: Size | undefined;
@@ -1642,7 +2002,12 @@ declare const AppSchema: z.ZodObject<{
1642
2002
  minify?: boolean | undefined;
1643
2003
  warm?: number | undefined;
1644
2004
  vpc?: boolean | undefined;
1645
- log?: string | boolean | undefined;
2005
+ log?: string | boolean | {
2006
+ retention: string;
2007
+ format?: "text" | "json" | undefined;
2008
+ system?: "debug" | "info" | "warn" | undefined;
2009
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2010
+ } | undefined;
1646
2011
  timeout?: string | undefined;
1647
2012
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1648
2013
  memorySize?: string | undefined;
@@ -1667,7 +2032,12 @@ declare const AppSchema: z.ZodObject<{
1667
2032
  minify?: boolean | undefined;
1668
2033
  warm?: number | undefined;
1669
2034
  vpc?: boolean | undefined;
1670
- log?: string | boolean | undefined;
2035
+ log?: string | boolean | {
2036
+ retention: string;
2037
+ format?: "text" | "json" | undefined;
2038
+ system?: "debug" | "info" | "warn" | undefined;
2039
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2040
+ } | undefined;
1671
2041
  timeout?: string | undefined;
1672
2042
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1673
2043
  memorySize?: string | undefined;
@@ -1692,7 +2062,12 @@ declare const AppSchema: z.ZodObject<{
1692
2062
  minify?: boolean | undefined;
1693
2063
  warm?: number | undefined;
1694
2064
  vpc?: boolean | undefined;
1695
- log?: string | boolean | undefined;
2065
+ log?: string | boolean | {
2066
+ retention: string;
2067
+ format?: "text" | "json" | undefined;
2068
+ system?: "debug" | "info" | "warn" | undefined;
2069
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2070
+ } | undefined;
1696
2071
  timeout?: string | undefined;
1697
2072
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1698
2073
  memorySize?: string | undefined;
@@ -1717,7 +2092,12 @@ declare const AppSchema: z.ZodObject<{
1717
2092
  minify?: boolean | undefined;
1718
2093
  warm?: number | undefined;
1719
2094
  vpc?: boolean | undefined;
1720
- log?: string | boolean | undefined;
2095
+ log?: string | boolean | {
2096
+ retention: string;
2097
+ format?: "text" | "json" | undefined;
2098
+ system?: "debug" | "info" | "warn" | undefined;
2099
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2100
+ } | undefined;
1721
2101
  timeout?: string | undefined;
1722
2102
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1723
2103
  memorySize?: string | undefined;
@@ -1742,7 +2122,12 @@ declare const AppSchema: z.ZodObject<{
1742
2122
  minify?: boolean | undefined;
1743
2123
  warm?: number | undefined;
1744
2124
  vpc?: boolean | undefined;
1745
- log?: string | boolean | undefined;
2125
+ log?: string | boolean | {
2126
+ retention: string;
2127
+ format?: "text" | "json" | undefined;
2128
+ system?: "debug" | "info" | "warn" | undefined;
2129
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2130
+ } | undefined;
1746
2131
  timeout?: string | undefined;
1747
2132
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1748
2133
  memorySize?: string | undefined;
@@ -1767,7 +2152,12 @@ declare const AppSchema: z.ZodObject<{
1767
2152
  minify?: boolean | undefined;
1768
2153
  warm?: number | undefined;
1769
2154
  vpc?: boolean | undefined;
1770
- log?: string | boolean | undefined;
2155
+ log?: string | boolean | {
2156
+ retention: string;
2157
+ format?: "text" | "json" | undefined;
2158
+ system?: "debug" | "info" | "warn" | undefined;
2159
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2160
+ } | undefined;
1771
2161
  timeout?: string | undefined;
1772
2162
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1773
2163
  memorySize?: string | undefined;
@@ -1792,7 +2182,12 @@ declare const AppSchema: z.ZodObject<{
1792
2182
  minify?: boolean | undefined;
1793
2183
  warm?: number | undefined;
1794
2184
  vpc?: boolean | undefined;
1795
- log?: string | boolean | undefined;
2185
+ log?: string | boolean | {
2186
+ retention: string;
2187
+ format?: "text" | "json" | undefined;
2188
+ system?: "debug" | "info" | "warn" | undefined;
2189
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2190
+ } | undefined;
1796
2191
  timeout?: string | undefined;
1797
2192
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1798
2193
  memorySize?: string | undefined;
@@ -1817,7 +2212,12 @@ declare const AppSchema: z.ZodObject<{
1817
2212
  minify?: boolean | undefined;
1818
2213
  warm?: number | undefined;
1819
2214
  vpc?: boolean | undefined;
1820
- log?: string | boolean | undefined;
2215
+ log?: string | boolean | {
2216
+ retention: string;
2217
+ format?: "text" | "json" | undefined;
2218
+ system?: "debug" | "info" | "warn" | undefined;
2219
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2220
+ } | undefined;
1821
2221
  timeout?: string | undefined;
1822
2222
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1823
2223
  memorySize?: string | undefined;
@@ -1842,7 +2242,12 @@ declare const AppSchema: z.ZodObject<{
1842
2242
  minify?: boolean | undefined;
1843
2243
  warm?: number | undefined;
1844
2244
  vpc?: boolean | undefined;
1845
- log?: string | boolean | undefined;
2245
+ log?: string | boolean | {
2246
+ retention: string;
2247
+ format?: "text" | "json" | undefined;
2248
+ system?: "debug" | "info" | "warn" | undefined;
2249
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2250
+ } | undefined;
1846
2251
  timeout?: string | undefined;
1847
2252
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1848
2253
  memorySize?: string | undefined;
@@ -1903,7 +2308,22 @@ declare const AppSchema: z.ZodObject<{
1903
2308
  minify: z.ZodDefault<z.ZodBoolean>;
1904
2309
  warm: z.ZodDefault<z.ZodNumber>;
1905
2310
  vpc: z.ZodDefault<z.ZodBoolean>;
1906
- log: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
2311
+ log: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
2312
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
2313
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
2314
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
2315
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
2316
+ }, "strip", z.ZodTypeAny, {
2317
+ retention: Duration;
2318
+ format?: "text" | "json" | undefined;
2319
+ system?: "debug" | "info" | "warn" | undefined;
2320
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2321
+ }, {
2322
+ retention: string;
2323
+ format?: "text" | "json" | undefined;
2324
+ system?: "debug" | "info" | "warn" | undefined;
2325
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2326
+ }>]>>;
1907
2327
  timeout: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
1908
2328
  runtime: z.ZodDefault<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
1909
2329
  memorySize: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -1942,7 +2362,17 @@ declare const AppSchema: z.ZodObject<{
1942
2362
  minify: boolean;
1943
2363
  warm: number;
1944
2364
  vpc: boolean;
1945
- log: (boolean | Duration) & (boolean | Duration | undefined);
2365
+ log: (boolean | Duration | {
2366
+ retention: Duration;
2367
+ format?: "text" | "json" | undefined;
2368
+ system?: "debug" | "info" | "warn" | undefined;
2369
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2370
+ }) & (boolean | Duration | {
2371
+ retention: Duration;
2372
+ format?: "text" | "json" | undefined;
2373
+ system?: "debug" | "info" | "warn" | undefined;
2374
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2375
+ } | undefined);
1946
2376
  timeout: Duration;
1947
2377
  runtime: "nodejs18.x" | "nodejs20.x";
1948
2378
  memorySize: Size;
@@ -1965,7 +2395,12 @@ declare const AppSchema: z.ZodObject<{
1965
2395
  minify?: boolean | undefined;
1966
2396
  warm?: number | undefined;
1967
2397
  vpc?: boolean | undefined;
1968
- log?: string | boolean | undefined;
2398
+ log?: string | boolean | {
2399
+ retention: string;
2400
+ format?: "text" | "json" | undefined;
2401
+ system?: "debug" | "info" | "warn" | undefined;
2402
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2403
+ } | undefined;
1969
2404
  timeout?: string | undefined;
1970
2405
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
1971
2406
  memorySize?: string | undefined;
@@ -2057,7 +2492,17 @@ declare const AppSchema: z.ZodObject<{
2057
2492
  minify: boolean;
2058
2493
  warm: number;
2059
2494
  vpc: boolean;
2060
- log: (boolean | Duration) & (boolean | Duration | undefined);
2495
+ log: (boolean | Duration | {
2496
+ retention: Duration;
2497
+ format?: "text" | "json" | undefined;
2498
+ system?: "debug" | "info" | "warn" | undefined;
2499
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2500
+ }) & (boolean | Duration | {
2501
+ retention: Duration;
2502
+ format?: "text" | "json" | undefined;
2503
+ system?: "debug" | "info" | "warn" | undefined;
2504
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2505
+ } | undefined);
2061
2506
  timeout: Duration;
2062
2507
  runtime: "nodejs18.x" | "nodejs20.x";
2063
2508
  memorySize: Size;
@@ -2108,7 +2553,12 @@ declare const AppSchema: z.ZodObject<{
2108
2553
  minify?: boolean | undefined;
2109
2554
  warm?: number | undefined;
2110
2555
  vpc?: boolean | undefined;
2111
- log?: boolean | Duration | undefined;
2556
+ log?: boolean | Duration | {
2557
+ retention: Duration;
2558
+ format?: "text" | "json" | undefined;
2559
+ system?: "debug" | "info" | "warn" | undefined;
2560
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2561
+ } | undefined;
2112
2562
  timeout?: Duration | undefined;
2113
2563
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2114
2564
  memorySize?: Size | undefined;
@@ -2133,7 +2583,12 @@ declare const AppSchema: z.ZodObject<{
2133
2583
  minify?: boolean | undefined;
2134
2584
  warm?: number | undefined;
2135
2585
  vpc?: boolean | undefined;
2136
- log?: boolean | Duration | undefined;
2586
+ log?: boolean | Duration | {
2587
+ retention: Duration;
2588
+ format?: "text" | "json" | undefined;
2589
+ system?: "debug" | "info" | "warn" | undefined;
2590
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2591
+ } | undefined;
2137
2592
  timeout?: Duration | undefined;
2138
2593
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2139
2594
  memorySize?: Size | undefined;
@@ -2158,7 +2613,12 @@ declare const AppSchema: z.ZodObject<{
2158
2613
  minify?: boolean | undefined;
2159
2614
  warm?: number | undefined;
2160
2615
  vpc?: boolean | undefined;
2161
- log?: boolean | Duration | undefined;
2616
+ log?: boolean | Duration | {
2617
+ retention: Duration;
2618
+ format?: "text" | "json" | undefined;
2619
+ system?: "debug" | "info" | "warn" | undefined;
2620
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2621
+ } | undefined;
2162
2622
  timeout?: Duration | undefined;
2163
2623
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2164
2624
  memorySize?: Size | undefined;
@@ -2183,7 +2643,12 @@ declare const AppSchema: z.ZodObject<{
2183
2643
  minify?: boolean | undefined;
2184
2644
  warm?: number | undefined;
2185
2645
  vpc?: boolean | undefined;
2186
- log?: boolean | Duration | undefined;
2646
+ log?: boolean | Duration | {
2647
+ retention: Duration;
2648
+ format?: "text" | "json" | undefined;
2649
+ system?: "debug" | "info" | "warn" | undefined;
2650
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2651
+ } | undefined;
2187
2652
  timeout?: Duration | undefined;
2188
2653
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2189
2654
  memorySize?: Size | undefined;
@@ -2208,7 +2673,12 @@ declare const AppSchema: z.ZodObject<{
2208
2673
  minify?: boolean | undefined;
2209
2674
  warm?: number | undefined;
2210
2675
  vpc?: boolean | undefined;
2211
- log?: boolean | Duration | undefined;
2676
+ log?: boolean | Duration | {
2677
+ retention: Duration;
2678
+ format?: "text" | "json" | undefined;
2679
+ system?: "debug" | "info" | "warn" | undefined;
2680
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2681
+ } | undefined;
2212
2682
  timeout?: Duration | undefined;
2213
2683
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2214
2684
  memorySize?: Size | undefined;
@@ -2233,7 +2703,12 @@ declare const AppSchema: z.ZodObject<{
2233
2703
  minify?: boolean | undefined;
2234
2704
  warm?: number | undefined;
2235
2705
  vpc?: boolean | undefined;
2236
- log?: boolean | Duration | undefined;
2706
+ log?: boolean | Duration | {
2707
+ retention: Duration;
2708
+ format?: "text" | "json" | undefined;
2709
+ system?: "debug" | "info" | "warn" | undefined;
2710
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2711
+ } | undefined;
2237
2712
  timeout?: Duration | undefined;
2238
2713
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2239
2714
  memorySize?: Size | undefined;
@@ -2258,7 +2733,12 @@ declare const AppSchema: z.ZodObject<{
2258
2733
  minify?: boolean | undefined;
2259
2734
  warm?: number | undefined;
2260
2735
  vpc?: boolean | undefined;
2261
- log?: boolean | Duration | undefined;
2736
+ log?: boolean | Duration | {
2737
+ retention: Duration;
2738
+ format?: "text" | "json" | undefined;
2739
+ system?: "debug" | "info" | "warn" | undefined;
2740
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2741
+ } | undefined;
2262
2742
  timeout?: Duration | undefined;
2263
2743
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2264
2744
  memorySize?: Size | undefined;
@@ -2283,7 +2763,12 @@ declare const AppSchema: z.ZodObject<{
2283
2763
  minify?: boolean | undefined;
2284
2764
  warm?: number | undefined;
2285
2765
  vpc?: boolean | undefined;
2286
- log?: boolean | Duration | undefined;
2766
+ log?: boolean | Duration | {
2767
+ retention: Duration;
2768
+ format?: "text" | "json" | undefined;
2769
+ system?: "debug" | "info" | "warn" | undefined;
2770
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2771
+ } | undefined;
2287
2772
  timeout?: Duration | undefined;
2288
2773
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2289
2774
  memorySize?: Size | undefined;
@@ -2308,7 +2793,12 @@ declare const AppSchema: z.ZodObject<{
2308
2793
  minify?: boolean | undefined;
2309
2794
  warm?: number | undefined;
2310
2795
  vpc?: boolean | undefined;
2311
- log?: boolean | Duration | undefined;
2796
+ log?: boolean | Duration | {
2797
+ retention: Duration;
2798
+ format?: "text" | "json" | undefined;
2799
+ system?: "debug" | "info" | "warn" | undefined;
2800
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2801
+ } | undefined;
2312
2802
  timeout?: Duration | undefined;
2313
2803
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2314
2804
  memorySize?: Size | undefined;
@@ -2396,7 +2886,12 @@ declare const AppSchema: z.ZodObject<{
2396
2886
  minify?: boolean | undefined;
2397
2887
  warm?: number | undefined;
2398
2888
  vpc?: boolean | undefined;
2399
- log?: string | boolean | undefined;
2889
+ log?: string | boolean | {
2890
+ retention: string;
2891
+ format?: "text" | "json" | undefined;
2892
+ system?: "debug" | "info" | "warn" | undefined;
2893
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2894
+ } | undefined;
2400
2895
  timeout?: string | undefined;
2401
2896
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2402
2897
  memorySize?: string | undefined;
@@ -2421,7 +2916,12 @@ declare const AppSchema: z.ZodObject<{
2421
2916
  minify?: boolean | undefined;
2422
2917
  warm?: number | undefined;
2423
2918
  vpc?: boolean | undefined;
2424
- log?: string | boolean | undefined;
2919
+ log?: string | boolean | {
2920
+ retention: string;
2921
+ format?: "text" | "json" | undefined;
2922
+ system?: "debug" | "info" | "warn" | undefined;
2923
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2924
+ } | undefined;
2425
2925
  timeout?: string | undefined;
2426
2926
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2427
2927
  memorySize?: string | undefined;
@@ -2446,7 +2946,12 @@ declare const AppSchema: z.ZodObject<{
2446
2946
  minify?: boolean | undefined;
2447
2947
  warm?: number | undefined;
2448
2948
  vpc?: boolean | undefined;
2449
- log?: string | boolean | undefined;
2949
+ log?: string | boolean | {
2950
+ retention: string;
2951
+ format?: "text" | "json" | undefined;
2952
+ system?: "debug" | "info" | "warn" | undefined;
2953
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2954
+ } | undefined;
2450
2955
  timeout?: string | undefined;
2451
2956
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2452
2957
  memorySize?: string | undefined;
@@ -2471,7 +2976,12 @@ declare const AppSchema: z.ZodObject<{
2471
2976
  minify?: boolean | undefined;
2472
2977
  warm?: number | undefined;
2473
2978
  vpc?: boolean | undefined;
2474
- log?: string | boolean | undefined;
2979
+ log?: string | boolean | {
2980
+ retention: string;
2981
+ format?: "text" | "json" | undefined;
2982
+ system?: "debug" | "info" | "warn" | undefined;
2983
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
2984
+ } | undefined;
2475
2985
  timeout?: string | undefined;
2476
2986
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2477
2987
  memorySize?: string | undefined;
@@ -2496,7 +3006,12 @@ declare const AppSchema: z.ZodObject<{
2496
3006
  minify?: boolean | undefined;
2497
3007
  warm?: number | undefined;
2498
3008
  vpc?: boolean | undefined;
2499
- log?: string | boolean | undefined;
3009
+ log?: string | boolean | {
3010
+ retention: string;
3011
+ format?: "text" | "json" | undefined;
3012
+ system?: "debug" | "info" | "warn" | undefined;
3013
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3014
+ } | undefined;
2500
3015
  timeout?: string | undefined;
2501
3016
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2502
3017
  memorySize?: string | undefined;
@@ -2521,7 +3036,12 @@ declare const AppSchema: z.ZodObject<{
2521
3036
  minify?: boolean | undefined;
2522
3037
  warm?: number | undefined;
2523
3038
  vpc?: boolean | undefined;
2524
- log?: string | boolean | undefined;
3039
+ log?: string | boolean | {
3040
+ retention: string;
3041
+ format?: "text" | "json" | undefined;
3042
+ system?: "debug" | "info" | "warn" | undefined;
3043
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3044
+ } | undefined;
2525
3045
  timeout?: string | undefined;
2526
3046
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2527
3047
  memorySize?: string | undefined;
@@ -2546,7 +3066,12 @@ declare const AppSchema: z.ZodObject<{
2546
3066
  minify?: boolean | undefined;
2547
3067
  warm?: number | undefined;
2548
3068
  vpc?: boolean | undefined;
2549
- log?: string | boolean | undefined;
3069
+ log?: string | boolean | {
3070
+ retention: string;
3071
+ format?: "text" | "json" | undefined;
3072
+ system?: "debug" | "info" | "warn" | undefined;
3073
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3074
+ } | undefined;
2550
3075
  timeout?: string | undefined;
2551
3076
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2552
3077
  memorySize?: string | undefined;
@@ -2571,7 +3096,12 @@ declare const AppSchema: z.ZodObject<{
2571
3096
  minify?: boolean | undefined;
2572
3097
  warm?: number | undefined;
2573
3098
  vpc?: boolean | undefined;
2574
- log?: string | boolean | undefined;
3099
+ log?: string | boolean | {
3100
+ retention: string;
3101
+ format?: "text" | "json" | undefined;
3102
+ system?: "debug" | "info" | "warn" | undefined;
3103
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3104
+ } | undefined;
2575
3105
  timeout?: string | undefined;
2576
3106
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2577
3107
  memorySize?: string | undefined;
@@ -2596,7 +3126,12 @@ declare const AppSchema: z.ZodObject<{
2596
3126
  minify?: boolean | undefined;
2597
3127
  warm?: number | undefined;
2598
3128
  vpc?: boolean | undefined;
2599
- log?: string | boolean | undefined;
3129
+ log?: string | boolean | {
3130
+ retention: string;
3131
+ format?: "text" | "json" | undefined;
3132
+ system?: "debug" | "info" | "warn" | undefined;
3133
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3134
+ } | undefined;
2600
3135
  timeout?: string | undefined;
2601
3136
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2602
3137
  memorySize?: string | undefined;
@@ -2631,7 +3166,12 @@ declare const AppSchema: z.ZodObject<{
2631
3166
  minify?: boolean | undefined;
2632
3167
  warm?: number | undefined;
2633
3168
  vpc?: boolean | undefined;
2634
- log?: string | boolean | undefined;
3169
+ log?: string | boolean | {
3170
+ retention: string;
3171
+ format?: "text" | "json" | undefined;
3172
+ system?: "debug" | "info" | "warn" | undefined;
3173
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3174
+ } | undefined;
2635
3175
  timeout?: string | undefined;
2636
3176
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2637
3177
  memorySize?: string | undefined;
@@ -2687,7 +3227,17 @@ declare const AppSchema: z.ZodObject<{
2687
3227
  minify: boolean;
2688
3228
  warm: number;
2689
3229
  vpc: boolean;
2690
- log: (boolean | Duration) & (boolean | Duration | undefined);
3230
+ log: (boolean | Duration | {
3231
+ retention: Duration;
3232
+ format?: "text" | "json" | undefined;
3233
+ system?: "debug" | "info" | "warn" | undefined;
3234
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3235
+ }) & (boolean | Duration | {
3236
+ retention: Duration;
3237
+ format?: "text" | "json" | undefined;
3238
+ system?: "debug" | "info" | "warn" | undefined;
3239
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3240
+ } | undefined);
2691
3241
  timeout: Duration;
2692
3242
  runtime: "nodejs18.x" | "nodejs20.x";
2693
3243
  memorySize: Size;
@@ -2738,7 +3288,12 @@ declare const AppSchema: z.ZodObject<{
2738
3288
  minify?: boolean | undefined;
2739
3289
  warm?: number | undefined;
2740
3290
  vpc?: boolean | undefined;
2741
- log?: boolean | Duration | undefined;
3291
+ log?: boolean | Duration | {
3292
+ retention: Duration;
3293
+ format?: "text" | "json" | undefined;
3294
+ system?: "debug" | "info" | "warn" | undefined;
3295
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3296
+ } | undefined;
2742
3297
  timeout?: Duration | undefined;
2743
3298
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2744
3299
  memorySize?: Size | undefined;
@@ -2763,7 +3318,12 @@ declare const AppSchema: z.ZodObject<{
2763
3318
  minify?: boolean | undefined;
2764
3319
  warm?: number | undefined;
2765
3320
  vpc?: boolean | undefined;
2766
- log?: boolean | Duration | undefined;
3321
+ log?: boolean | Duration | {
3322
+ retention: Duration;
3323
+ format?: "text" | "json" | undefined;
3324
+ system?: "debug" | "info" | "warn" | undefined;
3325
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3326
+ } | undefined;
2767
3327
  timeout?: Duration | undefined;
2768
3328
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2769
3329
  memorySize?: Size | undefined;
@@ -2788,7 +3348,12 @@ declare const AppSchema: z.ZodObject<{
2788
3348
  minify?: boolean | undefined;
2789
3349
  warm?: number | undefined;
2790
3350
  vpc?: boolean | undefined;
2791
- log?: boolean | Duration | undefined;
3351
+ log?: boolean | Duration | {
3352
+ retention: Duration;
3353
+ format?: "text" | "json" | undefined;
3354
+ system?: "debug" | "info" | "warn" | undefined;
3355
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3356
+ } | undefined;
2792
3357
  timeout?: Duration | undefined;
2793
3358
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2794
3359
  memorySize?: Size | undefined;
@@ -2813,7 +3378,12 @@ declare const AppSchema: z.ZodObject<{
2813
3378
  minify?: boolean | undefined;
2814
3379
  warm?: number | undefined;
2815
3380
  vpc?: boolean | undefined;
2816
- log?: boolean | Duration | undefined;
3381
+ log?: boolean | Duration | {
3382
+ retention: Duration;
3383
+ format?: "text" | "json" | undefined;
3384
+ system?: "debug" | "info" | "warn" | undefined;
3385
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3386
+ } | undefined;
2817
3387
  timeout?: Duration | undefined;
2818
3388
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2819
3389
  memorySize?: Size | undefined;
@@ -2838,7 +3408,12 @@ declare const AppSchema: z.ZodObject<{
2838
3408
  minify?: boolean | undefined;
2839
3409
  warm?: number | undefined;
2840
3410
  vpc?: boolean | undefined;
2841
- log?: boolean | Duration | undefined;
3411
+ log?: boolean | Duration | {
3412
+ retention: Duration;
3413
+ format?: "text" | "json" | undefined;
3414
+ system?: "debug" | "info" | "warn" | undefined;
3415
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3416
+ } | undefined;
2842
3417
  timeout?: Duration | undefined;
2843
3418
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2844
3419
  memorySize?: Size | undefined;
@@ -2863,7 +3438,12 @@ declare const AppSchema: z.ZodObject<{
2863
3438
  minify?: boolean | undefined;
2864
3439
  warm?: number | undefined;
2865
3440
  vpc?: boolean | undefined;
2866
- log?: boolean | Duration | undefined;
3441
+ log?: boolean | Duration | {
3442
+ retention: Duration;
3443
+ format?: "text" | "json" | undefined;
3444
+ system?: "debug" | "info" | "warn" | undefined;
3445
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3446
+ } | undefined;
2867
3447
  timeout?: Duration | undefined;
2868
3448
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2869
3449
  memorySize?: Size | undefined;
@@ -2888,7 +3468,12 @@ declare const AppSchema: z.ZodObject<{
2888
3468
  minify?: boolean | undefined;
2889
3469
  warm?: number | undefined;
2890
3470
  vpc?: boolean | undefined;
2891
- log?: boolean | Duration | undefined;
3471
+ log?: boolean | Duration | {
3472
+ retention: Duration;
3473
+ format?: "text" | "json" | undefined;
3474
+ system?: "debug" | "info" | "warn" | undefined;
3475
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3476
+ } | undefined;
2892
3477
  timeout?: Duration | undefined;
2893
3478
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2894
3479
  memorySize?: Size | undefined;
@@ -2913,7 +3498,12 @@ declare const AppSchema: z.ZodObject<{
2913
3498
  minify?: boolean | undefined;
2914
3499
  warm?: number | undefined;
2915
3500
  vpc?: boolean | undefined;
2916
- log?: boolean | Duration | undefined;
3501
+ log?: boolean | Duration | {
3502
+ retention: Duration;
3503
+ format?: "text" | "json" | undefined;
3504
+ system?: "debug" | "info" | "warn" | undefined;
3505
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3506
+ } | undefined;
2917
3507
  timeout?: Duration | undefined;
2918
3508
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2919
3509
  memorySize?: Size | undefined;
@@ -2938,7 +3528,12 @@ declare const AppSchema: z.ZodObject<{
2938
3528
  minify?: boolean | undefined;
2939
3529
  warm?: number | undefined;
2940
3530
  vpc?: boolean | undefined;
2941
- log?: boolean | Duration | undefined;
3531
+ log?: boolean | Duration | {
3532
+ retention: Duration;
3533
+ format?: "text" | "json" | undefined;
3534
+ system?: "debug" | "info" | "warn" | undefined;
3535
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3536
+ } | undefined;
2942
3537
  timeout?: Duration | undefined;
2943
3538
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
2944
3539
  memorySize?: Size | undefined;
@@ -3034,7 +3629,12 @@ declare const AppSchema: z.ZodObject<{
3034
3629
  minify?: boolean | undefined;
3035
3630
  warm?: number | undefined;
3036
3631
  vpc?: boolean | undefined;
3037
- log?: string | boolean | undefined;
3632
+ log?: string | boolean | {
3633
+ retention: string;
3634
+ format?: "text" | "json" | undefined;
3635
+ system?: "debug" | "info" | "warn" | undefined;
3636
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3637
+ } | undefined;
3038
3638
  timeout?: string | undefined;
3039
3639
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3040
3640
  memorySize?: string | undefined;
@@ -3059,7 +3659,12 @@ declare const AppSchema: z.ZodObject<{
3059
3659
  minify?: boolean | undefined;
3060
3660
  warm?: number | undefined;
3061
3661
  vpc?: boolean | undefined;
3062
- log?: string | boolean | undefined;
3662
+ log?: string | boolean | {
3663
+ retention: string;
3664
+ format?: "text" | "json" | undefined;
3665
+ system?: "debug" | "info" | "warn" | undefined;
3666
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3667
+ } | undefined;
3063
3668
  timeout?: string | undefined;
3064
3669
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3065
3670
  memorySize?: string | undefined;
@@ -3084,7 +3689,12 @@ declare const AppSchema: z.ZodObject<{
3084
3689
  minify?: boolean | undefined;
3085
3690
  warm?: number | undefined;
3086
3691
  vpc?: boolean | undefined;
3087
- log?: string | boolean | undefined;
3692
+ log?: string | boolean | {
3693
+ retention: string;
3694
+ format?: "text" | "json" | undefined;
3695
+ system?: "debug" | "info" | "warn" | undefined;
3696
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3697
+ } | undefined;
3088
3698
  timeout?: string | undefined;
3089
3699
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3090
3700
  memorySize?: string | undefined;
@@ -3109,7 +3719,12 @@ declare const AppSchema: z.ZodObject<{
3109
3719
  minify?: boolean | undefined;
3110
3720
  warm?: number | undefined;
3111
3721
  vpc?: boolean | undefined;
3112
- log?: string | boolean | undefined;
3722
+ log?: string | boolean | {
3723
+ retention: string;
3724
+ format?: "text" | "json" | undefined;
3725
+ system?: "debug" | "info" | "warn" | undefined;
3726
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3727
+ } | undefined;
3113
3728
  timeout?: string | undefined;
3114
3729
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3115
3730
  memorySize?: string | undefined;
@@ -3134,7 +3749,12 @@ declare const AppSchema: z.ZodObject<{
3134
3749
  minify?: boolean | undefined;
3135
3750
  warm?: number | undefined;
3136
3751
  vpc?: boolean | undefined;
3137
- log?: string | boolean | undefined;
3752
+ log?: string | boolean | {
3753
+ retention: string;
3754
+ format?: "text" | "json" | undefined;
3755
+ system?: "debug" | "info" | "warn" | undefined;
3756
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3757
+ } | undefined;
3138
3758
  timeout?: string | undefined;
3139
3759
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3140
3760
  memorySize?: string | undefined;
@@ -3159,7 +3779,12 @@ declare const AppSchema: z.ZodObject<{
3159
3779
  minify?: boolean | undefined;
3160
3780
  warm?: number | undefined;
3161
3781
  vpc?: boolean | undefined;
3162
- log?: string | boolean | undefined;
3782
+ log?: string | boolean | {
3783
+ retention: string;
3784
+ format?: "text" | "json" | undefined;
3785
+ system?: "debug" | "info" | "warn" | undefined;
3786
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3787
+ } | undefined;
3163
3788
  timeout?: string | undefined;
3164
3789
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3165
3790
  memorySize?: string | undefined;
@@ -3184,7 +3809,12 @@ declare const AppSchema: z.ZodObject<{
3184
3809
  minify?: boolean | undefined;
3185
3810
  warm?: number | undefined;
3186
3811
  vpc?: boolean | undefined;
3187
- log?: string | boolean | undefined;
3812
+ log?: string | boolean | {
3813
+ retention: string;
3814
+ format?: "text" | "json" | undefined;
3815
+ system?: "debug" | "info" | "warn" | undefined;
3816
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3817
+ } | undefined;
3188
3818
  timeout?: string | undefined;
3189
3819
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3190
3820
  memorySize?: string | undefined;
@@ -3209,7 +3839,12 @@ declare const AppSchema: z.ZodObject<{
3209
3839
  minify?: boolean | undefined;
3210
3840
  warm?: number | undefined;
3211
3841
  vpc?: boolean | undefined;
3212
- log?: string | boolean | undefined;
3842
+ log?: string | boolean | {
3843
+ retention: string;
3844
+ format?: "text" | "json" | undefined;
3845
+ system?: "debug" | "info" | "warn" | undefined;
3846
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3847
+ } | undefined;
3213
3848
  timeout?: string | undefined;
3214
3849
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3215
3850
  memorySize?: string | undefined;
@@ -3234,7 +3869,12 @@ declare const AppSchema: z.ZodObject<{
3234
3869
  minify?: boolean | undefined;
3235
3870
  warm?: number | undefined;
3236
3871
  vpc?: boolean | undefined;
3237
- log?: string | boolean | undefined;
3872
+ log?: string | boolean | {
3873
+ retention: string;
3874
+ format?: "text" | "json" | undefined;
3875
+ system?: "debug" | "info" | "warn" | undefined;
3876
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3877
+ } | undefined;
3238
3878
  timeout?: string | undefined;
3239
3879
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3240
3880
  memorySize?: string | undefined;
@@ -3269,7 +3909,12 @@ declare const AppSchema: z.ZodObject<{
3269
3909
  minify?: boolean | undefined;
3270
3910
  warm?: number | undefined;
3271
3911
  vpc?: boolean | undefined;
3272
- log?: string | boolean | undefined;
3912
+ log?: string | boolean | {
3913
+ retention: string;
3914
+ format?: "text" | "json" | undefined;
3915
+ system?: "debug" | "info" | "warn" | undefined;
3916
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3917
+ } | undefined;
3273
3918
  timeout?: string | undefined;
3274
3919
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3275
3920
  memorySize?: string | undefined;
@@ -3327,7 +3972,22 @@ declare const StackSchema: z.ZodObject<{
3327
3972
  minify: z.ZodOptional<z.ZodBoolean>;
3328
3973
  warm: z.ZodOptional<z.ZodNumber>;
3329
3974
  vpc: z.ZodOptional<z.ZodBoolean>;
3330
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
3975
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
3976
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
3977
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
3978
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
3979
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
3980
+ }, "strip", z.ZodTypeAny, {
3981
+ retention: Duration;
3982
+ format?: "text" | "json" | undefined;
3983
+ system?: "debug" | "info" | "warn" | undefined;
3984
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3985
+ }, {
3986
+ retention: string;
3987
+ format?: "text" | "json" | undefined;
3988
+ system?: "debug" | "info" | "warn" | undefined;
3989
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
3990
+ }>]>>;
3331
3991
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3332
3992
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3333
3993
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3367,7 +4027,12 @@ declare const StackSchema: z.ZodObject<{
3367
4027
  minify?: boolean | undefined;
3368
4028
  warm?: number | undefined;
3369
4029
  vpc?: boolean | undefined;
3370
- log?: boolean | Duration | undefined;
4030
+ log?: boolean | Duration | {
4031
+ retention: Duration;
4032
+ format?: "text" | "json" | undefined;
4033
+ system?: "debug" | "info" | "warn" | undefined;
4034
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4035
+ } | undefined;
3371
4036
  timeout?: Duration | undefined;
3372
4037
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3373
4038
  memorySize?: Size | undefined;
@@ -3391,7 +4056,12 @@ declare const StackSchema: z.ZodObject<{
3391
4056
  minify?: boolean | undefined;
3392
4057
  warm?: number | undefined;
3393
4058
  vpc?: boolean | undefined;
3394
- log?: string | boolean | undefined;
4059
+ log?: string | boolean | {
4060
+ retention: string;
4061
+ format?: "text" | "json" | undefined;
4062
+ system?: "debug" | "info" | "warn" | undefined;
4063
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4064
+ } | undefined;
3395
4065
  timeout?: string | undefined;
3396
4066
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3397
4067
  memorySize?: string | undefined;
@@ -3419,7 +4089,22 @@ declare const StackSchema: z.ZodObject<{
3419
4089
  minify: z.ZodOptional<z.ZodBoolean>;
3420
4090
  warm: z.ZodOptional<z.ZodNumber>;
3421
4091
  vpc: z.ZodOptional<z.ZodBoolean>;
3422
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4092
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4093
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4094
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4095
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4096
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4097
+ }, "strip", z.ZodTypeAny, {
4098
+ retention: Duration;
4099
+ format?: "text" | "json" | undefined;
4100
+ system?: "debug" | "info" | "warn" | undefined;
4101
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4102
+ }, {
4103
+ retention: string;
4104
+ format?: "text" | "json" | undefined;
4105
+ system?: "debug" | "info" | "warn" | undefined;
4106
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4107
+ }>]>>;
3423
4108
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3424
4109
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3425
4110
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3459,7 +4144,12 @@ declare const StackSchema: z.ZodObject<{
3459
4144
  minify?: boolean | undefined;
3460
4145
  warm?: number | undefined;
3461
4146
  vpc?: boolean | undefined;
3462
- log?: boolean | Duration | undefined;
4147
+ log?: boolean | Duration | {
4148
+ retention: Duration;
4149
+ format?: "text" | "json" | undefined;
4150
+ system?: "debug" | "info" | "warn" | undefined;
4151
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4152
+ } | undefined;
3463
4153
  timeout?: Duration | undefined;
3464
4154
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3465
4155
  memorySize?: Size | undefined;
@@ -3483,7 +4173,12 @@ declare const StackSchema: z.ZodObject<{
3483
4173
  minify?: boolean | undefined;
3484
4174
  warm?: number | undefined;
3485
4175
  vpc?: boolean | undefined;
3486
- log?: string | boolean | undefined;
4176
+ log?: string | boolean | {
4177
+ retention: string;
4178
+ format?: "text" | "json" | undefined;
4179
+ system?: "debug" | "info" | "warn" | undefined;
4180
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4181
+ } | undefined;
3487
4182
  timeout?: string | undefined;
3488
4183
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3489
4184
  memorySize?: string | undefined;
@@ -3508,7 +4203,22 @@ declare const StackSchema: z.ZodObject<{
3508
4203
  minify: z.ZodOptional<z.ZodBoolean>;
3509
4204
  warm: z.ZodOptional<z.ZodNumber>;
3510
4205
  vpc: z.ZodOptional<z.ZodBoolean>;
3511
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4206
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4207
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4208
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4209
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4210
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4211
+ }, "strip", z.ZodTypeAny, {
4212
+ retention: Duration;
4213
+ format?: "text" | "json" | undefined;
4214
+ system?: "debug" | "info" | "warn" | undefined;
4215
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4216
+ }, {
4217
+ retention: string;
4218
+ format?: "text" | "json" | undefined;
4219
+ system?: "debug" | "info" | "warn" | undefined;
4220
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4221
+ }>]>>;
3512
4222
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3513
4223
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3514
4224
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3548,7 +4258,12 @@ declare const StackSchema: z.ZodObject<{
3548
4258
  minify?: boolean | undefined;
3549
4259
  warm?: number | undefined;
3550
4260
  vpc?: boolean | undefined;
3551
- log?: boolean | Duration | undefined;
4261
+ log?: boolean | Duration | {
4262
+ retention: Duration;
4263
+ format?: "text" | "json" | undefined;
4264
+ system?: "debug" | "info" | "warn" | undefined;
4265
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4266
+ } | undefined;
3552
4267
  timeout?: Duration | undefined;
3553
4268
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3554
4269
  memorySize?: Size | undefined;
@@ -3572,7 +4287,12 @@ declare const StackSchema: z.ZodObject<{
3572
4287
  minify?: boolean | undefined;
3573
4288
  warm?: number | undefined;
3574
4289
  vpc?: boolean | undefined;
3575
- log?: string | boolean | undefined;
4290
+ log?: string | boolean | {
4291
+ retention: string;
4292
+ format?: "text" | "json" | undefined;
4293
+ system?: "debug" | "info" | "warn" | undefined;
4294
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4295
+ } | undefined;
3576
4296
  timeout?: string | undefined;
3577
4297
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3578
4298
  memorySize?: string | undefined;
@@ -3597,7 +4317,22 @@ declare const StackSchema: z.ZodObject<{
3597
4317
  minify: z.ZodOptional<z.ZodBoolean>;
3598
4318
  warm: z.ZodOptional<z.ZodNumber>;
3599
4319
  vpc: z.ZodOptional<z.ZodBoolean>;
3600
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4320
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4321
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4322
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4323
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4324
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4325
+ }, "strip", z.ZodTypeAny, {
4326
+ retention: Duration;
4327
+ format?: "text" | "json" | undefined;
4328
+ system?: "debug" | "info" | "warn" | undefined;
4329
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4330
+ }, {
4331
+ retention: string;
4332
+ format?: "text" | "json" | undefined;
4333
+ system?: "debug" | "info" | "warn" | undefined;
4334
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4335
+ }>]>>;
3601
4336
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3602
4337
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3603
4338
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3637,7 +4372,12 @@ declare const StackSchema: z.ZodObject<{
3637
4372
  minify?: boolean | undefined;
3638
4373
  warm?: number | undefined;
3639
4374
  vpc?: boolean | undefined;
3640
- log?: boolean | Duration | undefined;
4375
+ log?: boolean | Duration | {
4376
+ retention: Duration;
4377
+ format?: "text" | "json" | undefined;
4378
+ system?: "debug" | "info" | "warn" | undefined;
4379
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4380
+ } | undefined;
3641
4381
  timeout?: Duration | undefined;
3642
4382
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3643
4383
  memorySize?: Size | undefined;
@@ -3661,7 +4401,12 @@ declare const StackSchema: z.ZodObject<{
3661
4401
  minify?: boolean | undefined;
3662
4402
  warm?: number | undefined;
3663
4403
  vpc?: boolean | undefined;
3664
- log?: string | boolean | undefined;
4404
+ log?: string | boolean | {
4405
+ retention: string;
4406
+ format?: "text" | "json" | undefined;
4407
+ system?: "debug" | "info" | "warn" | undefined;
4408
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4409
+ } | undefined;
3665
4410
  timeout?: string | undefined;
3666
4411
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3667
4412
  memorySize?: string | undefined;
@@ -3686,7 +4431,22 @@ declare const StackSchema: z.ZodObject<{
3686
4431
  minify: z.ZodOptional<z.ZodBoolean>;
3687
4432
  warm: z.ZodOptional<z.ZodNumber>;
3688
4433
  vpc: z.ZodOptional<z.ZodBoolean>;
3689
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4434
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4435
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4436
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4437
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4438
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4439
+ }, "strip", z.ZodTypeAny, {
4440
+ retention: Duration;
4441
+ format?: "text" | "json" | undefined;
4442
+ system?: "debug" | "info" | "warn" | undefined;
4443
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4444
+ }, {
4445
+ retention: string;
4446
+ format?: "text" | "json" | undefined;
4447
+ system?: "debug" | "info" | "warn" | undefined;
4448
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4449
+ }>]>>;
3690
4450
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3691
4451
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3692
4452
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3726,7 +4486,12 @@ declare const StackSchema: z.ZodObject<{
3726
4486
  minify?: boolean | undefined;
3727
4487
  warm?: number | undefined;
3728
4488
  vpc?: boolean | undefined;
3729
- log?: boolean | Duration | undefined;
4489
+ log?: boolean | Duration | {
4490
+ retention: Duration;
4491
+ format?: "text" | "json" | undefined;
4492
+ system?: "debug" | "info" | "warn" | undefined;
4493
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4494
+ } | undefined;
3730
4495
  timeout?: Duration | undefined;
3731
4496
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3732
4497
  memorySize?: Size | undefined;
@@ -3750,7 +4515,12 @@ declare const StackSchema: z.ZodObject<{
3750
4515
  minify?: boolean | undefined;
3751
4516
  warm?: number | undefined;
3752
4517
  vpc?: boolean | undefined;
3753
- log?: string | boolean | undefined;
4518
+ log?: string | boolean | {
4519
+ retention: string;
4520
+ format?: "text" | "json" | undefined;
4521
+ system?: "debug" | "info" | "warn" | undefined;
4522
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4523
+ } | undefined;
3754
4524
  timeout?: string | undefined;
3755
4525
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3756
4526
  memorySize?: string | undefined;
@@ -3775,7 +4545,22 @@ declare const StackSchema: z.ZodObject<{
3775
4545
  minify: z.ZodOptional<z.ZodBoolean>;
3776
4546
  warm: z.ZodOptional<z.ZodNumber>;
3777
4547
  vpc: z.ZodOptional<z.ZodBoolean>;
3778
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4548
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4549
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4550
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4551
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4552
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4553
+ }, "strip", z.ZodTypeAny, {
4554
+ retention: Duration;
4555
+ format?: "text" | "json" | undefined;
4556
+ system?: "debug" | "info" | "warn" | undefined;
4557
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4558
+ }, {
4559
+ retention: string;
4560
+ format?: "text" | "json" | undefined;
4561
+ system?: "debug" | "info" | "warn" | undefined;
4562
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4563
+ }>]>>;
3779
4564
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3780
4565
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3781
4566
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3815,7 +4600,12 @@ declare const StackSchema: z.ZodObject<{
3815
4600
  minify?: boolean | undefined;
3816
4601
  warm?: number | undefined;
3817
4602
  vpc?: boolean | undefined;
3818
- log?: boolean | Duration | undefined;
4603
+ log?: boolean | Duration | {
4604
+ retention: Duration;
4605
+ format?: "text" | "json" | undefined;
4606
+ system?: "debug" | "info" | "warn" | undefined;
4607
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4608
+ } | undefined;
3819
4609
  timeout?: Duration | undefined;
3820
4610
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3821
4611
  memorySize?: Size | undefined;
@@ -3839,7 +4629,12 @@ declare const StackSchema: z.ZodObject<{
3839
4629
  minify?: boolean | undefined;
3840
4630
  warm?: number | undefined;
3841
4631
  vpc?: boolean | undefined;
3842
- log?: string | boolean | undefined;
4632
+ log?: string | boolean | {
4633
+ retention: string;
4634
+ format?: "text" | "json" | undefined;
4635
+ system?: "debug" | "info" | "warn" | undefined;
4636
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4637
+ } | undefined;
3843
4638
  timeout?: string | undefined;
3844
4639
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3845
4640
  memorySize?: string | undefined;
@@ -3864,7 +4659,22 @@ declare const StackSchema: z.ZodObject<{
3864
4659
  minify: z.ZodOptional<z.ZodBoolean>;
3865
4660
  warm: z.ZodOptional<z.ZodNumber>;
3866
4661
  vpc: z.ZodOptional<z.ZodBoolean>;
3867
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4662
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4663
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4664
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4665
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4666
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4667
+ }, "strip", z.ZodTypeAny, {
4668
+ retention: Duration;
4669
+ format?: "text" | "json" | undefined;
4670
+ system?: "debug" | "info" | "warn" | undefined;
4671
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4672
+ }, {
4673
+ retention: string;
4674
+ format?: "text" | "json" | undefined;
4675
+ system?: "debug" | "info" | "warn" | undefined;
4676
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4677
+ }>]>>;
3868
4678
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3869
4679
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3870
4680
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3904,7 +4714,12 @@ declare const StackSchema: z.ZodObject<{
3904
4714
  minify?: boolean | undefined;
3905
4715
  warm?: number | undefined;
3906
4716
  vpc?: boolean | undefined;
3907
- log?: boolean | Duration | undefined;
4717
+ log?: boolean | Duration | {
4718
+ retention: Duration;
4719
+ format?: "text" | "json" | undefined;
4720
+ system?: "debug" | "info" | "warn" | undefined;
4721
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4722
+ } | undefined;
3908
4723
  timeout?: Duration | undefined;
3909
4724
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3910
4725
  memorySize?: Size | undefined;
@@ -3928,7 +4743,12 @@ declare const StackSchema: z.ZodObject<{
3928
4743
  minify?: boolean | undefined;
3929
4744
  warm?: number | undefined;
3930
4745
  vpc?: boolean | undefined;
3931
- log?: string | boolean | undefined;
4746
+ log?: string | boolean | {
4747
+ retention: string;
4748
+ format?: "text" | "json" | undefined;
4749
+ system?: "debug" | "info" | "warn" | undefined;
4750
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4751
+ } | undefined;
3932
4752
  timeout?: string | undefined;
3933
4753
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3934
4754
  memorySize?: string | undefined;
@@ -3953,7 +4773,22 @@ declare const StackSchema: z.ZodObject<{
3953
4773
  minify: z.ZodOptional<z.ZodBoolean>;
3954
4774
  warm: z.ZodOptional<z.ZodNumber>;
3955
4775
  vpc: z.ZodOptional<z.ZodBoolean>;
3956
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4776
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4777
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4778
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4779
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4780
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4781
+ }, "strip", z.ZodTypeAny, {
4782
+ retention: Duration;
4783
+ format?: "text" | "json" | undefined;
4784
+ system?: "debug" | "info" | "warn" | undefined;
4785
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4786
+ }, {
4787
+ retention: string;
4788
+ format?: "text" | "json" | undefined;
4789
+ system?: "debug" | "info" | "warn" | undefined;
4790
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4791
+ }>]>>;
3957
4792
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
3958
4793
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
3959
4794
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -3993,7 +4828,12 @@ declare const StackSchema: z.ZodObject<{
3993
4828
  minify?: boolean | undefined;
3994
4829
  warm?: number | undefined;
3995
4830
  vpc?: boolean | undefined;
3996
- log?: boolean | Duration | undefined;
4831
+ log?: boolean | Duration | {
4832
+ retention: Duration;
4833
+ format?: "text" | "json" | undefined;
4834
+ system?: "debug" | "info" | "warn" | undefined;
4835
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4836
+ } | undefined;
3997
4837
  timeout?: Duration | undefined;
3998
4838
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
3999
4839
  memorySize?: Size | undefined;
@@ -4017,7 +4857,12 @@ declare const StackSchema: z.ZodObject<{
4017
4857
  minify?: boolean | undefined;
4018
4858
  warm?: number | undefined;
4019
4859
  vpc?: boolean | undefined;
4020
- log?: string | boolean | undefined;
4860
+ log?: string | boolean | {
4861
+ retention: string;
4862
+ format?: "text" | "json" | undefined;
4863
+ system?: "debug" | "info" | "warn" | undefined;
4864
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4865
+ } | undefined;
4021
4866
  timeout?: string | undefined;
4022
4867
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4023
4868
  memorySize?: string | undefined;
@@ -4042,7 +4887,22 @@ declare const StackSchema: z.ZodObject<{
4042
4887
  minify: z.ZodOptional<z.ZodBoolean>;
4043
4888
  warm: z.ZodOptional<z.ZodNumber>;
4044
4889
  vpc: z.ZodOptional<z.ZodBoolean>;
4045
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
4890
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
4891
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
4892
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
4893
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
4894
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
4895
+ }, "strip", z.ZodTypeAny, {
4896
+ retention: Duration;
4897
+ format?: "text" | "json" | undefined;
4898
+ system?: "debug" | "info" | "warn" | undefined;
4899
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4900
+ }, {
4901
+ retention: string;
4902
+ format?: "text" | "json" | undefined;
4903
+ system?: "debug" | "info" | "warn" | undefined;
4904
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4905
+ }>]>>;
4046
4906
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
4047
4907
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
4048
4908
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -4082,7 +4942,12 @@ declare const StackSchema: z.ZodObject<{
4082
4942
  minify?: boolean | undefined;
4083
4943
  warm?: number | undefined;
4084
4944
  vpc?: boolean | undefined;
4085
- log?: boolean | Duration | undefined;
4945
+ log?: boolean | Duration | {
4946
+ retention: Duration;
4947
+ format?: "text" | "json" | undefined;
4948
+ system?: "debug" | "info" | "warn" | undefined;
4949
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4950
+ } | undefined;
4086
4951
  timeout?: Duration | undefined;
4087
4952
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4088
4953
  memorySize?: Size | undefined;
@@ -4106,7 +4971,12 @@ declare const StackSchema: z.ZodObject<{
4106
4971
  minify?: boolean | undefined;
4107
4972
  warm?: number | undefined;
4108
4973
  vpc?: boolean | undefined;
4109
- log?: string | boolean | undefined;
4974
+ log?: string | boolean | {
4975
+ retention: string;
4976
+ format?: "text" | "json" | undefined;
4977
+ system?: "debug" | "info" | "warn" | undefined;
4978
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
4979
+ } | undefined;
4110
4980
  timeout?: string | undefined;
4111
4981
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4112
4982
  memorySize?: string | undefined;
@@ -4131,7 +5001,22 @@ declare const StackSchema: z.ZodObject<{
4131
5001
  minify: z.ZodOptional<z.ZodBoolean>;
4132
5002
  warm: z.ZodOptional<z.ZodNumber>;
4133
5003
  vpc: z.ZodOptional<z.ZodBoolean>;
4134
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
5004
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
5005
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
5006
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
5007
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
5008
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
5009
+ }, "strip", z.ZodTypeAny, {
5010
+ retention: Duration;
5011
+ format?: "text" | "json" | undefined;
5012
+ system?: "debug" | "info" | "warn" | undefined;
5013
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5014
+ }, {
5015
+ retention: string;
5016
+ format?: "text" | "json" | undefined;
5017
+ system?: "debug" | "info" | "warn" | undefined;
5018
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5019
+ }>]>>;
4135
5020
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
4136
5021
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
4137
5022
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -4171,7 +5056,12 @@ declare const StackSchema: z.ZodObject<{
4171
5056
  minify?: boolean | undefined;
4172
5057
  warm?: number | undefined;
4173
5058
  vpc?: boolean | undefined;
4174
- log?: boolean | Duration | undefined;
5059
+ log?: boolean | Duration | {
5060
+ retention: Duration;
5061
+ format?: "text" | "json" | undefined;
5062
+ system?: "debug" | "info" | "warn" | undefined;
5063
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5064
+ } | undefined;
4175
5065
  timeout?: Duration | undefined;
4176
5066
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4177
5067
  memorySize?: Size | undefined;
@@ -4195,7 +5085,12 @@ declare const StackSchema: z.ZodObject<{
4195
5085
  minify?: boolean | undefined;
4196
5086
  warm?: number | undefined;
4197
5087
  vpc?: boolean | undefined;
4198
- log?: string | boolean | undefined;
5088
+ log?: string | boolean | {
5089
+ retention: string;
5090
+ format?: "text" | "json" | undefined;
5091
+ system?: "debug" | "info" | "warn" | undefined;
5092
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5093
+ } | undefined;
4199
5094
  timeout?: string | undefined;
4200
5095
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4201
5096
  memorySize?: string | undefined;
@@ -4221,7 +5116,12 @@ declare const StackSchema: z.ZodObject<{
4221
5116
  minify?: boolean | undefined;
4222
5117
  warm?: number | undefined;
4223
5118
  vpc?: boolean | undefined;
4224
- log?: boolean | Duration | undefined;
5119
+ log?: boolean | Duration | {
5120
+ retention: Duration;
5121
+ format?: "text" | "json" | undefined;
5122
+ system?: "debug" | "info" | "warn" | undefined;
5123
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5124
+ } | undefined;
4225
5125
  timeout?: Duration | undefined;
4226
5126
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4227
5127
  memorySize?: Size | undefined;
@@ -4246,7 +5146,12 @@ declare const StackSchema: z.ZodObject<{
4246
5146
  minify?: boolean | undefined;
4247
5147
  warm?: number | undefined;
4248
5148
  vpc?: boolean | undefined;
4249
- log?: boolean | Duration | undefined;
5149
+ log?: boolean | Duration | {
5150
+ retention: Duration;
5151
+ format?: "text" | "json" | undefined;
5152
+ system?: "debug" | "info" | "warn" | undefined;
5153
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5154
+ } | undefined;
4250
5155
  timeout?: Duration | undefined;
4251
5156
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4252
5157
  memorySize?: Size | undefined;
@@ -4271,7 +5176,12 @@ declare const StackSchema: z.ZodObject<{
4271
5176
  minify?: boolean | undefined;
4272
5177
  warm?: number | undefined;
4273
5178
  vpc?: boolean | undefined;
4274
- log?: boolean | Duration | undefined;
5179
+ log?: boolean | Duration | {
5180
+ retention: Duration;
5181
+ format?: "text" | "json" | undefined;
5182
+ system?: "debug" | "info" | "warn" | undefined;
5183
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5184
+ } | undefined;
4275
5185
  timeout?: Duration | undefined;
4276
5186
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4277
5187
  memorySize?: Size | undefined;
@@ -4296,7 +5206,12 @@ declare const StackSchema: z.ZodObject<{
4296
5206
  minify?: boolean | undefined;
4297
5207
  warm?: number | undefined;
4298
5208
  vpc?: boolean | undefined;
4299
- log?: boolean | Duration | undefined;
5209
+ log?: boolean | Duration | {
5210
+ retention: Duration;
5211
+ format?: "text" | "json" | undefined;
5212
+ system?: "debug" | "info" | "warn" | undefined;
5213
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5214
+ } | undefined;
4300
5215
  timeout?: Duration | undefined;
4301
5216
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4302
5217
  memorySize?: Size | undefined;
@@ -4321,7 +5236,12 @@ declare const StackSchema: z.ZodObject<{
4321
5236
  minify?: boolean | undefined;
4322
5237
  warm?: number | undefined;
4323
5238
  vpc?: boolean | undefined;
4324
- log?: boolean | Duration | undefined;
5239
+ log?: boolean | Duration | {
5240
+ retention: Duration;
5241
+ format?: "text" | "json" | undefined;
5242
+ system?: "debug" | "info" | "warn" | undefined;
5243
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5244
+ } | undefined;
4325
5245
  timeout?: Duration | undefined;
4326
5246
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4327
5247
  memorySize?: Size | undefined;
@@ -4346,7 +5266,12 @@ declare const StackSchema: z.ZodObject<{
4346
5266
  minify?: boolean | undefined;
4347
5267
  warm?: number | undefined;
4348
5268
  vpc?: boolean | undefined;
4349
- log?: boolean | Duration | undefined;
5269
+ log?: boolean | Duration | {
5270
+ retention: Duration;
5271
+ format?: "text" | "json" | undefined;
5272
+ system?: "debug" | "info" | "warn" | undefined;
5273
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5274
+ } | undefined;
4350
5275
  timeout?: Duration | undefined;
4351
5276
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4352
5277
  memorySize?: Size | undefined;
@@ -4371,7 +5296,12 @@ declare const StackSchema: z.ZodObject<{
4371
5296
  minify?: boolean | undefined;
4372
5297
  warm?: number | undefined;
4373
5298
  vpc?: boolean | undefined;
4374
- log?: boolean | Duration | undefined;
5299
+ log?: boolean | Duration | {
5300
+ retention: Duration;
5301
+ format?: "text" | "json" | undefined;
5302
+ system?: "debug" | "info" | "warn" | undefined;
5303
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5304
+ } | undefined;
4375
5305
  timeout?: Duration | undefined;
4376
5306
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4377
5307
  memorySize?: Size | undefined;
@@ -4396,7 +5326,12 @@ declare const StackSchema: z.ZodObject<{
4396
5326
  minify?: boolean | undefined;
4397
5327
  warm?: number | undefined;
4398
5328
  vpc?: boolean | undefined;
4399
- log?: boolean | Duration | undefined;
5329
+ log?: boolean | Duration | {
5330
+ retention: Duration;
5331
+ format?: "text" | "json" | undefined;
5332
+ system?: "debug" | "info" | "warn" | undefined;
5333
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5334
+ } | undefined;
4400
5335
  timeout?: Duration | undefined;
4401
5336
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4402
5337
  memorySize?: Size | undefined;
@@ -4421,7 +5356,12 @@ declare const StackSchema: z.ZodObject<{
4421
5356
  minify?: boolean | undefined;
4422
5357
  warm?: number | undefined;
4423
5358
  vpc?: boolean | undefined;
4424
- log?: boolean | Duration | undefined;
5359
+ log?: boolean | Duration | {
5360
+ retention: Duration;
5361
+ format?: "text" | "json" | undefined;
5362
+ system?: "debug" | "info" | "warn" | undefined;
5363
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5364
+ } | undefined;
4425
5365
  timeout?: Duration | undefined;
4426
5366
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4427
5367
  memorySize?: Size | undefined;
@@ -4447,7 +5387,12 @@ declare const StackSchema: z.ZodObject<{
4447
5387
  minify?: boolean | undefined;
4448
5388
  warm?: number | undefined;
4449
5389
  vpc?: boolean | undefined;
4450
- log?: string | boolean | undefined;
5390
+ log?: string | boolean | {
5391
+ retention: string;
5392
+ format?: "text" | "json" | undefined;
5393
+ system?: "debug" | "info" | "warn" | undefined;
5394
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5395
+ } | undefined;
4451
5396
  timeout?: string | undefined;
4452
5397
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4453
5398
  memorySize?: string | undefined;
@@ -4472,7 +5417,12 @@ declare const StackSchema: z.ZodObject<{
4472
5417
  minify?: boolean | undefined;
4473
5418
  warm?: number | undefined;
4474
5419
  vpc?: boolean | undefined;
4475
- log?: string | boolean | undefined;
5420
+ log?: string | boolean | {
5421
+ retention: string;
5422
+ format?: "text" | "json" | undefined;
5423
+ system?: "debug" | "info" | "warn" | undefined;
5424
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5425
+ } | undefined;
4476
5426
  timeout?: string | undefined;
4477
5427
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4478
5428
  memorySize?: string | undefined;
@@ -4497,7 +5447,12 @@ declare const StackSchema: z.ZodObject<{
4497
5447
  minify?: boolean | undefined;
4498
5448
  warm?: number | undefined;
4499
5449
  vpc?: boolean | undefined;
4500
- log?: string | boolean | undefined;
5450
+ log?: string | boolean | {
5451
+ retention: string;
5452
+ format?: "text" | "json" | undefined;
5453
+ system?: "debug" | "info" | "warn" | undefined;
5454
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5455
+ } | undefined;
4501
5456
  timeout?: string | undefined;
4502
5457
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4503
5458
  memorySize?: string | undefined;
@@ -4522,7 +5477,12 @@ declare const StackSchema: z.ZodObject<{
4522
5477
  minify?: boolean | undefined;
4523
5478
  warm?: number | undefined;
4524
5479
  vpc?: boolean | undefined;
4525
- log?: string | boolean | undefined;
5480
+ log?: string | boolean | {
5481
+ retention: string;
5482
+ format?: "text" | "json" | undefined;
5483
+ system?: "debug" | "info" | "warn" | undefined;
5484
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5485
+ } | undefined;
4526
5486
  timeout?: string | undefined;
4527
5487
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4528
5488
  memorySize?: string | undefined;
@@ -4547,7 +5507,12 @@ declare const StackSchema: z.ZodObject<{
4547
5507
  minify?: boolean | undefined;
4548
5508
  warm?: number | undefined;
4549
5509
  vpc?: boolean | undefined;
4550
- log?: string | boolean | undefined;
5510
+ log?: string | boolean | {
5511
+ retention: string;
5512
+ format?: "text" | "json" | undefined;
5513
+ system?: "debug" | "info" | "warn" | undefined;
5514
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5515
+ } | undefined;
4551
5516
  timeout?: string | undefined;
4552
5517
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4553
5518
  memorySize?: string | undefined;
@@ -4572,7 +5537,12 @@ declare const StackSchema: z.ZodObject<{
4572
5537
  minify?: boolean | undefined;
4573
5538
  warm?: number | undefined;
4574
5539
  vpc?: boolean | undefined;
4575
- log?: string | boolean | undefined;
5540
+ log?: string | boolean | {
5541
+ retention: string;
5542
+ format?: "text" | "json" | undefined;
5543
+ system?: "debug" | "info" | "warn" | undefined;
5544
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5545
+ } | undefined;
4576
5546
  timeout?: string | undefined;
4577
5547
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4578
5548
  memorySize?: string | undefined;
@@ -4597,7 +5567,12 @@ declare const StackSchema: z.ZodObject<{
4597
5567
  minify?: boolean | undefined;
4598
5568
  warm?: number | undefined;
4599
5569
  vpc?: boolean | undefined;
4600
- log?: string | boolean | undefined;
5570
+ log?: string | boolean | {
5571
+ retention: string;
5572
+ format?: "text" | "json" | undefined;
5573
+ system?: "debug" | "info" | "warn" | undefined;
5574
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5575
+ } | undefined;
4601
5576
  timeout?: string | undefined;
4602
5577
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4603
5578
  memorySize?: string | undefined;
@@ -4622,7 +5597,12 @@ declare const StackSchema: z.ZodObject<{
4622
5597
  minify?: boolean | undefined;
4623
5598
  warm?: number | undefined;
4624
5599
  vpc?: boolean | undefined;
4625
- log?: string | boolean | undefined;
5600
+ log?: string | boolean | {
5601
+ retention: string;
5602
+ format?: "text" | "json" | undefined;
5603
+ system?: "debug" | "info" | "warn" | undefined;
5604
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5605
+ } | undefined;
4626
5606
  timeout?: string | undefined;
4627
5607
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4628
5608
  memorySize?: string | undefined;
@@ -4647,7 +5627,12 @@ declare const StackSchema: z.ZodObject<{
4647
5627
  minify?: boolean | undefined;
4648
5628
  warm?: number | undefined;
4649
5629
  vpc?: boolean | undefined;
4650
- log?: string | boolean | undefined;
5630
+ log?: string | boolean | {
5631
+ retention: string;
5632
+ format?: "text" | "json" | undefined;
5633
+ system?: "debug" | "info" | "warn" | undefined;
5634
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5635
+ } | undefined;
4651
5636
  timeout?: string | undefined;
4652
5637
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4653
5638
  memorySize?: string | undefined;
@@ -4676,7 +5661,12 @@ declare const StackSchema: z.ZodObject<{
4676
5661
  minify?: boolean | undefined;
4677
5662
  warm?: number | undefined;
4678
5663
  vpc?: boolean | undefined;
4679
- log?: boolean | Duration | undefined;
5664
+ log?: boolean | Duration | {
5665
+ retention: Duration;
5666
+ format?: "text" | "json" | undefined;
5667
+ system?: "debug" | "info" | "warn" | undefined;
5668
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5669
+ } | undefined;
4680
5670
  timeout?: Duration | undefined;
4681
5671
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4682
5672
  memorySize?: Size | undefined;
@@ -4701,7 +5691,12 @@ declare const StackSchema: z.ZodObject<{
4701
5691
  minify?: boolean | undefined;
4702
5692
  warm?: number | undefined;
4703
5693
  vpc?: boolean | undefined;
4704
- log?: boolean | Duration | undefined;
5694
+ log?: boolean | Duration | {
5695
+ retention: Duration;
5696
+ format?: "text" | "json" | undefined;
5697
+ system?: "debug" | "info" | "warn" | undefined;
5698
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5699
+ } | undefined;
4705
5700
  timeout?: Duration | undefined;
4706
5701
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4707
5702
  memorySize?: Size | undefined;
@@ -4726,7 +5721,12 @@ declare const StackSchema: z.ZodObject<{
4726
5721
  minify?: boolean | undefined;
4727
5722
  warm?: number | undefined;
4728
5723
  vpc?: boolean | undefined;
4729
- log?: boolean | Duration | undefined;
5724
+ log?: boolean | Duration | {
5725
+ retention: Duration;
5726
+ format?: "text" | "json" | undefined;
5727
+ system?: "debug" | "info" | "warn" | undefined;
5728
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5729
+ } | undefined;
4730
5730
  timeout?: Duration | undefined;
4731
5731
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4732
5732
  memorySize?: Size | undefined;
@@ -4751,7 +5751,12 @@ declare const StackSchema: z.ZodObject<{
4751
5751
  minify?: boolean | undefined;
4752
5752
  warm?: number | undefined;
4753
5753
  vpc?: boolean | undefined;
4754
- log?: boolean | Duration | undefined;
5754
+ log?: boolean | Duration | {
5755
+ retention: Duration;
5756
+ format?: "text" | "json" | undefined;
5757
+ system?: "debug" | "info" | "warn" | undefined;
5758
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5759
+ } | undefined;
4755
5760
  timeout?: Duration | undefined;
4756
5761
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4757
5762
  memorySize?: Size | undefined;
@@ -4776,7 +5781,12 @@ declare const StackSchema: z.ZodObject<{
4776
5781
  minify?: boolean | undefined;
4777
5782
  warm?: number | undefined;
4778
5783
  vpc?: boolean | undefined;
4779
- log?: boolean | Duration | undefined;
5784
+ log?: boolean | Duration | {
5785
+ retention: Duration;
5786
+ format?: "text" | "json" | undefined;
5787
+ system?: "debug" | "info" | "warn" | undefined;
5788
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5789
+ } | undefined;
4780
5790
  timeout?: Duration | undefined;
4781
5791
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4782
5792
  memorySize?: Size | undefined;
@@ -4801,7 +5811,12 @@ declare const StackSchema: z.ZodObject<{
4801
5811
  minify?: boolean | undefined;
4802
5812
  warm?: number | undefined;
4803
5813
  vpc?: boolean | undefined;
4804
- log?: boolean | Duration | undefined;
5814
+ log?: boolean | Duration | {
5815
+ retention: Duration;
5816
+ format?: "text" | "json" | undefined;
5817
+ system?: "debug" | "info" | "warn" | undefined;
5818
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5819
+ } | undefined;
4805
5820
  timeout?: Duration | undefined;
4806
5821
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4807
5822
  memorySize?: Size | undefined;
@@ -4826,7 +5841,12 @@ declare const StackSchema: z.ZodObject<{
4826
5841
  minify?: boolean | undefined;
4827
5842
  warm?: number | undefined;
4828
5843
  vpc?: boolean | undefined;
4829
- log?: boolean | Duration | undefined;
5844
+ log?: boolean | Duration | {
5845
+ retention: Duration;
5846
+ format?: "text" | "json" | undefined;
5847
+ system?: "debug" | "info" | "warn" | undefined;
5848
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5849
+ } | undefined;
4830
5850
  timeout?: Duration | undefined;
4831
5851
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4832
5852
  memorySize?: Size | undefined;
@@ -4851,7 +5871,12 @@ declare const StackSchema: z.ZodObject<{
4851
5871
  minify?: boolean | undefined;
4852
5872
  warm?: number | undefined;
4853
5873
  vpc?: boolean | undefined;
4854
- log?: boolean | Duration | undefined;
5874
+ log?: boolean | Duration | {
5875
+ retention: Duration;
5876
+ format?: "text" | "json" | undefined;
5877
+ system?: "debug" | "info" | "warn" | undefined;
5878
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5879
+ } | undefined;
4855
5880
  timeout?: Duration | undefined;
4856
5881
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4857
5882
  memorySize?: Size | undefined;
@@ -4876,7 +5901,12 @@ declare const StackSchema: z.ZodObject<{
4876
5901
  minify?: boolean | undefined;
4877
5902
  warm?: number | undefined;
4878
5903
  vpc?: boolean | undefined;
4879
- log?: boolean | Duration | undefined;
5904
+ log?: boolean | Duration | {
5905
+ retention: Duration;
5906
+ format?: "text" | "json" | undefined;
5907
+ system?: "debug" | "info" | "warn" | undefined;
5908
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5909
+ } | undefined;
4880
5910
  timeout?: Duration | undefined;
4881
5911
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4882
5912
  memorySize?: Size | undefined;
@@ -4905,7 +5935,12 @@ declare const StackSchema: z.ZodObject<{
4905
5935
  minify?: boolean | undefined;
4906
5936
  warm?: number | undefined;
4907
5937
  vpc?: boolean | undefined;
4908
- log?: string | boolean | undefined;
5938
+ log?: string | boolean | {
5939
+ retention: string;
5940
+ format?: "text" | "json" | undefined;
5941
+ system?: "debug" | "info" | "warn" | undefined;
5942
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5943
+ } | undefined;
4909
5944
  timeout?: string | undefined;
4910
5945
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4911
5946
  memorySize?: string | undefined;
@@ -4930,7 +5965,12 @@ declare const StackSchema: z.ZodObject<{
4930
5965
  minify?: boolean | undefined;
4931
5966
  warm?: number | undefined;
4932
5967
  vpc?: boolean | undefined;
4933
- log?: string | boolean | undefined;
5968
+ log?: string | boolean | {
5969
+ retention: string;
5970
+ format?: "text" | "json" | undefined;
5971
+ system?: "debug" | "info" | "warn" | undefined;
5972
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
5973
+ } | undefined;
4934
5974
  timeout?: string | undefined;
4935
5975
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4936
5976
  memorySize?: string | undefined;
@@ -4955,7 +5995,12 @@ declare const StackSchema: z.ZodObject<{
4955
5995
  minify?: boolean | undefined;
4956
5996
  warm?: number | undefined;
4957
5997
  vpc?: boolean | undefined;
4958
- log?: string | boolean | undefined;
5998
+ log?: string | boolean | {
5999
+ retention: string;
6000
+ format?: "text" | "json" | undefined;
6001
+ system?: "debug" | "info" | "warn" | undefined;
6002
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6003
+ } | undefined;
4959
6004
  timeout?: string | undefined;
4960
6005
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4961
6006
  memorySize?: string | undefined;
@@ -4980,7 +6025,12 @@ declare const StackSchema: z.ZodObject<{
4980
6025
  minify?: boolean | undefined;
4981
6026
  warm?: number | undefined;
4982
6027
  vpc?: boolean | undefined;
4983
- log?: string | boolean | undefined;
6028
+ log?: string | boolean | {
6029
+ retention: string;
6030
+ format?: "text" | "json" | undefined;
6031
+ system?: "debug" | "info" | "warn" | undefined;
6032
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6033
+ } | undefined;
4984
6034
  timeout?: string | undefined;
4985
6035
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
4986
6036
  memorySize?: string | undefined;
@@ -5005,7 +6055,12 @@ declare const StackSchema: z.ZodObject<{
5005
6055
  minify?: boolean | undefined;
5006
6056
  warm?: number | undefined;
5007
6057
  vpc?: boolean | undefined;
5008
- log?: string | boolean | undefined;
6058
+ log?: string | boolean | {
6059
+ retention: string;
6060
+ format?: "text" | "json" | undefined;
6061
+ system?: "debug" | "info" | "warn" | undefined;
6062
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6063
+ } | undefined;
5009
6064
  timeout?: string | undefined;
5010
6065
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5011
6066
  memorySize?: string | undefined;
@@ -5030,7 +6085,12 @@ declare const StackSchema: z.ZodObject<{
5030
6085
  minify?: boolean | undefined;
5031
6086
  warm?: number | undefined;
5032
6087
  vpc?: boolean | undefined;
5033
- log?: string | boolean | undefined;
6088
+ log?: string | boolean | {
6089
+ retention: string;
6090
+ format?: "text" | "json" | undefined;
6091
+ system?: "debug" | "info" | "warn" | undefined;
6092
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6093
+ } | undefined;
5034
6094
  timeout?: string | undefined;
5035
6095
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5036
6096
  memorySize?: string | undefined;
@@ -5055,7 +6115,12 @@ declare const StackSchema: z.ZodObject<{
5055
6115
  minify?: boolean | undefined;
5056
6116
  warm?: number | undefined;
5057
6117
  vpc?: boolean | undefined;
5058
- log?: string | boolean | undefined;
6118
+ log?: string | boolean | {
6119
+ retention: string;
6120
+ format?: "text" | "json" | undefined;
6121
+ system?: "debug" | "info" | "warn" | undefined;
6122
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6123
+ } | undefined;
5059
6124
  timeout?: string | undefined;
5060
6125
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5061
6126
  memorySize?: string | undefined;
@@ -5080,7 +6145,12 @@ declare const StackSchema: z.ZodObject<{
5080
6145
  minify?: boolean | undefined;
5081
6146
  warm?: number | undefined;
5082
6147
  vpc?: boolean | undefined;
5083
- log?: string | boolean | undefined;
6148
+ log?: string | boolean | {
6149
+ retention: string;
6150
+ format?: "text" | "json" | undefined;
6151
+ system?: "debug" | "info" | "warn" | undefined;
6152
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6153
+ } | undefined;
5084
6154
  timeout?: string | undefined;
5085
6155
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5086
6156
  memorySize?: string | undefined;
@@ -5105,7 +6175,12 @@ declare const StackSchema: z.ZodObject<{
5105
6175
  minify?: boolean | undefined;
5106
6176
  warm?: number | undefined;
5107
6177
  vpc?: boolean | undefined;
5108
- log?: string | boolean | undefined;
6178
+ log?: string | boolean | {
6179
+ retention: string;
6180
+ format?: "text" | "json" | undefined;
6181
+ system?: "debug" | "info" | "warn" | undefined;
6182
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6183
+ } | undefined;
5109
6184
  timeout?: string | undefined;
5110
6185
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5111
6186
  memorySize?: string | undefined;
@@ -5134,7 +6209,22 @@ declare const StackSchema: z.ZodObject<{
5134
6209
  minify: z.ZodOptional<z.ZodBoolean>;
5135
6210
  warm: z.ZodOptional<z.ZodNumber>;
5136
6211
  vpc: z.ZodOptional<z.ZodBoolean>;
5137
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6212
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6213
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6214
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6215
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6216
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6217
+ }, "strip", z.ZodTypeAny, {
6218
+ retention: Duration;
6219
+ format?: "text" | "json" | undefined;
6220
+ system?: "debug" | "info" | "warn" | undefined;
6221
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6222
+ }, {
6223
+ retention: string;
6224
+ format?: "text" | "json" | undefined;
6225
+ system?: "debug" | "info" | "warn" | undefined;
6226
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6227
+ }>]>>;
5138
6228
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5139
6229
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5140
6230
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5174,7 +6264,12 @@ declare const StackSchema: z.ZodObject<{
5174
6264
  minify?: boolean | undefined;
5175
6265
  warm?: number | undefined;
5176
6266
  vpc?: boolean | undefined;
5177
- log?: boolean | Duration | undefined;
6267
+ log?: boolean | Duration | {
6268
+ retention: Duration;
6269
+ format?: "text" | "json" | undefined;
6270
+ system?: "debug" | "info" | "warn" | undefined;
6271
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6272
+ } | undefined;
5178
6273
  timeout?: Duration | undefined;
5179
6274
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5180
6275
  memorySize?: Size | undefined;
@@ -5198,7 +6293,12 @@ declare const StackSchema: z.ZodObject<{
5198
6293
  minify?: boolean | undefined;
5199
6294
  warm?: number | undefined;
5200
6295
  vpc?: boolean | undefined;
5201
- log?: string | boolean | undefined;
6296
+ log?: string | boolean | {
6297
+ retention: string;
6298
+ format?: "text" | "json" | undefined;
6299
+ system?: "debug" | "info" | "warn" | undefined;
6300
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6301
+ } | undefined;
5202
6302
  timeout?: string | undefined;
5203
6303
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5204
6304
  memorySize?: string | undefined;
@@ -5223,7 +6323,22 @@ declare const StackSchema: z.ZodObject<{
5223
6323
  minify: z.ZodOptional<z.ZodBoolean>;
5224
6324
  warm: z.ZodOptional<z.ZodNumber>;
5225
6325
  vpc: z.ZodOptional<z.ZodBoolean>;
5226
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6326
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6327
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6328
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6329
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6330
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6331
+ }, "strip", z.ZodTypeAny, {
6332
+ retention: Duration;
6333
+ format?: "text" | "json" | undefined;
6334
+ system?: "debug" | "info" | "warn" | undefined;
6335
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6336
+ }, {
6337
+ retention: string;
6338
+ format?: "text" | "json" | undefined;
6339
+ system?: "debug" | "info" | "warn" | undefined;
6340
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6341
+ }>]>>;
5227
6342
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5228
6343
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5229
6344
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5263,7 +6378,12 @@ declare const StackSchema: z.ZodObject<{
5263
6378
  minify?: boolean | undefined;
5264
6379
  warm?: number | undefined;
5265
6380
  vpc?: boolean | undefined;
5266
- log?: boolean | Duration | undefined;
6381
+ log?: boolean | Duration | {
6382
+ retention: Duration;
6383
+ format?: "text" | "json" | undefined;
6384
+ system?: "debug" | "info" | "warn" | undefined;
6385
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6386
+ } | undefined;
5267
6387
  timeout?: Duration | undefined;
5268
6388
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5269
6389
  memorySize?: Size | undefined;
@@ -5287,7 +6407,12 @@ declare const StackSchema: z.ZodObject<{
5287
6407
  minify?: boolean | undefined;
5288
6408
  warm?: number | undefined;
5289
6409
  vpc?: boolean | undefined;
5290
- log?: string | boolean | undefined;
6410
+ log?: string | boolean | {
6411
+ retention: string;
6412
+ format?: "text" | "json" | undefined;
6413
+ system?: "debug" | "info" | "warn" | undefined;
6414
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6415
+ } | undefined;
5291
6416
  timeout?: string | undefined;
5292
6417
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5293
6418
  memorySize?: string | undefined;
@@ -5314,7 +6439,12 @@ declare const StackSchema: z.ZodObject<{
5314
6439
  minify?: boolean | undefined;
5315
6440
  warm?: number | undefined;
5316
6441
  vpc?: boolean | undefined;
5317
- log?: boolean | Duration | undefined;
6442
+ log?: boolean | Duration | {
6443
+ retention: Duration;
6444
+ format?: "text" | "json" | undefined;
6445
+ system?: "debug" | "info" | "warn" | undefined;
6446
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6447
+ } | undefined;
5318
6448
  timeout?: Duration | undefined;
5319
6449
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5320
6450
  memorySize?: Size | undefined;
@@ -5338,7 +6468,12 @@ declare const StackSchema: z.ZodObject<{
5338
6468
  minify?: boolean | undefined;
5339
6469
  warm?: number | undefined;
5340
6470
  vpc?: boolean | undefined;
5341
- log?: boolean | Duration | undefined;
6471
+ log?: boolean | Duration | {
6472
+ retention: Duration;
6473
+ format?: "text" | "json" | undefined;
6474
+ system?: "debug" | "info" | "warn" | undefined;
6475
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6476
+ } | undefined;
5342
6477
  timeout?: Duration | undefined;
5343
6478
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5344
6479
  memorySize?: Size | undefined;
@@ -5365,7 +6500,12 @@ declare const StackSchema: z.ZodObject<{
5365
6500
  minify?: boolean | undefined;
5366
6501
  warm?: number | undefined;
5367
6502
  vpc?: boolean | undefined;
5368
- log?: string | boolean | undefined;
6503
+ log?: string | boolean | {
6504
+ retention: string;
6505
+ format?: "text" | "json" | undefined;
6506
+ system?: "debug" | "info" | "warn" | undefined;
6507
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6508
+ } | undefined;
5369
6509
  timeout?: string | undefined;
5370
6510
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5371
6511
  memorySize?: string | undefined;
@@ -5389,7 +6529,12 @@ declare const StackSchema: z.ZodObject<{
5389
6529
  minify?: boolean | undefined;
5390
6530
  warm?: number | undefined;
5391
6531
  vpc?: boolean | undefined;
5392
- log?: string | boolean | undefined;
6532
+ log?: string | boolean | {
6533
+ retention: string;
6534
+ format?: "text" | "json" | undefined;
6535
+ system?: "debug" | "info" | "warn" | undefined;
6536
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6537
+ } | undefined;
5393
6538
  timeout?: string | undefined;
5394
6539
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5395
6540
  memorySize?: string | undefined;
@@ -5418,7 +6563,12 @@ declare const StackSchema: z.ZodObject<{
5418
6563
  minify?: boolean | undefined;
5419
6564
  warm?: number | undefined;
5420
6565
  vpc?: boolean | undefined;
5421
- log?: boolean | Duration | undefined;
6566
+ log?: boolean | Duration | {
6567
+ retention: Duration;
6568
+ format?: "text" | "json" | undefined;
6569
+ system?: "debug" | "info" | "warn" | undefined;
6570
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6571
+ } | undefined;
5422
6572
  timeout?: Duration | undefined;
5423
6573
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5424
6574
  memorySize?: Size | undefined;
@@ -5443,7 +6593,12 @@ declare const StackSchema: z.ZodObject<{
5443
6593
  minify?: boolean | undefined;
5444
6594
  warm?: number | undefined;
5445
6595
  vpc?: boolean | undefined;
5446
- log?: boolean | Duration | undefined;
6596
+ log?: boolean | Duration | {
6597
+ retention: Duration;
6598
+ format?: "text" | "json" | undefined;
6599
+ system?: "debug" | "info" | "warn" | undefined;
6600
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6601
+ } | undefined;
5447
6602
  timeout?: Duration | undefined;
5448
6603
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5449
6604
  memorySize?: Size | undefined;
@@ -5467,7 +6622,12 @@ declare const StackSchema: z.ZodObject<{
5467
6622
  minify?: boolean | undefined;
5468
6623
  warm?: number | undefined;
5469
6624
  vpc?: boolean | undefined;
5470
- log?: boolean | Duration | undefined;
6625
+ log?: boolean | Duration | {
6626
+ retention: Duration;
6627
+ format?: "text" | "json" | undefined;
6628
+ system?: "debug" | "info" | "warn" | undefined;
6629
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6630
+ } | undefined;
5471
6631
  timeout?: Duration | undefined;
5472
6632
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5473
6633
  memorySize?: Size | undefined;
@@ -5496,7 +6656,12 @@ declare const StackSchema: z.ZodObject<{
5496
6656
  minify?: boolean | undefined;
5497
6657
  warm?: number | undefined;
5498
6658
  vpc?: boolean | undefined;
5499
- log?: string | boolean | undefined;
6659
+ log?: string | boolean | {
6660
+ retention: string;
6661
+ format?: "text" | "json" | undefined;
6662
+ system?: "debug" | "info" | "warn" | undefined;
6663
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6664
+ } | undefined;
5500
6665
  timeout?: string | undefined;
5501
6666
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5502
6667
  memorySize?: string | undefined;
@@ -5521,7 +6686,12 @@ declare const StackSchema: z.ZodObject<{
5521
6686
  minify?: boolean | undefined;
5522
6687
  warm?: number | undefined;
5523
6688
  vpc?: boolean | undefined;
5524
- log?: string | boolean | undefined;
6689
+ log?: string | boolean | {
6690
+ retention: string;
6691
+ format?: "text" | "json" | undefined;
6692
+ system?: "debug" | "info" | "warn" | undefined;
6693
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6694
+ } | undefined;
5525
6695
  timeout?: string | undefined;
5526
6696
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5527
6697
  memorySize?: string | undefined;
@@ -5545,7 +6715,12 @@ declare const StackSchema: z.ZodObject<{
5545
6715
  minify?: boolean | undefined;
5546
6716
  warm?: number | undefined;
5547
6717
  vpc?: boolean | undefined;
5548
- log?: string | boolean | undefined;
6718
+ log?: string | boolean | {
6719
+ retention: string;
6720
+ format?: "text" | "json" | undefined;
6721
+ system?: "debug" | "info" | "warn" | undefined;
6722
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6723
+ } | undefined;
5549
6724
  timeout?: string | undefined;
5550
6725
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5551
6726
  memorySize?: string | undefined;
@@ -5573,7 +6748,22 @@ declare const StackSchema: z.ZodObject<{
5573
6748
  minify: z.ZodOptional<z.ZodBoolean>;
5574
6749
  warm: z.ZodOptional<z.ZodNumber>;
5575
6750
  vpc: z.ZodOptional<z.ZodBoolean>;
5576
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6751
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6752
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6753
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6754
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6755
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6756
+ }, "strip", z.ZodTypeAny, {
6757
+ retention: Duration;
6758
+ format?: "text" | "json" | undefined;
6759
+ system?: "debug" | "info" | "warn" | undefined;
6760
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6761
+ }, {
6762
+ retention: string;
6763
+ format?: "text" | "json" | undefined;
6764
+ system?: "debug" | "info" | "warn" | undefined;
6765
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6766
+ }>]>>;
5577
6767
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5578
6768
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5579
6769
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5613,7 +6803,12 @@ declare const StackSchema: z.ZodObject<{
5613
6803
  minify?: boolean | undefined;
5614
6804
  warm?: number | undefined;
5615
6805
  vpc?: boolean | undefined;
5616
- log?: boolean | Duration | undefined;
6806
+ log?: boolean | Duration | {
6807
+ retention: Duration;
6808
+ format?: "text" | "json" | undefined;
6809
+ system?: "debug" | "info" | "warn" | undefined;
6810
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6811
+ } | undefined;
5617
6812
  timeout?: Duration | undefined;
5618
6813
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5619
6814
  memorySize?: Size | undefined;
@@ -5637,7 +6832,12 @@ declare const StackSchema: z.ZodObject<{
5637
6832
  minify?: boolean | undefined;
5638
6833
  warm?: number | undefined;
5639
6834
  vpc?: boolean | undefined;
5640
- log?: string | boolean | undefined;
6835
+ log?: string | boolean | {
6836
+ retention: string;
6837
+ format?: "text" | "json" | undefined;
6838
+ system?: "debug" | "info" | "warn" | undefined;
6839
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6840
+ } | undefined;
5641
6841
  timeout?: string | undefined;
5642
6842
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5643
6843
  memorySize?: string | undefined;
@@ -5662,7 +6862,22 @@ declare const StackSchema: z.ZodObject<{
5662
6862
  minify: z.ZodOptional<z.ZodBoolean>;
5663
6863
  warm: z.ZodOptional<z.ZodNumber>;
5664
6864
  vpc: z.ZodOptional<z.ZodBoolean>;
5665
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6865
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6866
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6867
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6868
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6869
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6870
+ }, "strip", z.ZodTypeAny, {
6871
+ retention: Duration;
6872
+ format?: "text" | "json" | undefined;
6873
+ system?: "debug" | "info" | "warn" | undefined;
6874
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6875
+ }, {
6876
+ retention: string;
6877
+ format?: "text" | "json" | undefined;
6878
+ system?: "debug" | "info" | "warn" | undefined;
6879
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6880
+ }>]>>;
5666
6881
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5667
6882
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5668
6883
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5702,7 +6917,12 @@ declare const StackSchema: z.ZodObject<{
5702
6917
  minify?: boolean | undefined;
5703
6918
  warm?: number | undefined;
5704
6919
  vpc?: boolean | undefined;
5705
- log?: boolean | Duration | undefined;
6920
+ log?: boolean | Duration | {
6921
+ retention: Duration;
6922
+ format?: "text" | "json" | undefined;
6923
+ system?: "debug" | "info" | "warn" | undefined;
6924
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6925
+ } | undefined;
5706
6926
  timeout?: Duration | undefined;
5707
6927
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5708
6928
  memorySize?: Size | undefined;
@@ -5726,7 +6946,12 @@ declare const StackSchema: z.ZodObject<{
5726
6946
  minify?: boolean | undefined;
5727
6947
  warm?: number | undefined;
5728
6948
  vpc?: boolean | undefined;
5729
- log?: string | boolean | undefined;
6949
+ log?: string | boolean | {
6950
+ retention: string;
6951
+ format?: "text" | "json" | undefined;
6952
+ system?: "debug" | "info" | "warn" | undefined;
6953
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6954
+ } | undefined;
5730
6955
  timeout?: string | undefined;
5731
6956
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5732
6957
  memorySize?: string | undefined;
@@ -5747,13 +6972,29 @@ declare const StackSchema: z.ZodObject<{
5747
6972
  }>]>>>>;
5748
6973
  configs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5749
6974
  crons: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
6975
+ enabled: z.ZodDefault<z.ZodBoolean>;
5750
6976
  consumer: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodObject<{
5751
6977
  file: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
5752
6978
  handler: z.ZodOptional<z.ZodString>;
5753
6979
  minify: z.ZodOptional<z.ZodBoolean>;
5754
6980
  warm: z.ZodOptional<z.ZodNumber>;
5755
6981
  vpc: z.ZodOptional<z.ZodBoolean>;
5756
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
6982
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
6983
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
6984
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
6985
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
6986
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
6987
+ }, "strip", z.ZodTypeAny, {
6988
+ retention: Duration;
6989
+ format?: "text" | "json" | undefined;
6990
+ system?: "debug" | "info" | "warn" | undefined;
6991
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6992
+ }, {
6993
+ retention: string;
6994
+ format?: "text" | "json" | undefined;
6995
+ system?: "debug" | "info" | "warn" | undefined;
6996
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
6997
+ }>]>>;
5757
6998
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5758
6999
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5759
7000
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -5793,7 +7034,12 @@ declare const StackSchema: z.ZodObject<{
5793
7034
  minify?: boolean | undefined;
5794
7035
  warm?: number | undefined;
5795
7036
  vpc?: boolean | undefined;
5796
- log?: boolean | Duration | undefined;
7037
+ log?: boolean | Duration | {
7038
+ retention: Duration;
7039
+ format?: "text" | "json" | undefined;
7040
+ system?: "debug" | "info" | "warn" | undefined;
7041
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7042
+ } | undefined;
5797
7043
  timeout?: Duration | undefined;
5798
7044
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5799
7045
  memorySize?: Size | undefined;
@@ -5817,7 +7063,12 @@ declare const StackSchema: z.ZodObject<{
5817
7063
  minify?: boolean | undefined;
5818
7064
  warm?: number | undefined;
5819
7065
  vpc?: boolean | undefined;
5820
- log?: string | boolean | undefined;
7066
+ log?: string | boolean | {
7067
+ retention: string;
7068
+ format?: "text" | "json" | undefined;
7069
+ system?: "debug" | "info" | "warn" | undefined;
7070
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7071
+ } | undefined;
5821
7072
  timeout?: string | undefined;
5822
7073
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5823
7074
  memorySize?: string | undefined;
@@ -5845,7 +7096,12 @@ declare const StackSchema: z.ZodObject<{
5845
7096
  minify?: boolean | undefined;
5846
7097
  warm?: number | undefined;
5847
7098
  vpc?: boolean | undefined;
5848
- log?: boolean | Duration | undefined;
7099
+ log?: boolean | Duration | {
7100
+ retention: Duration;
7101
+ format?: "text" | "json" | undefined;
7102
+ system?: "debug" | "info" | "warn" | undefined;
7103
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7104
+ } | undefined;
5849
7105
  timeout?: Duration | undefined;
5850
7106
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5851
7107
  memorySize?: Size | undefined;
@@ -5869,7 +7125,12 @@ declare const StackSchema: z.ZodObject<{
5869
7125
  minify?: boolean | undefined;
5870
7126
  warm?: number | undefined;
5871
7127
  vpc?: boolean | undefined;
5872
- log?: boolean | Duration | undefined;
7128
+ log?: boolean | Duration | {
7129
+ retention: Duration;
7130
+ format?: "text" | "json" | undefined;
7131
+ system?: "debug" | "info" | "warn" | undefined;
7132
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7133
+ } | undefined;
5873
7134
  timeout?: Duration | undefined;
5874
7135
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5875
7136
  memorySize?: Size | undefined;
@@ -5888,6 +7149,7 @@ declare const StackSchema: z.ZodObject<{
5888
7149
  resources: string[];
5889
7150
  }[] | undefined;
5890
7151
  } | undefined);
7152
+ enabled: boolean;
5891
7153
  schedule: string;
5892
7154
  payload?: unknown;
5893
7155
  }, {
@@ -5897,7 +7159,12 @@ declare const StackSchema: z.ZodObject<{
5897
7159
  minify?: boolean | undefined;
5898
7160
  warm?: number | undefined;
5899
7161
  vpc?: boolean | undefined;
5900
- log?: string | boolean | undefined;
7162
+ log?: string | boolean | {
7163
+ retention: string;
7164
+ format?: "text" | "json" | undefined;
7165
+ system?: "debug" | "info" | "warn" | undefined;
7166
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7167
+ } | undefined;
5901
7168
  timeout?: string | undefined;
5902
7169
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5903
7170
  memorySize?: string | undefined;
@@ -5921,7 +7188,12 @@ declare const StackSchema: z.ZodObject<{
5921
7188
  minify?: boolean | undefined;
5922
7189
  warm?: number | undefined;
5923
7190
  vpc?: boolean | undefined;
5924
- log?: string | boolean | undefined;
7191
+ log?: string | boolean | {
7192
+ retention: string;
7193
+ format?: "text" | "json" | undefined;
7194
+ system?: "debug" | "info" | "warn" | undefined;
7195
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7196
+ } | undefined;
5925
7197
  timeout?: string | undefined;
5926
7198
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
5927
7199
  memorySize?: string | undefined;
@@ -5941,6 +7213,7 @@ declare const StackSchema: z.ZodObject<{
5941
7213
  }[] | undefined;
5942
7214
  } | undefined);
5943
7215
  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);
7216
+ enabled?: boolean | undefined;
5944
7217
  payload?: unknown;
5945
7218
  }>>>;
5946
7219
  caches: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
@@ -5972,7 +7245,22 @@ declare const StackSchema: z.ZodObject<{
5972
7245
  minify: z.ZodOptional<z.ZodBoolean>;
5973
7246
  warm: z.ZodOptional<z.ZodNumber>;
5974
7247
  vpc: z.ZodOptional<z.ZodBoolean>;
5975
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7248
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7249
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7250
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7251
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7252
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7253
+ }, "strip", z.ZodTypeAny, {
7254
+ retention: Duration;
7255
+ format?: "text" | "json" | undefined;
7256
+ system?: "debug" | "info" | "warn" | undefined;
7257
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7258
+ }, {
7259
+ retention: string;
7260
+ format?: "text" | "json" | undefined;
7261
+ system?: "debug" | "info" | "warn" | undefined;
7262
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7263
+ }>]>>;
5976
7264
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
5977
7265
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
5978
7266
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6012,7 +7300,12 @@ declare const StackSchema: z.ZodObject<{
6012
7300
  minify?: boolean | undefined;
6013
7301
  warm?: number | undefined;
6014
7302
  vpc?: boolean | undefined;
6015
- log?: boolean | Duration | undefined;
7303
+ log?: boolean | Duration | {
7304
+ retention: Duration;
7305
+ format?: "text" | "json" | undefined;
7306
+ system?: "debug" | "info" | "warn" | undefined;
7307
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7308
+ } | undefined;
6016
7309
  timeout?: Duration | undefined;
6017
7310
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6018
7311
  memorySize?: Size | undefined;
@@ -6036,7 +7329,12 @@ declare const StackSchema: z.ZodObject<{
6036
7329
  minify?: boolean | undefined;
6037
7330
  warm?: number | undefined;
6038
7331
  vpc?: boolean | undefined;
6039
- log?: string | boolean | undefined;
7332
+ log?: string | boolean | {
7333
+ retention: string;
7334
+ format?: "text" | "json" | undefined;
7335
+ system?: "debug" | "info" | "warn" | undefined;
7336
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7337
+ } | undefined;
6040
7338
  timeout?: string | undefined;
6041
7339
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6042
7340
  memorySize?: string | undefined;
@@ -6061,7 +7359,22 @@ declare const StackSchema: z.ZodObject<{
6061
7359
  minify: z.ZodOptional<z.ZodBoolean>;
6062
7360
  warm: z.ZodOptional<z.ZodNumber>;
6063
7361
  vpc: z.ZodOptional<z.ZodBoolean>;
6064
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7362
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7363
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7364
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7365
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7366
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7367
+ }, "strip", z.ZodTypeAny, {
7368
+ retention: Duration;
7369
+ format?: "text" | "json" | undefined;
7370
+ system?: "debug" | "info" | "warn" | undefined;
7371
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7372
+ }, {
7373
+ retention: string;
7374
+ format?: "text" | "json" | undefined;
7375
+ system?: "debug" | "info" | "warn" | undefined;
7376
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7377
+ }>]>>;
6065
7378
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6066
7379
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6067
7380
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6101,7 +7414,12 @@ declare const StackSchema: z.ZodObject<{
6101
7414
  minify?: boolean | undefined;
6102
7415
  warm?: number | undefined;
6103
7416
  vpc?: boolean | undefined;
6104
- log?: boolean | Duration | undefined;
7417
+ log?: boolean | Duration | {
7418
+ retention: Duration;
7419
+ format?: "text" | "json" | undefined;
7420
+ system?: "debug" | "info" | "warn" | undefined;
7421
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7422
+ } | undefined;
6105
7423
  timeout?: Duration | undefined;
6106
7424
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6107
7425
  memorySize?: Size | undefined;
@@ -6125,7 +7443,12 @@ declare const StackSchema: z.ZodObject<{
6125
7443
  minify?: boolean | undefined;
6126
7444
  warm?: number | undefined;
6127
7445
  vpc?: boolean | undefined;
6128
- log?: string | boolean | undefined;
7446
+ log?: string | boolean | {
7447
+ retention: string;
7448
+ format?: "text" | "json" | undefined;
7449
+ system?: "debug" | "info" | "warn" | undefined;
7450
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7451
+ } | undefined;
6129
7452
  timeout?: string | undefined;
6130
7453
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6131
7454
  memorySize?: string | undefined;
@@ -6159,7 +7482,22 @@ declare const StackSchema: z.ZodObject<{
6159
7482
  minify: z.ZodOptional<z.ZodBoolean>;
6160
7483
  warm: z.ZodOptional<z.ZodNumber>;
6161
7484
  vpc: z.ZodOptional<z.ZodBoolean>;
6162
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7485
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7486
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7487
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7488
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7489
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7490
+ }, "strip", z.ZodTypeAny, {
7491
+ retention: Duration;
7492
+ format?: "text" | "json" | undefined;
7493
+ system?: "debug" | "info" | "warn" | undefined;
7494
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7495
+ }, {
7496
+ retention: string;
7497
+ format?: "text" | "json" | undefined;
7498
+ system?: "debug" | "info" | "warn" | undefined;
7499
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7500
+ }>]>>;
6163
7501
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6164
7502
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6165
7503
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6199,7 +7537,12 @@ declare const StackSchema: z.ZodObject<{
6199
7537
  minify?: boolean | undefined;
6200
7538
  warm?: number | undefined;
6201
7539
  vpc?: boolean | undefined;
6202
- log?: boolean | Duration | undefined;
7540
+ log?: boolean | Duration | {
7541
+ retention: Duration;
7542
+ format?: "text" | "json" | undefined;
7543
+ system?: "debug" | "info" | "warn" | undefined;
7544
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7545
+ } | undefined;
6203
7546
  timeout?: Duration | undefined;
6204
7547
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6205
7548
  memorySize?: Size | undefined;
@@ -6223,7 +7566,12 @@ declare const StackSchema: z.ZodObject<{
6223
7566
  minify?: boolean | undefined;
6224
7567
  warm?: number | undefined;
6225
7568
  vpc?: boolean | undefined;
6226
- log?: string | boolean | undefined;
7569
+ log?: string | boolean | {
7570
+ retention: string;
7571
+ format?: "text" | "json" | undefined;
7572
+ system?: "debug" | "info" | "warn" | undefined;
7573
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7574
+ } | undefined;
6227
7575
  timeout?: string | undefined;
6228
7576
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6229
7577
  memorySize?: string | undefined;
@@ -6250,7 +7598,12 @@ declare const StackSchema: z.ZodObject<{
6250
7598
  minify?: boolean | undefined;
6251
7599
  warm?: number | undefined;
6252
7600
  vpc?: boolean | undefined;
6253
- log?: boolean | Duration | undefined;
7601
+ log?: boolean | Duration | {
7602
+ retention: Duration;
7603
+ format?: "text" | "json" | undefined;
7604
+ system?: "debug" | "info" | "warn" | undefined;
7605
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7606
+ } | undefined;
6254
7607
  timeout?: Duration | undefined;
6255
7608
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6256
7609
  memorySize?: Size | undefined;
@@ -6274,7 +7627,12 @@ declare const StackSchema: z.ZodObject<{
6274
7627
  minify?: boolean | undefined;
6275
7628
  warm?: number | undefined;
6276
7629
  vpc?: boolean | undefined;
6277
- log?: boolean | Duration | undefined;
7630
+ log?: boolean | Duration | {
7631
+ retention: Duration;
7632
+ format?: "text" | "json" | undefined;
7633
+ system?: "debug" | "info" | "warn" | undefined;
7634
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7635
+ } | undefined;
6278
7636
  timeout?: Duration | undefined;
6279
7637
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6280
7638
  memorySize?: Size | undefined;
@@ -6301,7 +7659,12 @@ declare const StackSchema: z.ZodObject<{
6301
7659
  minify?: boolean | undefined;
6302
7660
  warm?: number | undefined;
6303
7661
  vpc?: boolean | undefined;
6304
- log?: string | boolean | undefined;
7662
+ log?: string | boolean | {
7663
+ retention: string;
7664
+ format?: "text" | "json" | undefined;
7665
+ system?: "debug" | "info" | "warn" | undefined;
7666
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7667
+ } | undefined;
6305
7668
  timeout?: string | undefined;
6306
7669
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6307
7670
  memorySize?: string | undefined;
@@ -6325,7 +7688,12 @@ declare const StackSchema: z.ZodObject<{
6325
7688
  minify?: boolean | undefined;
6326
7689
  warm?: number | undefined;
6327
7690
  vpc?: boolean | undefined;
6328
- log?: string | boolean | undefined;
7691
+ log?: string | boolean | {
7692
+ retention: string;
7693
+ format?: "text" | "json" | undefined;
7694
+ system?: "debug" | "info" | "warn" | undefined;
7695
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7696
+ } | undefined;
6329
7697
  timeout?: string | undefined;
6330
7698
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6331
7699
  memorySize?: string | undefined;
@@ -6373,7 +7741,12 @@ declare const StackSchema: z.ZodObject<{
6373
7741
  minify?: boolean | undefined;
6374
7742
  warm?: number | undefined;
6375
7743
  vpc?: boolean | undefined;
6376
- log?: boolean | Duration | undefined;
7744
+ log?: boolean | Duration | {
7745
+ retention: Duration;
7746
+ format?: "text" | "json" | undefined;
7747
+ system?: "debug" | "info" | "warn" | undefined;
7748
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7749
+ } | undefined;
6377
7750
  timeout?: Duration | undefined;
6378
7751
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6379
7752
  memorySize?: Size | undefined;
@@ -6397,7 +7770,12 @@ declare const StackSchema: z.ZodObject<{
6397
7770
  minify?: boolean | undefined;
6398
7771
  warm?: number | undefined;
6399
7772
  vpc?: boolean | undefined;
6400
- log?: boolean | Duration | undefined;
7773
+ log?: boolean | Duration | {
7774
+ retention: Duration;
7775
+ format?: "text" | "json" | undefined;
7776
+ system?: "debug" | "info" | "warn" | undefined;
7777
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7778
+ } | undefined;
6401
7779
  timeout?: Duration | undefined;
6402
7780
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6403
7781
  memorySize?: Size | undefined;
@@ -6437,7 +7815,12 @@ declare const StackSchema: z.ZodObject<{
6437
7815
  minify?: boolean | undefined;
6438
7816
  warm?: number | undefined;
6439
7817
  vpc?: boolean | undefined;
6440
- log?: string | boolean | undefined;
7818
+ log?: string | boolean | {
7819
+ retention: string;
7820
+ format?: "text" | "json" | undefined;
7821
+ system?: "debug" | "info" | "warn" | undefined;
7822
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7823
+ } | undefined;
6441
7824
  timeout?: string | undefined;
6442
7825
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6443
7826
  memorySize?: string | undefined;
@@ -6461,7 +7844,12 @@ declare const StackSchema: z.ZodObject<{
6461
7844
  minify?: boolean | undefined;
6462
7845
  warm?: number | undefined;
6463
7846
  vpc?: boolean | undefined;
6464
- log?: string | boolean | undefined;
7847
+ log?: string | boolean | {
7848
+ retention: string;
7849
+ format?: "text" | "json" | undefined;
7850
+ system?: "debug" | "info" | "warn" | undefined;
7851
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7852
+ } | undefined;
6465
7853
  timeout?: string | undefined;
6466
7854
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6467
7855
  memorySize?: string | undefined;
@@ -6495,7 +7883,22 @@ declare const StackSchema: z.ZodObject<{
6495
7883
  minify: z.ZodOptional<z.ZodBoolean>;
6496
7884
  warm: z.ZodOptional<z.ZodNumber>;
6497
7885
  vpc: z.ZodOptional<z.ZodBoolean>;
6498
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
7886
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
7887
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
7888
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
7889
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
7890
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
7891
+ }, "strip", z.ZodTypeAny, {
7892
+ retention: Duration;
7893
+ format?: "text" | "json" | undefined;
7894
+ system?: "debug" | "info" | "warn" | undefined;
7895
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7896
+ }, {
7897
+ retention: string;
7898
+ format?: "text" | "json" | undefined;
7899
+ system?: "debug" | "info" | "warn" | undefined;
7900
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7901
+ }>]>>;
6499
7902
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6500
7903
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6501
7904
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6535,7 +7938,12 @@ declare const StackSchema: z.ZodObject<{
6535
7938
  minify?: boolean | undefined;
6536
7939
  warm?: number | undefined;
6537
7940
  vpc?: boolean | undefined;
6538
- log?: boolean | Duration | undefined;
7941
+ log?: boolean | Duration | {
7942
+ retention: Duration;
7943
+ format?: "text" | "json" | undefined;
7944
+ system?: "debug" | "info" | "warn" | undefined;
7945
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7946
+ } | undefined;
6539
7947
  timeout?: Duration | undefined;
6540
7948
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6541
7949
  memorySize?: Size | undefined;
@@ -6559,7 +7967,12 @@ declare const StackSchema: z.ZodObject<{
6559
7967
  minify?: boolean | undefined;
6560
7968
  warm?: number | undefined;
6561
7969
  vpc?: boolean | undefined;
6562
- log?: string | boolean | undefined;
7970
+ log?: string | boolean | {
7971
+ retention: string;
7972
+ format?: "text" | "json" | undefined;
7973
+ system?: "debug" | "info" | "warn" | undefined;
7974
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
7975
+ } | undefined;
6563
7976
  timeout?: string | undefined;
6564
7977
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6565
7978
  memorySize?: string | undefined;
@@ -6593,7 +8006,12 @@ declare const StackSchema: z.ZodObject<{
6593
8006
  minify?: boolean | undefined;
6594
8007
  warm?: number | undefined;
6595
8008
  vpc?: boolean | undefined;
6596
- log?: boolean | Duration | undefined;
8009
+ log?: boolean | Duration | {
8010
+ retention: Duration;
8011
+ format?: "text" | "json" | undefined;
8012
+ system?: "debug" | "info" | "warn" | undefined;
8013
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8014
+ } | undefined;
6597
8015
  timeout?: Duration | undefined;
6598
8016
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6599
8017
  memorySize?: Size | undefined;
@@ -6617,7 +8035,12 @@ declare const StackSchema: z.ZodObject<{
6617
8035
  minify?: boolean | undefined;
6618
8036
  warm?: number | undefined;
6619
8037
  vpc?: boolean | undefined;
6620
- log?: boolean | Duration | undefined;
8038
+ log?: boolean | Duration | {
8039
+ retention: Duration;
8040
+ format?: "text" | "json" | undefined;
8041
+ system?: "debug" | "info" | "warn" | undefined;
8042
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8043
+ } | undefined;
6621
8044
  timeout?: Duration | undefined;
6622
8045
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6623
8046
  memorySize?: Size | undefined;
@@ -6651,7 +8074,12 @@ declare const StackSchema: z.ZodObject<{
6651
8074
  minify?: boolean | undefined;
6652
8075
  warm?: number | undefined;
6653
8076
  vpc?: boolean | undefined;
6654
- log?: string | boolean | undefined;
8077
+ log?: string | boolean | {
8078
+ retention: string;
8079
+ format?: "text" | "json" | undefined;
8080
+ system?: "debug" | "info" | "warn" | undefined;
8081
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8082
+ } | undefined;
6655
8083
  timeout?: string | undefined;
6656
8084
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6657
8085
  memorySize?: string | undefined;
@@ -6675,7 +8103,12 @@ declare const StackSchema: z.ZodObject<{
6675
8103
  minify?: boolean | undefined;
6676
8104
  warm?: number | undefined;
6677
8105
  vpc?: boolean | undefined;
6678
- log?: string | boolean | undefined;
8106
+ log?: string | boolean | {
8107
+ retention: string;
8108
+ format?: "text" | "json" | undefined;
8109
+ system?: "debug" | "info" | "warn" | undefined;
8110
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8111
+ } | undefined;
6679
8112
  timeout?: string | undefined;
6680
8113
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6681
8114
  memorySize?: string | undefined;
@@ -6712,7 +8145,22 @@ declare const StackSchema: z.ZodObject<{
6712
8145
  minify: z.ZodOptional<z.ZodBoolean>;
6713
8146
  warm: z.ZodOptional<z.ZodNumber>;
6714
8147
  vpc: z.ZodOptional<z.ZodBoolean>;
6715
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
8148
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
8149
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
8150
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
8151
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
8152
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
8153
+ }, "strip", z.ZodTypeAny, {
8154
+ retention: Duration;
8155
+ format?: "text" | "json" | undefined;
8156
+ system?: "debug" | "info" | "warn" | undefined;
8157
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8158
+ }, {
8159
+ retention: string;
8160
+ format?: "text" | "json" | undefined;
8161
+ system?: "debug" | "info" | "warn" | undefined;
8162
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8163
+ }>]>>;
6716
8164
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6717
8165
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6718
8166
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6752,7 +8200,12 @@ declare const StackSchema: z.ZodObject<{
6752
8200
  minify?: boolean | undefined;
6753
8201
  warm?: number | undefined;
6754
8202
  vpc?: boolean | undefined;
6755
- log?: boolean | Duration | undefined;
8203
+ log?: boolean | Duration | {
8204
+ retention: Duration;
8205
+ format?: "text" | "json" | undefined;
8206
+ system?: "debug" | "info" | "warn" | undefined;
8207
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8208
+ } | undefined;
6756
8209
  timeout?: Duration | undefined;
6757
8210
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6758
8211
  memorySize?: Size | undefined;
@@ -6776,7 +8229,12 @@ declare const StackSchema: z.ZodObject<{
6776
8229
  minify?: boolean | undefined;
6777
8230
  warm?: number | undefined;
6778
8231
  vpc?: boolean | undefined;
6779
- log?: string | boolean | undefined;
8232
+ log?: string | boolean | {
8233
+ retention: string;
8234
+ format?: "text" | "json" | undefined;
8235
+ system?: "debug" | "info" | "warn" | undefined;
8236
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8237
+ } | undefined;
6780
8238
  timeout?: string | undefined;
6781
8239
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6782
8240
  memorySize?: string | undefined;
@@ -6802,7 +8260,12 @@ declare const StackSchema: z.ZodObject<{
6802
8260
  minify?: boolean | undefined;
6803
8261
  warm?: number | undefined;
6804
8262
  vpc?: boolean | undefined;
6805
- log?: boolean | Duration | undefined;
8263
+ log?: boolean | Duration | {
8264
+ retention: Duration;
8265
+ format?: "text" | "json" | undefined;
8266
+ system?: "debug" | "info" | "warn" | undefined;
8267
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8268
+ } | undefined;
6806
8269
  timeout?: Duration | undefined;
6807
8270
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6808
8271
  memorySize?: Size | undefined;
@@ -6826,7 +8289,12 @@ declare const StackSchema: z.ZodObject<{
6826
8289
  minify?: boolean | undefined;
6827
8290
  warm?: number | undefined;
6828
8291
  vpc?: boolean | undefined;
6829
- log?: boolean | Duration | undefined;
8292
+ log?: boolean | Duration | {
8293
+ retention: Duration;
8294
+ format?: "text" | "json" | undefined;
8295
+ system?: "debug" | "info" | "warn" | undefined;
8296
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8297
+ } | undefined;
6830
8298
  timeout?: Duration | undefined;
6831
8299
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6832
8300
  memorySize?: Size | undefined;
@@ -6854,7 +8322,12 @@ declare const StackSchema: z.ZodObject<{
6854
8322
  minify?: boolean | undefined;
6855
8323
  warm?: number | undefined;
6856
8324
  vpc?: boolean | undefined;
6857
- log?: string | boolean | undefined;
8325
+ log?: string | boolean | {
8326
+ retention: string;
8327
+ format?: "text" | "json" | undefined;
8328
+ system?: "debug" | "info" | "warn" | undefined;
8329
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8330
+ } | undefined;
6858
8331
  timeout?: string | undefined;
6859
8332
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6860
8333
  memorySize?: string | undefined;
@@ -6878,7 +8351,12 @@ declare const StackSchema: z.ZodObject<{
6878
8351
  minify?: boolean | undefined;
6879
8352
  warm?: number | undefined;
6880
8353
  vpc?: boolean | undefined;
6881
- log?: string | boolean | undefined;
8354
+ log?: string | boolean | {
8355
+ retention: string;
8356
+ format?: "text" | "json" | undefined;
8357
+ system?: "debug" | "info" | "warn" | undefined;
8358
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8359
+ } | undefined;
6882
8360
  timeout?: string | undefined;
6883
8361
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6884
8362
  memorySize?: string | undefined;
@@ -6911,7 +8389,22 @@ declare const StackSchema: z.ZodObject<{
6911
8389
  minify: z.ZodOptional<z.ZodBoolean>;
6912
8390
  warm: z.ZodOptional<z.ZodNumber>;
6913
8391
  vpc: z.ZodOptional<z.ZodBoolean>;
6914
- log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>]>>;
8392
+ log: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, z.ZodObject<{
8393
+ retention: z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>;
8394
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
8395
+ system: z.ZodOptional<z.ZodEnum<["debug", "info", "warn"]>>;
8396
+ level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
8397
+ }, "strip", z.ZodTypeAny, {
8398
+ retention: Duration;
8399
+ format?: "text" | "json" | undefined;
8400
+ system?: "debug" | "info" | "warn" | undefined;
8401
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8402
+ }, {
8403
+ retention: string;
8404
+ format?: "text" | "json" | undefined;
8405
+ system?: "debug" | "info" | "warn" | undefined;
8406
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8407
+ }>]>>;
6915
8408
  timeout: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Duration, string>, Duration, string>, Duration, string>>;
6916
8409
  runtime: z.ZodOptional<z.ZodEnum<["nodejs18.x", "nodejs20.x"]>>;
6917
8410
  memorySize: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, Size, string>, Size, string>, Size, string>>;
@@ -6951,7 +8444,12 @@ declare const StackSchema: z.ZodObject<{
6951
8444
  minify?: boolean | undefined;
6952
8445
  warm?: number | undefined;
6953
8446
  vpc?: boolean | undefined;
6954
- log?: boolean | Duration | undefined;
8447
+ log?: boolean | Duration | {
8448
+ retention: Duration;
8449
+ format?: "text" | "json" | undefined;
8450
+ system?: "debug" | "info" | "warn" | undefined;
8451
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8452
+ } | undefined;
6955
8453
  timeout?: Duration | undefined;
6956
8454
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6957
8455
  memorySize?: Size | undefined;
@@ -6975,7 +8473,12 @@ declare const StackSchema: z.ZodObject<{
6975
8473
  minify?: boolean | undefined;
6976
8474
  warm?: number | undefined;
6977
8475
  vpc?: boolean | undefined;
6978
- log?: string | boolean | undefined;
8476
+ log?: string | boolean | {
8477
+ retention: string;
8478
+ format?: "text" | "json" | undefined;
8479
+ system?: "debug" | "info" | "warn" | undefined;
8480
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8481
+ } | undefined;
6979
8482
  timeout?: string | undefined;
6980
8483
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
6981
8484
  memorySize?: string | undefined;
@@ -7300,7 +8803,12 @@ declare const StackSchema: z.ZodObject<{
7300
8803
  minify?: boolean | undefined;
7301
8804
  warm?: number | undefined;
7302
8805
  vpc?: boolean | undefined;
7303
- log?: boolean | Duration | undefined;
8806
+ log?: boolean | Duration | {
8807
+ retention: Duration;
8808
+ format?: "text" | "json" | undefined;
8809
+ system?: "debug" | "info" | "warn" | undefined;
8810
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8811
+ } | undefined;
7304
8812
  timeout?: Duration | undefined;
7305
8813
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7306
8814
  memorySize?: Size | undefined;
@@ -7401,7 +8909,12 @@ declare const StackSchema: z.ZodObject<{
7401
8909
  minify?: boolean | undefined;
7402
8910
  warm?: number | undefined;
7403
8911
  vpc?: boolean | undefined;
7404
- log?: string | boolean | undefined;
8912
+ log?: string | boolean | {
8913
+ retention: string;
8914
+ format?: "text" | "json" | undefined;
8915
+ system?: "debug" | "info" | "warn" | undefined;
8916
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
8917
+ } | undefined;
7405
8918
  timeout?: string | undefined;
7406
8919
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7407
8920
  memorySize?: string | undefined;
@@ -7504,7 +9017,12 @@ declare const StackSchema: z.ZodObject<{
7504
9017
  minify?: boolean | undefined;
7505
9018
  warm?: number | undefined;
7506
9019
  vpc?: boolean | undefined;
7507
- log?: boolean | Duration | undefined;
9020
+ log?: boolean | Duration | {
9021
+ retention: Duration;
9022
+ format?: "text" | "json" | undefined;
9023
+ system?: "debug" | "info" | "warn" | undefined;
9024
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9025
+ } | undefined;
7508
9026
  timeout?: Duration | undefined;
7509
9027
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7510
9028
  memorySize?: Size | undefined;
@@ -7532,7 +9050,12 @@ declare const StackSchema: z.ZodObject<{
7532
9050
  minify?: boolean | undefined;
7533
9051
  warm?: number | undefined;
7534
9052
  vpc?: boolean | undefined;
7535
- log?: boolean | Duration | undefined;
9053
+ log?: boolean | Duration | {
9054
+ retention: Duration;
9055
+ format?: "text" | "json" | undefined;
9056
+ system?: "debug" | "info" | "warn" | undefined;
9057
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9058
+ } | undefined;
7536
9059
  timeout?: Duration | undefined;
7537
9060
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7538
9061
  memorySize?: Size | undefined;
@@ -7557,7 +9080,12 @@ declare const StackSchema: z.ZodObject<{
7557
9080
  minify?: boolean | undefined;
7558
9081
  warm?: number | undefined;
7559
9082
  vpc?: boolean | undefined;
7560
- log?: boolean | Duration | undefined;
9083
+ log?: boolean | Duration | {
9084
+ retention: Duration;
9085
+ format?: "text" | "json" | undefined;
9086
+ system?: "debug" | "info" | "warn" | undefined;
9087
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9088
+ } | undefined;
7561
9089
  timeout?: Duration | undefined;
7562
9090
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7563
9091
  memorySize?: Size | undefined;
@@ -7582,7 +9110,12 @@ declare const StackSchema: z.ZodObject<{
7582
9110
  minify?: boolean | undefined;
7583
9111
  warm?: number | undefined;
7584
9112
  vpc?: boolean | undefined;
7585
- log?: boolean | Duration | undefined;
9113
+ log?: boolean | Duration | {
9114
+ retention: Duration;
9115
+ format?: "text" | "json" | undefined;
9116
+ system?: "debug" | "info" | "warn" | undefined;
9117
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9118
+ } | undefined;
7586
9119
  timeout?: Duration | undefined;
7587
9120
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7588
9121
  memorySize?: Size | undefined;
@@ -7607,7 +9140,12 @@ declare const StackSchema: z.ZodObject<{
7607
9140
  minify?: boolean | undefined;
7608
9141
  warm?: number | undefined;
7609
9142
  vpc?: boolean | undefined;
7610
- log?: boolean | Duration | undefined;
9143
+ log?: boolean | Duration | {
9144
+ retention: Duration;
9145
+ format?: "text" | "json" | undefined;
9146
+ system?: "debug" | "info" | "warn" | undefined;
9147
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9148
+ } | undefined;
7611
9149
  timeout?: Duration | undefined;
7612
9150
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7613
9151
  memorySize?: Size | undefined;
@@ -7632,7 +9170,12 @@ declare const StackSchema: z.ZodObject<{
7632
9170
  minify?: boolean | undefined;
7633
9171
  warm?: number | undefined;
7634
9172
  vpc?: boolean | undefined;
7635
- log?: boolean | Duration | undefined;
9173
+ log?: boolean | Duration | {
9174
+ retention: Duration;
9175
+ format?: "text" | "json" | undefined;
9176
+ system?: "debug" | "info" | "warn" | undefined;
9177
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9178
+ } | undefined;
7636
9179
  timeout?: Duration | undefined;
7637
9180
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7638
9181
  memorySize?: Size | undefined;
@@ -7657,7 +9200,12 @@ declare const StackSchema: z.ZodObject<{
7657
9200
  minify?: boolean | undefined;
7658
9201
  warm?: number | undefined;
7659
9202
  vpc?: boolean | undefined;
7660
- log?: boolean | Duration | undefined;
9203
+ log?: boolean | Duration | {
9204
+ retention: Duration;
9205
+ format?: "text" | "json" | undefined;
9206
+ system?: "debug" | "info" | "warn" | undefined;
9207
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9208
+ } | undefined;
7661
9209
  timeout?: Duration | undefined;
7662
9210
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7663
9211
  memorySize?: Size | undefined;
@@ -7682,7 +9230,12 @@ declare const StackSchema: z.ZodObject<{
7682
9230
  minify?: boolean | undefined;
7683
9231
  warm?: number | undefined;
7684
9232
  vpc?: boolean | undefined;
7685
- log?: boolean | Duration | undefined;
9233
+ log?: boolean | Duration | {
9234
+ retention: Duration;
9235
+ format?: "text" | "json" | undefined;
9236
+ system?: "debug" | "info" | "warn" | undefined;
9237
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9238
+ } | undefined;
7686
9239
  timeout?: Duration | undefined;
7687
9240
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7688
9241
  memorySize?: Size | undefined;
@@ -7707,7 +9260,12 @@ declare const StackSchema: z.ZodObject<{
7707
9260
  minify?: boolean | undefined;
7708
9261
  warm?: number | undefined;
7709
9262
  vpc?: boolean | undefined;
7710
- log?: boolean | Duration | undefined;
9263
+ log?: boolean | Duration | {
9264
+ retention: Duration;
9265
+ format?: "text" | "json" | undefined;
9266
+ system?: "debug" | "info" | "warn" | undefined;
9267
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9268
+ } | undefined;
7711
9269
  timeout?: Duration | undefined;
7712
9270
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7713
9271
  memorySize?: Size | undefined;
@@ -7732,7 +9290,12 @@ declare const StackSchema: z.ZodObject<{
7732
9290
  minify?: boolean | undefined;
7733
9291
  warm?: number | undefined;
7734
9292
  vpc?: boolean | undefined;
7735
- log?: boolean | Duration | undefined;
9293
+ log?: boolean | Duration | {
9294
+ retention: Duration;
9295
+ format?: "text" | "json" | undefined;
9296
+ system?: "debug" | "info" | "warn" | undefined;
9297
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9298
+ } | undefined;
7736
9299
  timeout?: Duration | undefined;
7737
9300
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7738
9301
  memorySize?: Size | undefined;
@@ -7761,7 +9324,12 @@ declare const StackSchema: z.ZodObject<{
7761
9324
  minify?: boolean | undefined;
7762
9325
  warm?: number | undefined;
7763
9326
  vpc?: boolean | undefined;
7764
- log?: boolean | Duration | undefined;
9327
+ log?: boolean | Duration | {
9328
+ retention: Duration;
9329
+ format?: "text" | "json" | undefined;
9330
+ system?: "debug" | "info" | "warn" | undefined;
9331
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9332
+ } | undefined;
7765
9333
  timeout?: Duration | undefined;
7766
9334
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7767
9335
  memorySize?: Size | undefined;
@@ -7786,7 +9354,12 @@ declare const StackSchema: z.ZodObject<{
7786
9354
  minify?: boolean | undefined;
7787
9355
  warm?: number | undefined;
7788
9356
  vpc?: boolean | undefined;
7789
- log?: boolean | Duration | undefined;
9357
+ log?: boolean | Duration | {
9358
+ retention: Duration;
9359
+ format?: "text" | "json" | undefined;
9360
+ system?: "debug" | "info" | "warn" | undefined;
9361
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9362
+ } | undefined;
7790
9363
  timeout?: Duration | undefined;
7791
9364
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7792
9365
  memorySize?: Size | undefined;
@@ -7810,7 +9383,12 @@ declare const StackSchema: z.ZodObject<{
7810
9383
  minify?: boolean | undefined;
7811
9384
  warm?: number | undefined;
7812
9385
  vpc?: boolean | undefined;
7813
- log?: boolean | Duration | undefined;
9386
+ log?: boolean | Duration | {
9387
+ retention: Duration;
9388
+ format?: "text" | "json" | undefined;
9389
+ system?: "debug" | "info" | "warn" | undefined;
9390
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9391
+ } | undefined;
7814
9392
  timeout?: Duration | undefined;
7815
9393
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7816
9394
  memorySize?: Size | undefined;
@@ -7838,7 +9416,12 @@ declare const StackSchema: z.ZodObject<{
7838
9416
  minify?: boolean | undefined;
7839
9417
  warm?: number | undefined;
7840
9418
  vpc?: boolean | undefined;
7841
- log?: boolean | Duration | undefined;
9419
+ log?: boolean | Duration | {
9420
+ retention: Duration;
9421
+ format?: "text" | "json" | undefined;
9422
+ system?: "debug" | "info" | "warn" | undefined;
9423
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9424
+ } | undefined;
7842
9425
  timeout?: Duration | undefined;
7843
9426
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7844
9427
  memorySize?: Size | undefined;
@@ -7863,7 +9446,12 @@ declare const StackSchema: z.ZodObject<{
7863
9446
  minify?: boolean | undefined;
7864
9447
  warm?: number | undefined;
7865
9448
  vpc?: boolean | undefined;
7866
- log?: boolean | Duration | undefined;
9449
+ log?: boolean | Duration | {
9450
+ retention: Duration;
9451
+ format?: "text" | "json" | undefined;
9452
+ system?: "debug" | "info" | "warn" | undefined;
9453
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9454
+ } | undefined;
7867
9455
  timeout?: Duration | undefined;
7868
9456
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7869
9457
  memorySize?: Size | undefined;
@@ -7890,7 +9478,12 @@ declare const StackSchema: z.ZodObject<{
7890
9478
  minify?: boolean | undefined;
7891
9479
  warm?: number | undefined;
7892
9480
  vpc?: boolean | undefined;
7893
- log?: boolean | Duration | undefined;
9481
+ log?: boolean | Duration | {
9482
+ retention: Duration;
9483
+ format?: "text" | "json" | undefined;
9484
+ system?: "debug" | "info" | "warn" | undefined;
9485
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9486
+ } | undefined;
7894
9487
  timeout?: Duration | undefined;
7895
9488
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7896
9489
  memorySize?: Size | undefined;
@@ -7914,7 +9507,12 @@ declare const StackSchema: z.ZodObject<{
7914
9507
  minify?: boolean | undefined;
7915
9508
  warm?: number | undefined;
7916
9509
  vpc?: boolean | undefined;
7917
- log?: boolean | Duration | undefined;
9510
+ log?: boolean | Duration | {
9511
+ retention: Duration;
9512
+ format?: "text" | "json" | undefined;
9513
+ system?: "debug" | "info" | "warn" | undefined;
9514
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9515
+ } | undefined;
7918
9516
  timeout?: Duration | undefined;
7919
9517
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7920
9518
  memorySize?: Size | undefined;
@@ -7933,6 +9531,7 @@ declare const StackSchema: z.ZodObject<{
7933
9531
  resources: string[];
7934
9532
  }[] | undefined;
7935
9533
  } | undefined);
9534
+ enabled: boolean;
7936
9535
  schedule: string;
7937
9536
  payload?: unknown;
7938
9537
  }> | undefined;
@@ -7951,7 +9550,12 @@ declare const StackSchema: z.ZodObject<{
7951
9550
  minify?: boolean | undefined;
7952
9551
  warm?: number | undefined;
7953
9552
  vpc?: boolean | undefined;
7954
- log?: boolean | Duration | undefined;
9553
+ log?: boolean | Duration | {
9554
+ retention: Duration;
9555
+ format?: "text" | "json" | undefined;
9556
+ system?: "debug" | "info" | "warn" | undefined;
9557
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9558
+ } | undefined;
7955
9559
  timeout?: Duration | undefined;
7956
9560
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7957
9561
  memorySize?: Size | undefined;
@@ -7976,7 +9580,12 @@ declare const StackSchema: z.ZodObject<{
7976
9580
  minify?: boolean | undefined;
7977
9581
  warm?: number | undefined;
7978
9582
  vpc?: boolean | undefined;
7979
- log?: boolean | Duration | undefined;
9583
+ log?: boolean | Duration | {
9584
+ retention: Duration;
9585
+ format?: "text" | "json" | undefined;
9586
+ system?: "debug" | "info" | "warn" | undefined;
9587
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9588
+ } | undefined;
7980
9589
  timeout?: Duration | undefined;
7981
9590
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
7982
9591
  memorySize?: Size | undefined;
@@ -8010,7 +9619,12 @@ declare const StackSchema: z.ZodObject<{
8010
9619
  minify?: boolean | undefined;
8011
9620
  warm?: number | undefined;
8012
9621
  vpc?: boolean | undefined;
8013
- log?: boolean | Duration | undefined;
9622
+ log?: boolean | Duration | {
9623
+ retention: Duration;
9624
+ format?: "text" | "json" | undefined;
9625
+ system?: "debug" | "info" | "warn" | undefined;
9626
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9627
+ } | undefined;
8014
9628
  timeout?: Duration | undefined;
8015
9629
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8016
9630
  memorySize?: Size | undefined;
@@ -8034,7 +9648,12 @@ declare const StackSchema: z.ZodObject<{
8034
9648
  minify?: boolean | undefined;
8035
9649
  warm?: number | undefined;
8036
9650
  vpc?: boolean | undefined;
8037
- log?: boolean | Duration | undefined;
9651
+ log?: boolean | Duration | {
9652
+ retention: Duration;
9653
+ format?: "text" | "json" | undefined;
9654
+ system?: "debug" | "info" | "warn" | undefined;
9655
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9656
+ } | undefined;
8038
9657
  timeout?: Duration | undefined;
8039
9658
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8040
9659
  memorySize?: Size | undefined;
@@ -8068,7 +9687,12 @@ declare const StackSchema: z.ZodObject<{
8068
9687
  minify?: boolean | undefined;
8069
9688
  warm?: number | undefined;
8070
9689
  vpc?: boolean | undefined;
8071
- log?: boolean | Duration | undefined;
9690
+ log?: boolean | Duration | {
9691
+ retention: Duration;
9692
+ format?: "text" | "json" | undefined;
9693
+ system?: "debug" | "info" | "warn" | undefined;
9694
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9695
+ } | undefined;
8072
9696
  timeout?: Duration | undefined;
8073
9697
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8074
9698
  memorySize?: Size | undefined;
@@ -8092,7 +9716,12 @@ declare const StackSchema: z.ZodObject<{
8092
9716
  minify?: boolean | undefined;
8093
9717
  warm?: number | undefined;
8094
9718
  vpc?: boolean | undefined;
8095
- log?: boolean | Duration | undefined;
9719
+ log?: boolean | Duration | {
9720
+ retention: Duration;
9721
+ format?: "text" | "json" | undefined;
9722
+ system?: "debug" | "info" | "warn" | undefined;
9723
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9724
+ } | undefined;
8096
9725
  timeout?: Duration | undefined;
8097
9726
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8098
9727
  memorySize?: Size | undefined;
@@ -8127,7 +9756,12 @@ declare const StackSchema: z.ZodObject<{
8127
9756
  minify?: boolean | undefined;
8128
9757
  warm?: number | undefined;
8129
9758
  vpc?: boolean | undefined;
8130
- log?: boolean | Duration | undefined;
9759
+ log?: boolean | Duration | {
9760
+ retention: Duration;
9761
+ format?: "text" | "json" | undefined;
9762
+ system?: "debug" | "info" | "warn" | undefined;
9763
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9764
+ } | undefined;
8131
9765
  timeout?: Duration | undefined;
8132
9766
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8133
9767
  memorySize?: Size | undefined;
@@ -8151,7 +9785,12 @@ declare const StackSchema: z.ZodObject<{
8151
9785
  minify?: boolean | undefined;
8152
9786
  warm?: number | undefined;
8153
9787
  vpc?: boolean | undefined;
8154
- log?: boolean | Duration | undefined;
9788
+ log?: boolean | Duration | {
9789
+ retention: Duration;
9790
+ format?: "text" | "json" | undefined;
9791
+ system?: "debug" | "info" | "warn" | undefined;
9792
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9793
+ } | undefined;
8155
9794
  timeout?: Duration | undefined;
8156
9795
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8157
9796
  memorySize?: Size | undefined;
@@ -8184,7 +9823,12 @@ declare const StackSchema: z.ZodObject<{
8184
9823
  minify?: boolean | undefined;
8185
9824
  warm?: number | undefined;
8186
9825
  vpc?: boolean | undefined;
8187
- log?: boolean | Duration | undefined;
9826
+ log?: boolean | Duration | {
9827
+ retention: Duration;
9828
+ format?: "text" | "json" | undefined;
9829
+ system?: "debug" | "info" | "warn" | undefined;
9830
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9831
+ } | undefined;
8188
9832
  timeout?: Duration | undefined;
8189
9833
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8190
9834
  memorySize?: Size | undefined;
@@ -8287,7 +9931,12 @@ declare const StackSchema: z.ZodObject<{
8287
9931
  minify?: boolean | undefined;
8288
9932
  warm?: number | undefined;
8289
9933
  vpc?: boolean | undefined;
8290
- log?: string | boolean | undefined;
9934
+ log?: string | boolean | {
9935
+ retention: string;
9936
+ format?: "text" | "json" | undefined;
9937
+ system?: "debug" | "info" | "warn" | undefined;
9938
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9939
+ } | undefined;
8291
9940
  timeout?: string | undefined;
8292
9941
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8293
9942
  memorySize?: string | undefined;
@@ -8315,7 +9964,12 @@ declare const StackSchema: z.ZodObject<{
8315
9964
  minify?: boolean | undefined;
8316
9965
  warm?: number | undefined;
8317
9966
  vpc?: boolean | undefined;
8318
- log?: string | boolean | undefined;
9967
+ log?: string | boolean | {
9968
+ retention: string;
9969
+ format?: "text" | "json" | undefined;
9970
+ system?: "debug" | "info" | "warn" | undefined;
9971
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
9972
+ } | undefined;
8319
9973
  timeout?: string | undefined;
8320
9974
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8321
9975
  memorySize?: string | undefined;
@@ -8340,7 +9994,12 @@ declare const StackSchema: z.ZodObject<{
8340
9994
  minify?: boolean | undefined;
8341
9995
  warm?: number | undefined;
8342
9996
  vpc?: boolean | undefined;
8343
- log?: string | boolean | undefined;
9997
+ log?: string | boolean | {
9998
+ retention: string;
9999
+ format?: "text" | "json" | undefined;
10000
+ system?: "debug" | "info" | "warn" | undefined;
10001
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10002
+ } | undefined;
8344
10003
  timeout?: string | undefined;
8345
10004
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8346
10005
  memorySize?: string | undefined;
@@ -8365,7 +10024,12 @@ declare const StackSchema: z.ZodObject<{
8365
10024
  minify?: boolean | undefined;
8366
10025
  warm?: number | undefined;
8367
10026
  vpc?: boolean | undefined;
8368
- log?: string | boolean | undefined;
10027
+ log?: string | boolean | {
10028
+ retention: string;
10029
+ format?: "text" | "json" | undefined;
10030
+ system?: "debug" | "info" | "warn" | undefined;
10031
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10032
+ } | undefined;
8369
10033
  timeout?: string | undefined;
8370
10034
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8371
10035
  memorySize?: string | undefined;
@@ -8390,7 +10054,12 @@ declare const StackSchema: z.ZodObject<{
8390
10054
  minify?: boolean | undefined;
8391
10055
  warm?: number | undefined;
8392
10056
  vpc?: boolean | undefined;
8393
- log?: string | boolean | undefined;
10057
+ log?: string | boolean | {
10058
+ retention: string;
10059
+ format?: "text" | "json" | undefined;
10060
+ system?: "debug" | "info" | "warn" | undefined;
10061
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10062
+ } | undefined;
8394
10063
  timeout?: string | undefined;
8395
10064
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8396
10065
  memorySize?: string | undefined;
@@ -8415,7 +10084,12 @@ declare const StackSchema: z.ZodObject<{
8415
10084
  minify?: boolean | undefined;
8416
10085
  warm?: number | undefined;
8417
10086
  vpc?: boolean | undefined;
8418
- log?: string | boolean | undefined;
10087
+ log?: string | boolean | {
10088
+ retention: string;
10089
+ format?: "text" | "json" | undefined;
10090
+ system?: "debug" | "info" | "warn" | undefined;
10091
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10092
+ } | undefined;
8419
10093
  timeout?: string | undefined;
8420
10094
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8421
10095
  memorySize?: string | undefined;
@@ -8440,7 +10114,12 @@ declare const StackSchema: z.ZodObject<{
8440
10114
  minify?: boolean | undefined;
8441
10115
  warm?: number | undefined;
8442
10116
  vpc?: boolean | undefined;
8443
- log?: string | boolean | undefined;
10117
+ log?: string | boolean | {
10118
+ retention: string;
10119
+ format?: "text" | "json" | undefined;
10120
+ system?: "debug" | "info" | "warn" | undefined;
10121
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10122
+ } | undefined;
8444
10123
  timeout?: string | undefined;
8445
10124
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8446
10125
  memorySize?: string | undefined;
@@ -8465,7 +10144,12 @@ declare const StackSchema: z.ZodObject<{
8465
10144
  minify?: boolean | undefined;
8466
10145
  warm?: number | undefined;
8467
10146
  vpc?: boolean | undefined;
8468
- log?: string | boolean | undefined;
10147
+ log?: string | boolean | {
10148
+ retention: string;
10149
+ format?: "text" | "json" | undefined;
10150
+ system?: "debug" | "info" | "warn" | undefined;
10151
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10152
+ } | undefined;
8469
10153
  timeout?: string | undefined;
8470
10154
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8471
10155
  memorySize?: string | undefined;
@@ -8490,7 +10174,12 @@ declare const StackSchema: z.ZodObject<{
8490
10174
  minify?: boolean | undefined;
8491
10175
  warm?: number | undefined;
8492
10176
  vpc?: boolean | undefined;
8493
- log?: string | boolean | undefined;
10177
+ log?: string | boolean | {
10178
+ retention: string;
10179
+ format?: "text" | "json" | undefined;
10180
+ system?: "debug" | "info" | "warn" | undefined;
10181
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10182
+ } | undefined;
8494
10183
  timeout?: string | undefined;
8495
10184
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8496
10185
  memorySize?: string | undefined;
@@ -8515,7 +10204,12 @@ declare const StackSchema: z.ZodObject<{
8515
10204
  minify?: boolean | undefined;
8516
10205
  warm?: number | undefined;
8517
10206
  vpc?: boolean | undefined;
8518
- log?: string | boolean | undefined;
10207
+ log?: string | boolean | {
10208
+ retention: string;
10209
+ format?: "text" | "json" | undefined;
10210
+ system?: "debug" | "info" | "warn" | undefined;
10211
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10212
+ } | undefined;
8519
10213
  timeout?: string | undefined;
8520
10214
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8521
10215
  memorySize?: string | undefined;
@@ -8544,7 +10238,12 @@ declare const StackSchema: z.ZodObject<{
8544
10238
  minify?: boolean | undefined;
8545
10239
  warm?: number | undefined;
8546
10240
  vpc?: boolean | undefined;
8547
- log?: string | boolean | undefined;
10241
+ log?: string | boolean | {
10242
+ retention: string;
10243
+ format?: "text" | "json" | undefined;
10244
+ system?: "debug" | "info" | "warn" | undefined;
10245
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10246
+ } | undefined;
8548
10247
  timeout?: string | undefined;
8549
10248
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8550
10249
  memorySize?: string | undefined;
@@ -8569,7 +10268,12 @@ declare const StackSchema: z.ZodObject<{
8569
10268
  minify?: boolean | undefined;
8570
10269
  warm?: number | undefined;
8571
10270
  vpc?: boolean | undefined;
8572
- log?: string | boolean | undefined;
10271
+ log?: string | boolean | {
10272
+ retention: string;
10273
+ format?: "text" | "json" | undefined;
10274
+ system?: "debug" | "info" | "warn" | undefined;
10275
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10276
+ } | undefined;
8573
10277
  timeout?: string | undefined;
8574
10278
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8575
10279
  memorySize?: string | undefined;
@@ -8593,7 +10297,12 @@ declare const StackSchema: z.ZodObject<{
8593
10297
  minify?: boolean | undefined;
8594
10298
  warm?: number | undefined;
8595
10299
  vpc?: boolean | undefined;
8596
- log?: string | boolean | undefined;
10300
+ log?: string | boolean | {
10301
+ retention: string;
10302
+ format?: "text" | "json" | undefined;
10303
+ system?: "debug" | "info" | "warn" | undefined;
10304
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10305
+ } | undefined;
8597
10306
  timeout?: string | undefined;
8598
10307
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8599
10308
  memorySize?: string | undefined;
@@ -8621,7 +10330,12 @@ declare const StackSchema: z.ZodObject<{
8621
10330
  minify?: boolean | undefined;
8622
10331
  warm?: number | undefined;
8623
10332
  vpc?: boolean | undefined;
8624
- log?: string | boolean | undefined;
10333
+ log?: string | boolean | {
10334
+ retention: string;
10335
+ format?: "text" | "json" | undefined;
10336
+ system?: "debug" | "info" | "warn" | undefined;
10337
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10338
+ } | undefined;
8625
10339
  timeout?: string | undefined;
8626
10340
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8627
10341
  memorySize?: string | undefined;
@@ -8646,7 +10360,12 @@ declare const StackSchema: z.ZodObject<{
8646
10360
  minify?: boolean | undefined;
8647
10361
  warm?: number | undefined;
8648
10362
  vpc?: boolean | undefined;
8649
- log?: string | boolean | undefined;
10363
+ log?: string | boolean | {
10364
+ retention: string;
10365
+ format?: "text" | "json" | undefined;
10366
+ system?: "debug" | "info" | "warn" | undefined;
10367
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10368
+ } | undefined;
8650
10369
  timeout?: string | undefined;
8651
10370
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8652
10371
  memorySize?: string | undefined;
@@ -8673,7 +10392,12 @@ declare const StackSchema: z.ZodObject<{
8673
10392
  minify?: boolean | undefined;
8674
10393
  warm?: number | undefined;
8675
10394
  vpc?: boolean | undefined;
8676
- log?: string | boolean | undefined;
10395
+ log?: string | boolean | {
10396
+ retention: string;
10397
+ format?: "text" | "json" | undefined;
10398
+ system?: "debug" | "info" | "warn" | undefined;
10399
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10400
+ } | undefined;
8677
10401
  timeout?: string | undefined;
8678
10402
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8679
10403
  memorySize?: string | undefined;
@@ -8697,7 +10421,12 @@ declare const StackSchema: z.ZodObject<{
8697
10421
  minify?: boolean | undefined;
8698
10422
  warm?: number | undefined;
8699
10423
  vpc?: boolean | undefined;
8700
- log?: string | boolean | undefined;
10424
+ log?: string | boolean | {
10425
+ retention: string;
10426
+ format?: "text" | "json" | undefined;
10427
+ system?: "debug" | "info" | "warn" | undefined;
10428
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10429
+ } | undefined;
8701
10430
  timeout?: string | undefined;
8702
10431
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8703
10432
  memorySize?: string | undefined;
@@ -8717,6 +10446,7 @@ declare const StackSchema: z.ZodObject<{
8717
10446
  }[] | undefined;
8718
10447
  } | undefined);
8719
10448
  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);
10449
+ enabled?: boolean | undefined;
8720
10450
  payload?: unknown;
8721
10451
  }> | undefined;
8722
10452
  caches?: Record<string, {
@@ -8734,7 +10464,12 @@ declare const StackSchema: z.ZodObject<{
8734
10464
  minify?: boolean | undefined;
8735
10465
  warm?: number | undefined;
8736
10466
  vpc?: boolean | undefined;
8737
- log?: string | boolean | undefined;
10467
+ log?: string | boolean | {
10468
+ retention: string;
10469
+ format?: "text" | "json" | undefined;
10470
+ system?: "debug" | "info" | "warn" | undefined;
10471
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10472
+ } | undefined;
8738
10473
  timeout?: string | undefined;
8739
10474
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8740
10475
  memorySize?: string | undefined;
@@ -8759,7 +10494,12 @@ declare const StackSchema: z.ZodObject<{
8759
10494
  minify?: boolean | undefined;
8760
10495
  warm?: number | undefined;
8761
10496
  vpc?: boolean | undefined;
8762
- log?: string | boolean | undefined;
10497
+ log?: string | boolean | {
10498
+ retention: string;
10499
+ format?: "text" | "json" | undefined;
10500
+ system?: "debug" | "info" | "warn" | undefined;
10501
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10502
+ } | undefined;
8763
10503
  timeout?: string | undefined;
8764
10504
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8765
10505
  memorySize?: string | undefined;
@@ -8793,7 +10533,12 @@ declare const StackSchema: z.ZodObject<{
8793
10533
  minify?: boolean | undefined;
8794
10534
  warm?: number | undefined;
8795
10535
  vpc?: boolean | undefined;
8796
- log?: string | boolean | undefined;
10536
+ log?: string | boolean | {
10537
+ retention: string;
10538
+ format?: "text" | "json" | undefined;
10539
+ system?: "debug" | "info" | "warn" | undefined;
10540
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10541
+ } | undefined;
8797
10542
  timeout?: string | undefined;
8798
10543
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8799
10544
  memorySize?: string | undefined;
@@ -8817,7 +10562,12 @@ declare const StackSchema: z.ZodObject<{
8817
10562
  minify?: boolean | undefined;
8818
10563
  warm?: number | undefined;
8819
10564
  vpc?: boolean | undefined;
8820
- log?: string | boolean | undefined;
10565
+ log?: string | boolean | {
10566
+ retention: string;
10567
+ format?: "text" | "json" | undefined;
10568
+ system?: "debug" | "info" | "warn" | undefined;
10569
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10570
+ } | undefined;
8821
10571
  timeout?: string | undefined;
8822
10572
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8823
10573
  memorySize?: string | undefined;
@@ -8851,7 +10601,12 @@ declare const StackSchema: z.ZodObject<{
8851
10601
  minify?: boolean | undefined;
8852
10602
  warm?: number | undefined;
8853
10603
  vpc?: boolean | undefined;
8854
- log?: string | boolean | undefined;
10604
+ log?: string | boolean | {
10605
+ retention: string;
10606
+ format?: "text" | "json" | undefined;
10607
+ system?: "debug" | "info" | "warn" | undefined;
10608
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10609
+ } | undefined;
8855
10610
  timeout?: string | undefined;
8856
10611
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8857
10612
  memorySize?: string | undefined;
@@ -8875,7 +10630,12 @@ declare const StackSchema: z.ZodObject<{
8875
10630
  minify?: boolean | undefined;
8876
10631
  warm?: number | undefined;
8877
10632
  vpc?: boolean | undefined;
8878
- log?: string | boolean | undefined;
10633
+ log?: string | boolean | {
10634
+ retention: string;
10635
+ format?: "text" | "json" | undefined;
10636
+ system?: "debug" | "info" | "warn" | undefined;
10637
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10638
+ } | undefined;
8879
10639
  timeout?: string | undefined;
8880
10640
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8881
10641
  memorySize?: string | undefined;
@@ -8910,7 +10670,12 @@ declare const StackSchema: z.ZodObject<{
8910
10670
  minify?: boolean | undefined;
8911
10671
  warm?: number | undefined;
8912
10672
  vpc?: boolean | undefined;
8913
- log?: string | boolean | undefined;
10673
+ log?: string | boolean | {
10674
+ retention: string;
10675
+ format?: "text" | "json" | undefined;
10676
+ system?: "debug" | "info" | "warn" | undefined;
10677
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10678
+ } | undefined;
8914
10679
  timeout?: string | undefined;
8915
10680
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8916
10681
  memorySize?: string | undefined;
@@ -8934,7 +10699,12 @@ declare const StackSchema: z.ZodObject<{
8934
10699
  minify?: boolean | undefined;
8935
10700
  warm?: number | undefined;
8936
10701
  vpc?: boolean | undefined;
8937
- log?: string | boolean | undefined;
10702
+ log?: string | boolean | {
10703
+ retention: string;
10704
+ format?: "text" | "json" | undefined;
10705
+ system?: "debug" | "info" | "warn" | undefined;
10706
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10707
+ } | undefined;
8938
10708
  timeout?: string | undefined;
8939
10709
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8940
10710
  memorySize?: string | undefined;
@@ -8967,7 +10737,12 @@ declare const StackSchema: z.ZodObject<{
8967
10737
  minify?: boolean | undefined;
8968
10738
  warm?: number | undefined;
8969
10739
  vpc?: boolean | undefined;
8970
- log?: string | boolean | undefined;
10740
+ log?: string | boolean | {
10741
+ retention: string;
10742
+ format?: "text" | "json" | undefined;
10743
+ system?: "debug" | "info" | "warn" | undefined;
10744
+ level?: "error" | "debug" | "info" | "warn" | "trace" | "fatal" | undefined;
10745
+ } | undefined;
8971
10746
  timeout?: string | undefined;
8972
10747
  runtime?: "nodejs18.x" | "nodejs20.x" | undefined;
8973
10748
  memorySize?: string | undefined;
@@ -9243,6 +11018,12 @@ type FunctionProps$1 = {
9243
11018
  securityGroupIds: string[];
9244
11019
  subnetIds: string[];
9245
11020
  };
11021
+ log?: boolean | Duration | {
11022
+ retention: Duration;
11023
+ format?: 'text' | 'json';
11024
+ level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
11025
+ system?: 'debug' | 'info' | 'warn';
11026
+ };
9246
11027
  };
9247
11028
  declare class Function$1 extends Resource {
9248
11029
  private _logicalId;
@@ -9251,8 +11032,9 @@ declare class Function$1 extends Resource {
9251
11032
  private role;
9252
11033
  private policy;
9253
11034
  private environmentVariables;
11035
+ private logConfig;
9254
11036
  constructor(_logicalId: string, props: FunctionProps$1);
9255
- enableLogs(retention?: Duration): this;
11037
+ private enableLogs;
9256
11038
  warmUp(concurrency: number): this;
9257
11039
  addUrl(props?: Omit<UrlProps, 'target'>): Url;
9258
11040
  addPermissions(...permissions: (Permission | Permission[])[]): this;
@@ -9275,6 +11057,11 @@ declare class Function$1 extends Resource {
9275
11057
  SecurityGroupIds: string[];
9276
11058
  SubnetIds: string[];
9277
11059
  } | undefined;
11060
+ LoggingConfig?: {
11061
+ LogFormat: string;
11062
+ ApplicationLogLevel: string;
11063
+ SystemLogLevel: string;
11064
+ } | undefined;
9278
11065
  EphemeralStorage: {
9279
11066
  Size: number;
9280
11067
  };