Constraints on dynamo action in plasmas