Measures to beef up border security and stockpile medicines are among the preparations being funded.