If something has a deterrent effect, it has the effect of preventing people from doing certain things. his belief in the deterrent value of capital punishment
A deterrent is something that prevents people from doing something by making them afraid of what will happen to them if they do it. They seriously believe that capital punishment is a deterrent
A deterrent is a weapon or set of weapons designed to prevent enemies from attacking by making them afraid to do so. a nuclear deterrent