diff --git a/.projen/tasks.json b/.projen/tasks.json index 7dc9e65d..222aab0c 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -94,7 +94,7 @@ "description": "Create a JavaScript bundle from src/email-receiver/s3.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/email-receiver/s3.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/email-receiver/s3.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/email-receiver/s3.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/email-receiver/s3.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -103,7 +103,7 @@ "description": "Continuously update the JavaScript bundle from src/email-receiver/s3.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/email-receiver/s3.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/email-receiver/s3.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/email-receiver/s3.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/email-receiver/s3.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -112,7 +112,7 @@ "description": "Create a JavaScript bundle from src/email-receiver/whitelist.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/email-receiver/whitelist.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/email-receiver/whitelist.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/email-receiver/whitelist.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/email-receiver/whitelist.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -121,7 +121,7 @@ "description": "Continuously update the JavaScript bundle from src/email-receiver/whitelist.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/email-receiver/whitelist.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/email-receiver/whitelist.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/email-receiver/whitelist.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/email-receiver/whitelist.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -130,7 +130,7 @@ "description": "Create a JavaScript bundle from src/slack-app/provider.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/slack-app/provider.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/slack-app/provider.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/slack-app/provider.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/slack-app/provider.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -139,7 +139,7 @@ "description": "Continuously update the JavaScript bundle from src/slack-app/provider.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/slack-app/provider.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/slack-app/provider.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/slack-app/provider.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/slack-app/provider.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -148,7 +148,7 @@ "description": "Create a JavaScript bundle from src/slack-events/events.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/slack-events/events.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/slack-events/events.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/slack-events/events.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/slack-events/events.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -157,7 +157,7 @@ "description": "Continuously update the JavaScript bundle from src/slack-events/events.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/slack-events/events.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/slack-events/events.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/slack-events/events.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/slack-events/events.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -166,7 +166,7 @@ "description": "Create a JavaScript bundle from src/slack-textract/detect.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/slack-textract/detect.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/slack-textract/detect.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/slack-textract/detect.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/slack-textract/detect.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -175,7 +175,7 @@ "description": "Continuously update the JavaScript bundle from src/slack-textract/detect.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/slack-textract/detect.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/slack-textract/detect.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/slack-textract/detect.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/slack-textract/detect.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -184,7 +184,7 @@ "description": "Create a JavaScript bundle from src/ssl-server-test/analyze.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/ssl-server-test/analyze.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/ssl-server-test/analyze.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/ssl-server-test/analyze.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/ssl-server-test/analyze.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -193,7 +193,7 @@ "description": "Continuously update the JavaScript bundle from src/ssl-server-test/analyze.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/ssl-server-test/analyze.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/ssl-server-test/analyze.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/ssl-server-test/analyze.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/ssl-server-test/analyze.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -202,7 +202,7 @@ "description": "Create a JavaScript bundle from src/ssl-server-test/extract-grade.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/ssl-server-test/extract-grade.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/ssl-server-test/extract-grade.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/ssl-server-test/extract-grade.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/ssl-server-test/extract-grade.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -211,7 +211,7 @@ "description": "Continuously update the JavaScript bundle from src/ssl-server-test/extract-grade.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/ssl-server-test/extract-grade.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/ssl-server-test/extract-grade.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/ssl-server-test/extract-grade.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/ssl-server-test/extract-grade.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -220,7 +220,7 @@ "description": "Create a JavaScript bundle from src/static-website/origin-request.edge-lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/static-website/origin-request.edge-lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/static-website/origin-request.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/static-website/origin-request.edge-lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/static-website/origin-request.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -229,7 +229,7 @@ "description": "Continuously update the JavaScript bundle from src/static-website/origin-request.edge-lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/static-website/origin-request.edge-lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/static-website/origin-request.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/static-website/origin-request.edge-lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/static-website/origin-request.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -238,7 +238,7 @@ "description": "Create a JavaScript bundle from src/toolkit-cleaner/clean-images.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/clean-images.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-images.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/toolkit-cleaner/clean-images.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-images.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -247,7 +247,7 @@ "description": "Continuously update the JavaScript bundle from src/toolkit-cleaner/clean-images.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/clean-images.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-images.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/toolkit-cleaner/clean-images.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-images.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -256,7 +256,7 @@ "description": "Create a JavaScript bundle from src/toolkit-cleaner/clean-objects.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/clean-objects.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-objects.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/toolkit-cleaner/clean-objects.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-objects.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -265,7 +265,7 @@ "description": "Continuously update the JavaScript bundle from src/toolkit-cleaner/clean-objects.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/clean-objects.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-objects.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/toolkit-cleaner/clean-objects.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/clean-objects.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -274,7 +274,7 @@ "description": "Create a JavaScript bundle from src/toolkit-cleaner/extract-template-hashes.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/extract-template-hashes.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/extract-template-hashes.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/toolkit-cleaner/extract-template-hashes.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/extract-template-hashes.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -283,7 +283,7 @@ "description": "Continuously update the JavaScript bundle from src/toolkit-cleaner/extract-template-hashes.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/extract-template-hashes.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/extract-template-hashes.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/toolkit-cleaner/extract-template-hashes.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/extract-template-hashes.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -292,7 +292,7 @@ "description": "Create a JavaScript bundle from src/toolkit-cleaner/get-stack-names.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/get-stack-names.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/get-stack-names.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/toolkit-cleaner/get-stack-names.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/get-stack-names.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -301,7 +301,7 @@ "description": "Continuously update the JavaScript bundle from src/toolkit-cleaner/get-stack-names.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/toolkit-cleaner/get-stack-names.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/get-stack-names.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/toolkit-cleaner/get-stack-names.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/toolkit-cleaner/get-stack-names.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -310,7 +310,7 @@ "description": "Create a JavaScript bundle from src/url-shortener/redirect.edge-lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/url-shortener/redirect.edge-lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/url-shortener/redirect.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/url-shortener/redirect.edge-lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/url-shortener/redirect.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -319,7 +319,7 @@ "description": "Continuously update the JavaScript bundle from src/url-shortener/redirect.edge-lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/url-shortener/redirect.edge-lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/url-shortener/redirect.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/url-shortener/redirect.edge-lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/url-shortener/redirect.edge-lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, @@ -328,7 +328,7 @@ "description": "Create a JavaScript bundle from src/url-shortener/shortener.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/url-shortener/shortener.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/url-shortener/shortener.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" + "exec": "esbuild --bundle src/url-shortener/shortener.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/url-shortener/shortener.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/*" } ] }, @@ -337,7 +337,7 @@ "description": "Continuously update the JavaScript bundle from src/url-shortener/shortener.lambda.ts", "steps": [ { - "exec": "esbuild --bundle src/url-shortener/shortener.lambda.ts --target=\"node18\" --platform=\"node\" --outfile=\"assets/url-shortener/shortener.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" + "exec": "esbuild --bundle src/url-shortener/shortener.lambda.ts --target=\"node20\" --platform=\"node\" --outfile=\"assets/url-shortener/shortener.lambda/index.js\" --tsconfig=\"tsconfig.dev.json\" --external:@aws-sdk/* --watch" } ] }, diff --git a/.projenrc.js b/.projenrc.js index 2b9dbd9b..45e4daab 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -51,7 +51,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ mavenEndpoint: 'https://s01.oss.sonatype.org', }, lambdaOptions: { - runtime: awscdk.LambdaRuntime.NODEJS_18_X, + runtime: awscdk.LambdaRuntime.NODEJS_20_X, }, }); diff --git a/package.json b/package.json index ad97af2d..25a9831b 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "jsii-rosetta": "5.x", "nock": "^13.3.8", "npm-check-updates": "^16", - "projen": "^0.76.28", + "projen": "^0.76.29", "standard-version": "^9", "ts-jest": "^27", "ts-node": "^10.9.1", diff --git a/src/email-receiver/s3-function.ts b/src/email-receiver/s3-function.ts index e2cba487..11fabda7 100644 --- a/src/email-receiver/s3-function.ts +++ b/src/email-receiver/s3-function.ts @@ -17,7 +17,7 @@ export class S3Function extends lambda.Function { super(scope, id, { description: 'src/email-receiver/s3.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/email-receiver/s3.lambda')), }); diff --git a/src/email-receiver/whitelist-function.ts b/src/email-receiver/whitelist-function.ts index 0e6f5e55..76dd10eb 100644 --- a/src/email-receiver/whitelist-function.ts +++ b/src/email-receiver/whitelist-function.ts @@ -17,7 +17,7 @@ export class WhitelistFunction extends lambda.Function { super(scope, id, { description: 'src/email-receiver/whitelist.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/email-receiver/whitelist.lambda')), }); diff --git a/src/slack-app/provider-function.ts b/src/slack-app/provider-function.ts index 479a6129..9520196f 100644 --- a/src/slack-app/provider-function.ts +++ b/src/slack-app/provider-function.ts @@ -17,7 +17,7 @@ export class ProviderFunction extends lambda.Function { super(scope, id, { description: 'src/slack-app/provider.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/slack-app/provider.lambda')), }); diff --git a/src/slack-events/events-function.ts b/src/slack-events/events-function.ts index 6ac40db7..6bf8acbd 100644 --- a/src/slack-events/events-function.ts +++ b/src/slack-events/events-function.ts @@ -17,7 +17,7 @@ export class EventsFunction extends lambda.Function { super(scope, id, { description: 'src/slack-events/events.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/slack-events/events.lambda')), }); diff --git a/src/slack-textract/detect-function.ts b/src/slack-textract/detect-function.ts index a909782e..c9bf470b 100644 --- a/src/slack-textract/detect-function.ts +++ b/src/slack-textract/detect-function.ts @@ -17,7 +17,7 @@ export class DetectFunction extends lambda.Function { super(scope, id, { description: 'src/slack-textract/detect.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/slack-textract/detect.lambda')), }); diff --git a/src/ssl-server-test/analyze-function.ts b/src/ssl-server-test/analyze-function.ts index f82221bd..f99a2142 100644 --- a/src/ssl-server-test/analyze-function.ts +++ b/src/ssl-server-test/analyze-function.ts @@ -17,7 +17,7 @@ export class AnalyzeFunction extends lambda.Function { super(scope, id, { description: 'src/ssl-server-test/analyze.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/ssl-server-test/analyze.lambda')), }); diff --git a/src/ssl-server-test/extract-grade-function.ts b/src/ssl-server-test/extract-grade-function.ts index 2ab82cfb..49fa3a25 100644 --- a/src/ssl-server-test/extract-grade-function.ts +++ b/src/ssl-server-test/extract-grade-function.ts @@ -17,7 +17,7 @@ export class ExtractGradeFunction extends lambda.Function { super(scope, id, { description: 'src/ssl-server-test/extract-grade.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/ssl-server-test/extract-grade.lambda')), }); diff --git a/src/static-website/origin-request-function.ts b/src/static-website/origin-request-function.ts index 1d50cc6e..824bfd9e 100644 --- a/src/static-website/origin-request-function.ts +++ b/src/static-website/origin-request-function.ts @@ -18,7 +18,7 @@ export class OriginRequestFunction extends cloudfront.experimental.EdgeFunction super(scope, id, { description: 'src/static-website/origin-request.edge-lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/static-website/origin-request.edge-lambda')), }); diff --git a/src/toolkit-cleaner/clean-images-function.ts b/src/toolkit-cleaner/clean-images-function.ts index 64f5b33f..f37d1136 100644 --- a/src/toolkit-cleaner/clean-images-function.ts +++ b/src/toolkit-cleaner/clean-images-function.ts @@ -17,7 +17,7 @@ export class CleanImagesFunction extends lambda.Function { super(scope, id, { description: 'src/toolkit-cleaner/clean-images.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/toolkit-cleaner/clean-images.lambda')), }); diff --git a/src/toolkit-cleaner/clean-objects-function.ts b/src/toolkit-cleaner/clean-objects-function.ts index b23d1b2f..d0cf2330 100644 --- a/src/toolkit-cleaner/clean-objects-function.ts +++ b/src/toolkit-cleaner/clean-objects-function.ts @@ -17,7 +17,7 @@ export class CleanObjectsFunction extends lambda.Function { super(scope, id, { description: 'src/toolkit-cleaner/clean-objects.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/toolkit-cleaner/clean-objects.lambda')), }); diff --git a/src/toolkit-cleaner/extract-template-hashes-function.ts b/src/toolkit-cleaner/extract-template-hashes-function.ts index e3cc995a..7c3097de 100644 --- a/src/toolkit-cleaner/extract-template-hashes-function.ts +++ b/src/toolkit-cleaner/extract-template-hashes-function.ts @@ -17,7 +17,7 @@ export class ExtractTemplateHashesFunction extends lambda.Function { super(scope, id, { description: 'src/toolkit-cleaner/extract-template-hashes.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/toolkit-cleaner/extract-template-hashes.lambda')), }); diff --git a/src/toolkit-cleaner/get-stack-names-function.ts b/src/toolkit-cleaner/get-stack-names-function.ts index da8b3b4b..85cee196 100644 --- a/src/toolkit-cleaner/get-stack-names-function.ts +++ b/src/toolkit-cleaner/get-stack-names-function.ts @@ -17,7 +17,7 @@ export class GetStackNamesFunction extends lambda.Function { super(scope, id, { description: 'src/toolkit-cleaner/get-stack-names.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/toolkit-cleaner/get-stack-names.lambda')), }); diff --git a/src/url-shortener/redirect-function.ts b/src/url-shortener/redirect-function.ts index ef8c4159..d3debc58 100644 --- a/src/url-shortener/redirect-function.ts +++ b/src/url-shortener/redirect-function.ts @@ -18,7 +18,7 @@ export class RedirectFunction extends cloudfront.experimental.EdgeFunction { super(scope, id, { description: 'src/url-shortener/redirect.edge-lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/url-shortener/redirect.edge-lambda')), }); diff --git a/src/url-shortener/shortener-function.ts b/src/url-shortener/shortener-function.ts index 04cf582a..1ccb51d5 100644 --- a/src/url-shortener/shortener-function.ts +++ b/src/url-shortener/shortener-function.ts @@ -17,7 +17,7 @@ export class ShortenerFunction extends lambda.Function { super(scope, id, { description: 'src/url-shortener/shortener.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs20.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/url-shortener/shortener.lambda')), }); diff --git a/test/dmarc/__snapshots__/dmarc-reporter.test.ts.snap b/test/dmarc/__snapshots__/dmarc-reporter.test.ts.snap index 57c538d9..43400fc0 100644 --- a/test/dmarc/__snapshots__/dmarc-reporter.test.ts.snap +++ b/test/dmarc/__snapshots__/dmarc-reporter.test.ts.snap @@ -166,7 +166,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, diff --git a/test/email-receiver/__snapshots__/email-receiver.test.ts.snap b/test/email-receiver/__snapshots__/email-receiver.test.ts.snap index e4b5305d..a9dec462 100644 --- a/test/email-receiver/__snapshots__/email-receiver.test.ts.snap +++ b/test/email-receiver/__snapshots__/email-receiver.test.ts.snap @@ -164,7 +164,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -396,7 +396,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, diff --git a/test/slack-app/__snapshots__/slack-app.test.ts.snap b/test/slack-app/__snapshots__/slack-app.test.ts.snap index 428f9a16..71090ac0 100644 --- a/test/slack-app/__snapshots__/slack-app.test.ts.snap +++ b/test/slack-app/__snapshots__/slack-app.test.ts.snap @@ -251,7 +251,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, diff --git a/test/slack-app/slack-app.integ.snapshot/slack-app-integ.assets.json b/test/slack-app/slack-app.integ.snapshot/slack-app-integ.assets.json index 3f3377e0..092adf47 100644 --- a/test/slack-app/slack-app.integ.snapshot/slack-app-integ.assets.json +++ b/test/slack-app/slack-app.integ.snapshot/slack-app-integ.assets.json @@ -40,7 +40,7 @@ } } }, - "119f82e8d0c0a418da240740c5c39f81fdef1d4fd225c34674dc0bd94b04653a": { + "71289559aaf6dcc465d63e061e1c6a732a66d526f73bca730ff7d68e4052f100": { "source": { "path": "slack-app-integ.template.json", "packaging": "file" @@ -48,7 +48,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "119f82e8d0c0a418da240740c5c39f81fdef1d4fd225c34674dc0bd94b04653a.json", + "objectKey": "71289559aaf6dcc465d63e061e1c6a732a66d526f73bca730ff7d68e4052f100.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/slack-app/slack-app.integ.snapshot/slack-app-integ.template.json b/test/slack-app/slack-app.integ.snapshot/slack-app-integ.template.json index 565b97ab..c4798616 100644 --- a/test/slack-app/slack-app.integ.snapshot/slack-app-integ.template.json +++ b/test/slack-app/slack-app.integ.snapshot/slack-app-integ.template.json @@ -179,7 +179,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x" + "Runtime": "nodejs20.x" }, "DependsOn": [ "SlackAppProviderhandlerServiceRoleDefaultPolicyBAEEA75E", diff --git a/test/slack-events/__snapshots__/slack-events.test.ts.snap b/test/slack-events/__snapshots__/slack-events.test.ts.snap index fdf81a62..6d281b55 100644 --- a/test/slack-events/__snapshots__/slack-events.test.ts.snap +++ b/test/slack-events/__snapshots__/slack-events.test.ts.snap @@ -215,7 +215,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, diff --git a/test/slack-textract/__snapshots__/slack-textract.test.ts.snap b/test/slack-textract/__snapshots__/slack-textract.test.ts.snap index 9a14c6f8..5c707d58 100644 --- a/test/slack-textract/__snapshots__/slack-textract.test.ts.snap +++ b/test/slack-textract/__snapshots__/slack-textract.test.ts.snap @@ -267,7 +267,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -372,7 +372,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", "Timeout": 30, }, "Type": "AWS::Lambda::Function", diff --git a/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.assets.json b/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.assets.json index 3193889d..49d92363 100644 --- a/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.assets.json +++ b/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.assets.json @@ -27,7 +27,7 @@ } } }, - "c304bbe10d55239cc9f3905335b8f876c574b13afff26665b190de1dc11dc8d7": { + "4f754fb35dc164716e452fcd9ebb69c9546df57f79f7d7e533276bbcd924440e": { "source": { "path": "ssl-server-test-integ.template.json", "packaging": "file" @@ -35,7 +35,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "c304bbe10d55239cc9f3905335b8f876c574b13afff26665b190de1dc11dc8d7.json", + "objectKey": "4f754fb35dc164716e452fcd9ebb69c9546df57f79f7d7e533276bbcd924440e.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.template.json b/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.template.json index ccd937e6..376ba7d5 100644 --- a/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.template.json +++ b/test/ssl-server-test/ssl-server-test.integ.snapshot/ssl-server-test-integ.template.json @@ -89,7 +89,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", "Timeout": 30 }, "DependsOn": [ @@ -149,7 +149,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x" + "Runtime": "nodejs20.x" }, "DependsOn": [ "cloudstructssslservertestStateMachineExtractGradeFunctionServiceRole1D034C19" diff --git a/test/static-website/__snapshots__/static-website.test.ts.snap b/test/static-website/__snapshots__/static-website.test.ts.snap index 79f3b835..e60e95f9 100644 --- a/test/static-website/__snapshots__/static-website.test.ts.snap +++ b/test/static-website/__snapshots__/static-website.test.ts.snap @@ -29,11 +29,11 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, - "OriginRequestCurrentVersionD6F77E9F495fbee3e77013da5201150a59eab4e7": Object { + "OriginRequestCurrentVersionD6F77E9F01c31a424b9789d3d40146516339cf86": Object { "Properties": Object { "FunctionName": Object { "Ref": "OriginRequest0052232D", @@ -46,7 +46,7 @@ Object { "Name": "/cdk/EdgeFunctionArn/eu-west-1/Stack/StaticWebsite/OriginRequest", "Type": "String", "Value": Object { - "Ref": "OriginRequestCurrentVersionD6F77E9F495fbee3e77013da5201150a59eab4e7", + "Ref": "OriginRequestCurrentVersionD6F77E9F01c31a424b9789d3d40146516339cf86", }, }, "Type": "AWS::SSM::Parameter", @@ -1001,7 +1001,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/StaticWebsite/OriginRequest", - "RefreshToken": "OriginRequestCurrentVersionD6F77E9F495fbee3e77013da5201150a59eab4e7", + "RefreshToken": "OriginRequestCurrentVersionD6F77E9F01c31a424b9789d3d40146516339cf86", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ diff --git a/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.assets.json b/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.assets.json index 46414bba..6a9d2733 100644 --- a/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.assets.json +++ b/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.assets.json @@ -79,7 +79,7 @@ } } }, - "e35310bb093cfec6be74729327f2125c352f734a4e25dd6786921bce9f3af27c": { + "14fd8c2a54dd634868c0496f806f1d30d38056ee29131403ae4e4166ed615812": { "source": { "path": "toolkit-cleaner-integ.template.json", "packaging": "file" @@ -87,7 +87,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "e35310bb093cfec6be74729327f2125c352f734a4e25dd6786921bce9f3af27c.json", + "objectKey": "14fd8c2a54dd634868c0496f806f1d30d38056ee29131403ae4e4166ed615812.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.template.json b/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.template.json index df02965f..a8f7f8d7 100644 --- a/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.template.json +++ b/test/toolkit-cleaner/toolkit-cleaner.integ.snapshot/toolkit-cleaner-integ.template.json @@ -77,7 +77,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", "Timeout": 30 }, "DependsOn": [ @@ -159,7 +159,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", "Timeout": 30 }, "DependsOn": [ @@ -301,7 +301,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", "Timeout": 300 }, "DependsOn": [ @@ -412,7 +412,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", "Timeout": 300 }, "DependsOn": [ diff --git a/test/url-shortener/__snapshots__/url-shortener.test.ts.snap b/test/url-shortener/__snapshots__/url-shortener.test.ts.snap index 7c66e387..351be637 100644 --- a/test/url-shortener/__snapshots__/url-shortener.test.ts.snap +++ b/test/url-shortener/__snapshots__/url-shortener.test.ts.snap @@ -238,7 +238,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -579,7 +579,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e", + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ @@ -1341,7 +1341,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -1682,7 +1682,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e", + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ @@ -2782,7 +2782,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -3123,7 +3123,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e", + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ @@ -3958,7 +3958,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -4299,7 +4299,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e", + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ @@ -5009,7 +5009,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -5350,7 +5350,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e", + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ @@ -6078,7 +6078,7 @@ Object { "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": "nodejs20.x", }, "Type": "AWS::Lambda::Function", }, @@ -6419,7 +6419,7 @@ Object { "DeletionPolicy": "Delete", "Properties": Object { "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/Stack/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e", + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7", "Region": "us-east-1", "ServiceToken": Object { "Fn::GetAtt": Array [ diff --git a/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.assets.json b/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.assets.json index 4787ea6b..99829f68 100644 --- a/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.assets.json +++ b/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.assets.json @@ -15,7 +15,7 @@ } } }, - "bc57e895e9b7af567c1ca2f82de96291b31f61d01f31425ba8e174d4bb13396f": { + "7b2e2447f1dbd08f9e2e3f655fa7d5e1b18e0176254abf6988c4d5b8fa42d140": { "source": { "path": "edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.template.json", "packaging": "file" @@ -23,7 +23,7 @@ "destinations": { "current_account-us-east-1": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1", - "objectKey": "bc57e895e9b7af567c1ca2f82de96291b31f61d01f31425ba8e174d4bb13396f.json", + "objectKey": "7b2e2447f1dbd08f9e2e3f655fa7d5e1b18e0176254abf6988c4d5b8fa42d140.json", "region": "us-east-1", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-us-east-1" } diff --git a/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.template.json b/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.template.json index 2733e581..f7c43c48 100644 --- a/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.template.json +++ b/test/url-shortener/url-shortener.integ.snapshot/edge-lambda-stack-c8e731c8ad0787291628b399d525c90dc78319b7d7.template.json @@ -105,14 +105,14 @@ }, "Description": "src/url-shortener/redirect.edge-lambda.ts", "Handler": "index.handler", - "Runtime": "nodejs18.x" + "Runtime": "nodejs20.x" }, "DependsOn": [ "RedirectServiceRoleDefaultPolicy53F16DEF", "RedirectServiceRole39B6C513" ] }, - "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e": { + "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7": { "Type": "AWS::Lambda::Version", "Properties": { "FunctionName": { @@ -125,7 +125,7 @@ "Properties": { "Type": "String", "Value": { - "Ref": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e" + "Ref": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7" }, "Name": "/cdk/EdgeFunctionArn/eu-west-1/url-shortener-integ/UrlShortener/Redirect" } diff --git a/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.assets.json b/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.assets.json index 9974d372..49ed745e 100644 --- a/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.assets.json +++ b/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.assets.json @@ -57,7 +57,7 @@ } } }, - "2b9d9962bd37e3c838dd077c0792a8143ead247c4c9d4650fba4d48820d54c7a": { + "0affa7d1b152f174bfdb63db06e8a68a37b3d2a9c7cd28d6777fb8c4dd52ac9d": { "source": { "path": "url-shortener-integ.template.json", "packaging": "file" @@ -65,7 +65,7 @@ "destinations": { "current_account-eu-west-1": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-eu-west-1", - "objectKey": "2b9d9962bd37e3c838dd077c0792a8143ead247c4c9d4650fba4d48820d54c7a.json", + "objectKey": "0affa7d1b152f174bfdb63db06e8a68a37b3d2a9c7cd28d6777fb8c4dd52ac9d.json", "region": "eu-west-1", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-eu-west-1" } diff --git a/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.template.json b/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.template.json index 1fcdd006..97ff6492 100644 --- a/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.template.json +++ b/test/url-shortener/url-shortener.integ.snapshot/url-shortener-integ.template.json @@ -142,7 +142,7 @@ }, "Region": "us-east-1", "ParameterName": "/cdk/EdgeFunctionArn/eu-west-1/url-shortener-integ/UrlShortener/Redirect", - "RefreshToken": "RedirectCurrentVersion479E25ECb3b92f6aff867f291cf06f3e9d02ff8e" + "RefreshToken": "RedirectCurrentVersion479E25EC1afc83c02ee1b6fdc2114827b475aca7" }, "UpdateReplacePolicy": "Delete", "DeletionPolicy": "Delete" @@ -500,7 +500,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs18.x" + "Runtime": "nodejs20.x" }, "DependsOn": [ "UrlShortenerServiceRoleDefaultPolicyC2E011EF", diff --git a/yarn.lock b/yarn.lock index 11af17a9..64a7603a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3502,9 +3502,9 @@ camelcase@^7.0.1: integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== caniuse-lite@^1.0.30001541: - version "1.0.30001562" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001562.tgz#9d16c5fd7e9c592c4cd5e304bc0f75b0008b2759" - integrity sha512-kfte3Hym//51EdX4239i+Rmp20EsLIYGdPkERegTgU19hQWCRhsRFGKHTliUlsry53tv17K7n077Kqa0WJU4ng== + version "1.0.30001563" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001563.tgz#aa68a64188903e98f36eb9c56e48fba0c1fe2a32" + integrity sha512-na2WUmOxnwIZtwnFI2CZ/3er0wdNzU7hN+cPYz/z2ajHThnkWjNBOpEPP4n+4r2WPM847JaMotaJE3bnfzjyKw== case@1.6.3, case@^1.6.3: version "1.6.3" @@ -4182,9 +4182,9 @@ eastasianwidth@^0.2.0: integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== electron-to-chromium@^1.4.535: - version "1.4.586" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.586.tgz#68683163ed52a111213e2482ff847e76a5c6e891" - integrity sha512-qMa+E6yf1fNQbg3G66pHLXeJUP5CCCzNat1VPczOZOqgI2w4u+8y9sQnswMdGs5m4C1rOePq37EVBr/nsPQY7w== + version "1.4.587" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.587.tgz#d8b864f21338b60798d447a3d83b90753f701d07" + integrity sha512-RyJX0q/zOkAoefZhB9XHghGeATVP0Q3mwA253XD/zj2OeXc+JZB9pCaEv6R578JUYaWM9PRhye0kXvd/V1cQ3Q== emittery@^0.8.1: version "0.8.1" @@ -7473,10 +7473,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.76.28: - version "0.76.28" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.76.28.tgz#8dbdb0dbf92a2507ee13604701fe0d898a8c7cec" - integrity sha512-7CeCRXhBT9mDe1h2lse9RJDH1ZBdQ27pqkVSrTTor4JdiKYumn4NqRF8/ANw0xyKUrXzvFvpXkuRTyBHrGKbCg== +projen@^0.76.29: + version "0.76.29" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.76.29.tgz#13810ceb6d63f26b6ded63d4a49c4a21c523f727" + integrity sha512-m0bKElBV/aRtXqRD0KMVjTRXnFabNXfEDUeAefrXQWtlmHcdPCzVEJKGgpH334B2eceT9rzJlV+iI/PXUxmTWg== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"