Here lambda is l2-regularization factor. In case of SGD, this value is proportional to weight decay but for other optimizers like Adam this is not the case.
In short, weight decay is something that you subtract from the weight update equation directly.