Attributive use before a noun (e.g., deputy director) functions adjectivally.
Definitions
Relating to, holding, or designating the position of a deputy; subordinate to a principal office-holder. She accepted the deputy editor position with enthusiasm.