From 0704b09c8ff893abbf93bcf480b4189be1c022ee Mon Sep 17 00:00:00 2001 From: Andrei Palchys Date: Mon, 27 Nov 2023 11:25:49 +0200 Subject: [PATCH] fix: update --- src/cdk/AngularCourseStack.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cdk/AngularCourseStack.ts b/src/cdk/AngularCourseStack.ts index 371829f..c893590 100644 --- a/src/cdk/AngularCourseStack.ts +++ b/src/cdk/AngularCourseStack.ts @@ -114,14 +114,14 @@ export class AngularCourseStack extends cdk.Stack { this.fqdn = `tasks.app.rs.school`; this.url = `https://${this.fqdn}`; - const httpApi = new apiv2.HttpApi(this, "HttpApi"); + const httpApi = new apiv2.HttpApi(this, "AngularTask"); for (const route of angularTaskApi) { new apiv2.HttpRoute(this, `Route-${route.path}-${route.method}`, { httpApi, integration: new integration.HttpLambdaIntegration( `Integration-${route.path}-${route.method}`, - new NodejsFunction(this, `Lambda-${route.lambdaName}`, { + new NodejsFunction(this, `AngularTask-${route.lambdaName}`, { entry: `./src/functions/${route.lambdaName}.ts`, memorySize: 256, runtime: Runtime.NODEJS_20_X,