Connect 100 diodes in series in one direction, then connect 100 diodes in series in the opposite direction ..
Connect both chains front-to-back in parallel and add ≈2.2µF/250Vac capacitor in series with diodes .. The role of the cap is to add some non-heating resistance so diodes are not exposed to full 220Vac but to <200Vac (100*2V) ..
Youy can use a relay or triac to switch this circuit on and off ..
See pictures below on how to can control this diodes-cap circuit of 220Vac from single microcontroller pin ..
Regards,
IanP