Beta-lactam resist