Brexit: Does the Irish peace accord rule out a hard border?

What does the Good Friday Agreement say about the possibility of a hard border?

Source