File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,9 @@ export class BackendStack extends cdk.Stack {
247247 } ) ;
248248
249249 // Add a listener to the NLB
250+ // Security note: This NLB is internal-only within a private subnet and not internet-facing.
251+ // External traffic is secured via API Gateway's HTTPS endpoints, so unencrypted internal
252+ // communication within the VPC's private network boundary is acceptable here.
250253 const listener = nlb . addListener ( `${ appName } Listener-${ props . environment } ` , {
251254 port : 80 ,
252255 protocol : elbv2 . Protocol . TCP ,
@@ -344,7 +347,7 @@ export class BackendStack extends cdk.Stack {
344347 } ) ,
345348 {
346349 authorizationType : apigateway . AuthorizationType . NONE ,
347- }
350+ } ,
348351 ) ;
349352
350353 // Add execution role policy to allow API Gateway to access VPC resources
You can’t perform that action at this time.
0 commit comments