thank you Crosbyman but my original stern light has a horizontal base that the post slides up and down within – see pic. and it will be hardwired to an existing switch.
I would like to find a clamp similar to the pic you posted that had a horizontal plate or something to mount my base to it.