I don't know much about the NEC but I thought that :

1. It has to be terminated with 90 degree wire. (I got red tagged for using NM, sleeved in flex, to a water heater in 1979)

2. It must have a disconnect (relativly new requirement)

3. Has to be protected from physical damage.