We don't yet know whether the vaccines prevent infection and transmission AFAIK.
https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
This is from September, though, so maybe more is known about that now. I haven't seen news about that, however.