Filtering certain API-Method combination

Is it possible to use Kong ingress controller to let only selected paths with respective methods to pass thru and send a 404 for other API?

Like I want only

POST /person/abc ,
GET /book/abc
and now allow anything else thru not even
GET /person/abc , and
POST /book/abc

Looks to be so:

See the method you can lock down on routes, this is a core feature of Kong in general:

route:
  methods:
  - POST
  - GET

The only thing is you need 2 explicit proxy routes, /person/abc and /book/abc proxy routes created separately.

Thanks for the reply, I will try elaborating the question and the challenge I am facing.