From 055d4968aec639230f67466009b7ea0759a5975b Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Thu, 13 Jun 2024 15:07:39 -0700 Subject: [PATCH] remove the bad cast, it is evil --- packages/aws-cdk-lib/core/lib/stack-synthesizers/_shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/core/lib/stack-synthesizers/_shared.ts b/packages/aws-cdk-lib/core/lib/stack-synthesizers/_shared.ts index bdbcd50c11c9e..c985c538cac81 100644 --- a/packages/aws-cdk-lib/core/lib/stack-synthesizers/_shared.ts +++ b/packages/aws-cdk-lib/core/lib/stack-synthesizers/_shared.ts @@ -48,7 +48,7 @@ export function addStackArtifactToAssembly( terminationProtection: stack.terminationProtection, tags: nonEmptyDict(stack.tags.tagValues()), validateOnSynth: session.validateOnSynth, - notificationArns: (stack as any)._notificationArns, + notificationArns: stack._notificationArns, ...stackProps, ...stackNameProperty, };