diff --git a/versions/2016-10-31.md b/versions/2016-10-31.md index fe9ae033e5..43f9d23613 100644 --- a/versions/2016-10-31.md +++ b/versions/2016-10-31.md @@ -1032,10 +1032,7 @@ Cors: #### API Auth Object -Configure Auth on APIs. - -**Authorizers:** -Define Lambda and Cognito `Authorizers` and specify a `DefaultAuthorizer`. If you use IAM permission, only specify `AWS_IAM` to a `DefaultAuthorizer`. For more information, see the documentation on [Lambda Authorizers](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html) and [Amazon Cognito User Pool Authorizers](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) and [IAM Permissions](https://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html). +Configure Auth on APIs. ```yaml Auth: @@ -1057,8 +1054,14 @@ Auth: # For AWS_IAM: # DefaultAuthorizer: AWS_IAM # InvokeRole: NONE # CALLER_CREDENTIALS by default unless overridden + Authorizers: [] +``` + +**Authorizers:** +Define Lambda and Cognito `Authorizers` and specify a `DefaultAuthorizer`. If you use IAM permission, only specify `AWS_IAM` to a `DefaultAuthorizer`. For more information, see the documentation on [Lambda Authorizers](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html) and [Amazon Cognito User Pool Authorizers](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) and [IAM Permissions](https://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html). - ```yaml +```yaml +Auth: Authorizers: MyCognitoAuth: UserPoolArn: !GetAtt MyCognitoUserPool.Arn # Can also accept an array