Ten millions cycles on arduino
10 million is quite a lot of cycles. Making a switch that can last that long is surprisingly difficult, as you can tell my the number of non-working buttons you can find around the place. I don't recommend trying to make your own switch which relies on making and breaking a contact.

For example, this "Long Lifespan" DF2 switch from Omron is only guaranteed to last for 1M cycles.



By far the best way to make a switch is to make some kind of non-contacting sensor. For example:

Magnetic: The pull moves a small magnet closer to a Hall effect sensor. The sensor detects the magnet, and sends its output to the Arduino. This has the advantage that it works even when it's wet or dirty.



Optical: The pull moves an opaque object between an optical transmitter and receiver. Old fashioned roller mice used these types of sensors to measure the X and Y movement of the mouse.



Again, these are very reliable, and will easily manage 10 million cycles. However, they are sensitive to environments that are very dirty, or where you have large changes in the amount of ambient light.