I mounted mine in/on a DIY canopy;
The two things I see as possible issues with using it in the canopy you have are heat buildup and the degree of spread of the light/if you have enough distance between the light and the water level.
mine sits ~10"-11" above the water level and ideally should be another 2" higher.
If mounting inside then add an exhaust fan to the canopy if it is completely enclosed. Humidity inside the unit is another consideration as I don't think they are designed to be mounted in an enclosed canopy.