Yes it's allowed exposed outside with "rain tight" fittings.