Preheat oven to 375. Slice zucchini and add as a layer to the bottom of the cocotte. Add a slice of mozzarella, followed by a slice of prosciutto, and then a small dollop of pesto. Careful to not add too much pesto or you will have too much liquid in the cocotte.
Repeat with the layers until you get to the top. Add grated parmesan to the top, along with a little more mozzarella.
Bake for 20-25 min with the top on. Remove and broil for another 3-5 min or until top is nicely browned. Slice and enjoy!