Is there any restriction on the use of 12-2 UF wire for a overhead span between a dwelling and an accessory building?

The length of the run is 80 feet over a driveway not subject to truck traffic.

I'm aware of the hieght rules. (12ft)

Does the UF wire have to be a minumum size for the length of the span?

I can't go underground because of the paved driveway.

shortcircuit