1 Answer
- Newest
- Most votes
- Most comments
1
How are you creating the API Gateway? If you use Serverless Application Model you can define the default parameters for each method (including authentication). At deployment time, it's done for you. There are other defaults too such as the Lambda function language - many more...
From the documentation check out Api
(for REST APIs) and HttpApi
(for HTTP APIs). Both have an Auth
section that lets you specify the default Lambda Authorizer but it can be overriden on a method-by-method basis.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thanks @Brettski-AWS and @Didier_Durand