Noun a thing that discourages someone from doing something

Enclosing all of District 12 is a high chain-link fence topped with barbed-wire loops. It’s supposed to be electrified twenty-four hours a day as a deterrent to the predators that live in the woods.