Redirecting amp pages

I’ve recently moved my site over to Ghost from Wordpress, and I’ve seen a sudden jump in 404 errors for amp pages in Google Search Console.

Which is strange, as I haven’t had any amp pages for over 2 years.

Anyhow, is there a way to redirect all amp pages to the non-amp page using redirects.yaml, without having to enter each page individually?