Am I allowed this?

I’m thinking about having this chocolate cake, but it has cream in and so I wasn’t sure if I was allowed to have it or not, as I know it’s best to only have pasteurised milk. I just wanted to make sure first, before eating it, cause I don’t want any harm to come to my baby.