Amazon Cognito: user search as functionality in an App
<p>I have read through the available AWS Cognito docs, but I am not sure if I understand how to best implement a "user search" feature: I want users to be able to search for each other and look at each other's user profiles.</p>

<p>Two specific requirements:</p>

<ul>
<li>Users are only able to search a subset of all users, given by a custom type.</li>
<li>Users are able to search by a custom geo hash attribute</li>
</ul>

<p>How to best approach this? I suppose I need a proxy API service as e.g. searching by custom attributes is not supported by AWS Cognito. But there are many questions:</p>

<ul>
<li>What AWS Api and authentication method should my proxy API use to connect to the AWS Cognito service?</li>
<li>should the proxy API just try to use the sync feature of Cognito to maintain all users? Unnecessary risk?</li>
<li>are the Cognito APIs SSL enabled by default so that the proxy API can connect safely?</li>
<li>Should I use a proxy API at all?</li>
</ul>