Open the root file Fcj2024CdkApp.

Create an NLB Stack with the ID Nlb using the following code:
NlbStack nlbStack = new NlbStack(app, "Nlb", StackProps.builder()
.build());

ClusterStackProps of the ECS stack:new ClusterStackProps(vpcStack.getVpc())

.env(environment)
.tags(infraTags)

nlbStack.addDependency(vpcStack);

cdk deploy --all --require-approval never

In the AWS Management Console, navigate to EC2.

In the EC2 interface, select Load Balancers to view the created Network Load Balancer (NLB) and Application Load Balancer (ALB).

In the EC2 interface, enter “API Gateway” into the search bar and select API Gateway from the results.

In the API Gateway interface, select VPC links to view the successfully created VPC link.
