My understanding is the CD's are tied to a line - the hawk lands on that line as a perch and the CD's shake causing a bunch of shaking and glare form the shiny CD's which frightens the hawk and it flys away.
I just had my first hawk issue - I have (had) a partially enclosed run and a hawk had...