mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
docs: Add missing line in Shared Authorizer example (#11315)
This commit is contained in:
parent
2b98e35bf0
commit
7dcfcce88b
@ -1627,10 +1627,11 @@ functions:
|
||||
- http:
|
||||
path: /users/{userId}
|
||||
...
|
||||
# Provide both type and authorizerId
|
||||
type: COGNITO_USER_POOLS # TOKEN or REQUEST or COGNITO_USER_POOLS, same as AWS Cloudformation documentation
|
||||
authorizerId:
|
||||
Ref: ApiGatewayAuthorizer # or hard-code Authorizer ID
|
||||
authorizer:
|
||||
# Provide both type and authorizerId
|
||||
type: COGNITO_USER_POOLS # TOKEN or REQUEST or COGNITO_USER_POOLS, same as AWS Cloudformation documentation
|
||||
authorizerId:
|
||||
Ref: ApiGatewayAuthorizer # or hard-code Authorizer ID
|
||||
|
||||
resources:
|
||||
Resources:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user