  Cubic interactions of massive and partially-massless totally-symmetric
higher-spin fields in any constant-curvature background of dimension greater
than three are investigated. Making use of the ambient-space formalism, the
consistency condition for the traceless and transverse parts of the
parity-invariant interactions is recast into a system of partial differential
equations. The latter can be explicitly solved for given s_1-s_2-s_3 couplings
and the 2-2-2 and 3-3-2 examples are provided in detail for general choices of
the masses. On the other hand, the general solutions for the interactions
involving massive and massless fields are expressed in a compact form as
generating functions of all the consistent couplings. The St\"uckelberg
formulation of the cubic interactions as well as their massless limits are also
analyzed.
