Deterrent

a.
  1. Serving to deter.

n.
  1. That which deters or prevents.