To create AWS Cognito records from Magento 2 without manual input, use a ready-made scenario.
You can launch this Magento 2 + AWS Cognito integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.