A conformational switch controls the DNA cleavage activity of lambda integrase.