Here, $\frac{2\pi}{\lambda}(ct - x)$ is dimensionless. Hence, $\frac{ct}{\lambda}$ is also dimensionless and unit of $ct$ is same as that of $x.$ Therefore, unit of $\lambda$ is same as that of $x.$ Also unit of $y$ is same as that of $A,$ which is also the unit of $x.$