2

Is it possible to use multiple custom-authorizers in API-gateway? Or how do other do this?

Peter
  • 5,556
  • 3
  • 23
  • 38

2 Answers2

2

I don't think. You need to write a custom lambda authorizer to define such custom logic.

But you can have different end points using different authorizers under the same Api.

Arun Kamalanathan
  • 8,107
  • 4
  • 23
  • 39
  • I am searching for the way to have different authorizers for different endpoints under same API. Can you suggest me a link or the method to do that. – ravi May 31 '20 at 05:10
0

Yes, you can have multiple authorizers in one API (with different endpoints). i.e: you can have,

GET /parameters => with custom authorizer 01
POST /parameters => with custom authorizer 02
MarterJay
  • 135
  • 12