The Bahamas requires visitors from countries with yellow fever to have been vaccinated against that disease. Even if you've only passed through countries with yellow fever, you must present a certificate of vaccination before you will be allowed into the country.
The Bahamas recommends that visitors have the so-called routine vaccines, such as those for polio, measles/mumps/rubella (MMR) and diphtheria/pertussis/tetanus (DPT).
The U.S. Centers for Disease Control and Prevention recommends that you also have vaccines for hepatitis A, hepatitis B and typhoid.
Vaccines against influenza and chickenpox (varicella) might save your cruise or vacation and are always a good idea.
Your cruise ship is unlikely to visit Great Exuma Island, but that is the only place in the country where you can catch malaria.
There's no vaccine against malaria, but you can take a prophylactic drug that will prevent the disease from developing if you're bitten by an infected mosquito.
The drugs of choice are atovaquone/proguanil, chloroquine, doxycycline or mefloquine. Your doctor should help you decide which drug will best work for you.