The Cohen-Macaulay representation type of arithmetically Cohen-Macaulay varieties