HOw to detect the flow of water through a pipe

The pin is set as an input, the only source of voltage is from the Arduino itself (5V) and pins are rated for 5V so...no need for alarm (or for a resistor) right?