title: AWS Amplify GraphQL Schema that is linked to Cognito User Pool
body: <p>I am using the AWS Amplify to create a website platform that functions mostly as a directory of its registered users with various attributes relating to the business domain. The two primary users for the platform will be registered users and normal unauthenticated users who will be able to list and filter the registered users based on their attributes such as <code>location</code>, <code>age</code>, etc. Registered users will be set all their attributes in the members area.</p>
  
  <p>Some of the attributes are stored in Cognito such as <code>name</code> and <code>address</code> and were setup using Amplify <a href="https://aws-amplify.github.io/docs/js/authentication" rel="noreferrer">Authentication</a>. These are fields I would like to be to query and mutate through the Amplify <a href="https://aws-amplify.github.io/docs/js/authentication" rel="noreferrer">GraphQL</a> capabilities.</p>
  
  <p>I can see there are cool authorization patterns that can be achieved with the <code>@auth</code> <a href="https://aws-amplify.github.io/docs/cli-toolchain/graphql#graphql-transform" rel="noreferrer">directive</a>.</p>
  
  <p>Is it possible to leverage GraphQL Transform such that I can create a model schema where some of the fields link to the Cognito User Pool and some are defined within the GraphQL schema so that they are queryable and mutable? In fact I would like to provide registered users with the facility to update all their fields except email. Or maybe there is some combination of services supported by Amplify that I can hook up together to achieve the same?</p>
  
  <p>I am new to the AWS Serveless ecosystem and it has been exciting so far!</p>