Investments in projects such as coastal defences will aim to protect communities from the impacts of flooding.