diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md index 0aeb7a856..6e11f2caa 100644 --- a/docs/providers/aws/events/apigateway.md +++ b/docs/providers/aws/events/apigateway.md @@ -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: