Neutron scattering is used to probe antiferromagnetic spin fluctuations in the d-wave heavy fermion superconductor CeCoIn5 (T_(c)=2.3 K). Superconductivity develops from a state with slow (variant Planck's over 2piGamma=0.3+/-0.15 meV) commensurate [Q_(0)=(1/2,1/2,1/2)] antiferromagnetic spin fluctuations and nearly isotropic spin correlations. The characteristic wave vector in CeCoIn5 is the same as CeIn3 but differs from the incommensurate wave vector measured in antiferromagnetically ordered CeRhIn5. A sharp spin resonance (variant Planck's over 2piGamma<0.07 meV) at variant Planck's over 2piomega=0.60+/-0.03 meV develops in the superconducting state removing spectral weight from low-energy transfers. The presence of a resonance peak is indicative of strong coupling between f-electron magnetism and superconductivity and consistent with a d-wave gap order parameter satisfying Delta(q+Q0)=-Delta(q).