@@ -21,7 +21,7 @@ import {
21
21
ApplicationLogLevel ,
22
22
Architecture ,
23
23
LambdaInsightsVersion ,
24
- LogFormat ,
24
+ LoggingFormat ,
25
25
Runtime ,
26
26
Tracing
27
27
} from 'aws-cdk-lib/aws-lambda'
@@ -129,9 +129,9 @@ export class NewsletterGenerator extends Construct {
129
129
architecture : Architecture . ARM_64 ,
130
130
runtime : Runtime . NODEJS_20_X ,
131
131
tracing : Tracing . ACTIVE ,
132
- logFormat : LogFormat . JSON ,
132
+ loggingFormat : LoggingFormat . JSON ,
133
133
logRetention : RetentionDays . ONE_WEEK ,
134
- applicationLogLevel : ApplicationLogLevel . DEBUG ,
134
+ applicationLogLevelV2 : ApplicationLogLevel . DEBUG ,
135
135
insightsVersion : LambdaInsightsVersion . VERSION_1_0_229_0 ,
136
136
timeout : Duration . minutes ( 5 ) ,
137
137
environment : {
@@ -158,9 +158,9 @@ export class NewsletterGenerator extends Construct {
158
158
architecture : Architecture . ARM_64 ,
159
159
runtime : Runtime . NODEJS_20_X ,
160
160
tracing : Tracing . ACTIVE ,
161
- logFormat : LogFormat . JSON ,
161
+ loggingFormat : LoggingFormat . JSON ,
162
162
logRetention : RetentionDays . ONE_WEEK ,
163
- applicationLogLevel : ApplicationLogLevel . DEBUG ,
163
+ applicationLogLevelV2 : ApplicationLogLevel . DEBUG ,
164
164
insightsVersion : LambdaInsightsVersion . VERSION_1_0_229_0 ,
165
165
memorySize : 512 , // Bumping memory up on this function since it is doing rendering and processing
166
166
timeout : Duration . minutes ( 5 ) ,
@@ -215,9 +215,9 @@ export class NewsletterGenerator extends Construct {
215
215
architecture : Architecture . ARM_64 ,
216
216
runtime : Runtime . NODEJS_20_X ,
217
217
tracing : Tracing . ACTIVE ,
218
- logFormat : LogFormat . JSON ,
218
+ loggingFormat : LoggingFormat . JSON ,
219
219
logRetention : RetentionDays . ONE_WEEK ,
220
- applicationLogLevel : ApplicationLogLevel . DEBUG ,
220
+ applicationLogLevelV2 : ApplicationLogLevel . DEBUG ,
221
221
insightsVersion : LambdaInsightsVersion . VERSION_1_0_229_0 ,
222
222
timeout : Duration . minutes ( 5 ) ,
223
223
environment : {
@@ -256,9 +256,9 @@ export class NewsletterGenerator extends Construct {
256
256
architecture : Architecture . ARM_64 ,
257
257
runtime : Runtime . NODEJS_20_X ,
258
258
tracing : Tracing . ACTIVE ,
259
- logFormat : LogFormat . JSON ,
259
+ loggingFormat : LoggingFormat . JSON ,
260
260
logRetention : RetentionDays . ONE_WEEK ,
261
- applicationLogLevel : ApplicationLogLevel . DEBUG ,
261
+ applicationLogLevelV2 : ApplicationLogLevel . DEBUG ,
262
262
insightsVersion : LambdaInsightsVersion . VERSION_1_0_229_0 ,
263
263
timeout : Duration . minutes ( 5 ) ,
264
264
environment : {
@@ -278,9 +278,9 @@ export class NewsletterGenerator extends Construct {
278
278
architecture : Architecture . ARM_64 ,
279
279
runtime : Runtime . NODEJS_20_X ,
280
280
tracing : Tracing . ACTIVE ,
281
- logFormat : LogFormat . JSON ,
281
+ loggingFormat : LoggingFormat . JSON ,
282
282
logRetention : RetentionDays . ONE_WEEK ,
283
- applicationLogLevel : ApplicationLogLevel . DEBUG ,
283
+ applicationLogLevelV2 : ApplicationLogLevel . DEBUG ,
284
284
insightsVersion : LambdaInsightsVersion . VERSION_1_0_229_0 ,
285
285
timeout : Duration . minutes ( 5 ) ,
286
286
environment : {
@@ -317,9 +317,9 @@ export class NewsletterGenerator extends Construct {
317
317
architecture : Architecture . ARM_64 ,
318
318
runtime : Runtime . NODEJS_20_X ,
319
319
tracing : Tracing . ACTIVE ,
320
- logFormat : LogFormat . JSON ,
320
+ loggingFormat : LoggingFormat . JSON ,
321
321
logRetention : RetentionDays . ONE_WEEK ,
322
- applicationLogLevel : ApplicationLogLevel . DEBUG ,
322
+ applicationLogLevelV2 : ApplicationLogLevel . DEBUG ,
323
323
insightsVersion : LambdaInsightsVersion . VERSION_1_0_229_0 ,
324
324
timeout : Duration . minutes ( 5 ) ,
325
325
environment : {
0 commit comments