docs: Add missing line in Shared Authorizer example (#11315)

This commit is contained in:
Marceli Wac 2022-08-08 12:15:24 +01:00 committed by GitHub
parent 2b98e35bf0
commit 7dcfcce88b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: