Could you please provide more info please, such as;
1] wattage of lamp.
2] location of the light fitting (weather) & the material upon which it is to be mounted.
3] is a "J-box" able to be mounted anywhere near the light fitting? The J-box must be accessible at all times.
4] cable distance from light switch to light fitting.