I am using AWS Cognito I want to remove the signup flow from hosted UI as I wish to do some application-level stuff during signup.(I can't do such stuff in pre-signup lambda). I tried changing the policy as advised by other links, but that causes trouble for the creating users through sdk (error : Users cant be created in this userpool).
Note: I can use AdminCreateUser function in the SDK but that changes my Userflow.
Please advice how to remove signup link from Hosted UI but allow it using SDK