Law 24, clause 3 defines a fair delivery with respect to the arm:
A ball is fairly delivered in respect of the arm if, once the bowler's arm has reached the level of the shoulder in the delivery swing, the elbow joint is not straightened partially or completely from that point until the ball has left the hand. This definition shall not debar a bowler from flexing or rotating the wrist in the delivery swing.