Flashing

The thin pieces of weather-resistant material installed to prevent water from passing into a structure.

(See image at sheet metal).