How should a SPDT switch be wired for a digital input?
You want to use the first option: connect the digital input on the micrcontroller to COM, GND to NC (1T), and VCC to NO (2T), except use an resistor, e.g. 4.7K, between VCC and the NO (2T) terminal.  Usually not a good idea to connect VCC directly to an input pin on the micrcontroller -- for example, if it became a digital output for some reason and was at GND level, you would have a nasty short.