Update authorization settings

The last configuration option that needs to be set for the new API is the authorization settings. Click Settings in the left sidebar. Scroll down until you get to Default authorization mode. Select Amazon Cognito User Pool as the primary authorization mode. Select your current region, then select the user pool you created previously, then select DENY as the default action. This will ensure that your API will default to being inaccessible to unauthorized/unauthenticated users. Scroll to the bottom of the settings page and click Save.

Select the user pool for authentication