Min cost set of edges to connect 2 subgraphs s.t dist of nodes between subgraphs <= K

I find myself with another graph problem that I can't find the name of. I was wondering if anyone was able to identify if this problem and any efficient algorithms to solve it are known.

The intuition for the problem is I have two islands and a set of possible locations I can build bridges between those islands. I want to determine a minimum cost set of bridges to build such that it takes a short amount of time (no longer than $K$ hours) to travel from any point on the first island to any point on the second island.

To put this into a graph context: We are given two connected components $A$ and $B$ and a set of edges $\{e\}$ with cost $c_e$ required to add them to the graph. I want to find the minimum cost set of edges that connects $A$ and $B$ such that the maximum unweighted distance between any any two nodes between the components is at most $K$.

More precisely:

Let $x_e = 1$ if we choose to add edge $e$ and $0$ otherwise

Let $G' = A \cup B \cup \{e \mid x_e = 1\}$ be the graph augmented with the edges that we added.

Let $dist(G, u, v)$ be the length of the shorted path between $u$ and $v$ in graph $G$.

minimize $\sum_{e} x_e c_e$ such that

$dist(G', u, v) < K\quad \forall u, v \in A \times B$

When the costs are all equal, you are looking for the fewest number of edges to bring your graph to being of at most diameter $k$. This is the graph diameter augmentation problem. You are looking for the edge-weighted version, which I believe has been studied as well.
There are a number of versions of diameter augmentation out there: some that fix or bound the amount of bridge you can build and the task is the bring the diameter down to as small as possible. Or, your version, you have some $K$ in mind and you want to find the cheapest amount of bridges in order to acheive that $K$.