The money will be spent on projects ranging from tidal barriers and flood walls to nature-based solutions.