Heat the olive oil in a frying pan, add the courgette and fry for 1-2 minutes.
Add the garlic and cook for one minute. Stir in the ham and double cream and season well with salt and freshly ground black pepper. Bring to the boil.
Drain the cooked fresh pasta and return to the pan. Add the egg yolk to the pasta and stir well. Pour over the cream sauce and stir again.
Spoon into a serving bowl and sprinkle over the parmesan. Serve immediately.