The design freedom of Additive Manufacturing offers new opportunities for the design of mounting structures of optical systems, which are not feasible for conventional manufacturing approaches, thus opening up new areas of application for optical systems. We use this to develop a fully monolithic mounting structure for precise positioning of the optical elements, while simultaneously increasing their robustness against harsh environmental conditions. We additively manufacture such a mounting structure for an imaging lens and evaluate its optical performance with interferometric measurement of its wavefront, before and after applying a mechanical shock to the entire system. The results indicate a centering accuracy better than 6~µm, both in the initial positioning as well as the subsequent repositioning after a mechanical shock of 15G.