Drain the spaghetti and add it to the pan with prosciutto. Remove from heat to prevent the eggs from scrambling and quickly pour in the egg and cheese mixture. Stir vigorously, adding a splash of pasta water to achieve a silky, smooth sauce that clings to the spaghetti.