From 420d818407ec9a4f0a1cd257d53a99ecafadf803 Mon Sep 17 00:00:00 2001 From: Kazuho CryerShinozuka Date: Sat, 2 Mar 2024 22:32:23 +0900 Subject: [PATCH] refactor: remove unessential lazy --- packages/aws-cdk-lib/aws-rds/lib/cluster.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-rds/lib/cluster.ts b/packages/aws-cdk-lib/aws-rds/lib/cluster.ts index f36a5fae6e5fa..c644733538915 100644 --- a/packages/aws-cdk-lib/aws-rds/lib/cluster.ts +++ b/packages/aws-cdk-lib/aws-rds/lib/cluster.ts @@ -696,7 +696,7 @@ abstract class DatabaseClusterNew extends DatabaseClusterBase { associatedRoles: clusterAssociatedRoles.length > 0 ? clusterAssociatedRoles : undefined, deletionProtection: defaultDeletionProtection(props.deletionProtection, props.removalPolicy), enableIamDatabaseAuthentication: props.iamAuthentication, - enableHttpEndpoint: Lazy.any({ produce: () => this.enableDataApi }), + enableHttpEndpoint: this.enableDataApi, networkType: props.networkType, serverlessV2ScalingConfiguration: Lazy.any({ produce: () => {