It is the direct object noun phrase.
Previous Question
"The prize goes to whoever finishes first." 'whoever finishes first' is a:
Next Question
"Why you are here is a mystery." 'Why you are here' is a: