A new App client has been created by the AWS Amplify build. Let’s take a look at this app client.
✅ Step-by-step directions
Choose Manage your User Pools.
Here you will see a new userpool generated by the AWS Amplify CLI that looks something similar to the example below:
Click the new user pool to open the Pool Details page
From the Pool Details page, select App clients from the General settings section in the left navigation bar.
You will see that a new App client has been generated. Your web application is configured to use this App client via a config file located in
Rather than configuring each service through a constructor or constants file, Amplify supports configuration through a centralized file called aws-exports.js which defines all the regions and service endpoints to communicate. Whenever you run
amplify push or rebuild your web applicaiton by running a
git commit, this file is automatically created allowing you to focus on your application code. The Amplify CLI will place this file in the appropriate source directory configured with amplify init.
❗️ You won’t see the updates to this file in your local file store because it is part of the .gitignore.