Put the uncooked pasta in a baking dish. Cut the ham into strips and spread over the pasta. Bring the cream, milk, water and the herbs and spices to the boil together, thicken with the cornstarch. Take the saucepan off the stove, let it cool down a bit and stir in the egg. Pour the sauce over the pasta and sprinkle the casserole with grated cheese.
Bake in a preheated oven at 200 degrees for 30 minutes.
Tip: You can also use meat sausage, salami or leftover cold cuts instead of ham.