Skip to content

Commit 27edda7

Browse files
author
Marco Jahn
committed
changed lambda runtime to NODEJS_LATEST
1 parent 0855454 commit 27edda7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lambda-s3-athena-cdk-ts/lib/pattern-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class PatternStack extends cdk.Stack {
2929
// Note: S3Destination automatically grants only necessary write permissions (PutObject)
3030
// to the Lambda function for failed event delivery
3131
const processorFunction = new lambda.Function(this, 'ProcessorFunction', {
32-
runtime: lambda.Runtime.NODEJS_20_X,
32+
runtime: lambda.Runtime.NODEJS_LATEST,
3333
handler: 'processor.handler',
3434
code: lambda.Code.fromAsset(path.join(__dirname, '../lambda')),
3535
timeout: cdk.Duration.seconds(30),

0 commit comments

Comments
 (0)