Don't forget that people have been killed in pools with LED lights with improperly installed/maintained transformers that sent line voltage to the niche. If your pool/light is bonded, grounded, and on a GFCI then you are in a safe environment. Both options are mixing electricity with water, proper installation, maintenance and testing is required.