We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04003d5 + b2485e5 commit 40cb311Copy full SHA for 40cb311
metering/serverless.yml
@@ -82,11 +82,10 @@ functions:
82
- http:
83
path: /usage/freecalls
84
method: get
85
- # authorizer:
86
- # name: user-authorizer
87
- # type: COGNITO_USER_POOLS
88
- # arn: ${file(./config.${self:provider.stage}.json):AUTHORIZER}
89
- # identitySource: method.request.header.Authorization
+ authorizer:
+ type: request
+ arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
+ identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
90
cors:
91
origin: ${self:custom.origin.${self:provider.stage}}
92
headers:
0 commit comments