Create VPC Link

  1. To create a VPC Link, we need to initialize the vpcLink object that was previously declared:
   this.vpcLink = new VpcLink(this, "VpcLink",
       VpcLinkProps.builder()
           .build());

Architect

  1. Next, we will connect the VPC Link to the Network Load Balancer (NLB) by setting the NLB as the target for the VPC Link:
   .targets(Collections.singletonList(this.networkLoadBalancer))

Architect