what is a the function of the noun phrase "my best friends" in the sentence?

jayden and malik, my best friends, took the subway to the park.

1.indirect object
2.subject
3.appositive
4.direct object