In this paper we develop various parametrizations of the nuclear matter Dirac-Brueckner G matrix, which are suitable for application in relativistic Hartree-Fock calculations of finite nuclei. The. relativistic one boson exchange model forms the basis of this effective interaction. The parameters, which are obtained from a least squares fit, explicitly depend on the density. We also require the interaction to reproduce the self-energies and the binding energy of nuclear matter very accurately. It is shown that for densities up to 1.5 times normal nuclear density the saturation curve virtually coincides with the original Dirac-Brueckner result and yields a good prediction of the nuclear matter compressibility.