Planar symmetric charge distribution
Consider a planar charge distribution $ρ(z)$ (in Cartesian coordinates), contained within $-d<z<d$. Further assume reflectional symmetry $ρ(z) = ρ(-z)$. Then $$ \begin{align*} \v E(z) = \sign(z) \frac{σ}{2ε_0} \v e_z, \end{align*} $$ where $σ$ is the charge per unit area. (Derivation)
In the limit $d\to 0$, we have a surface charge $σ$, corresponding to $$ \begin{align*} ρ = σ\, δ(z). \end{align*} $$