Thank you for reaching out to us.
Amplify currently doesn't support environment-based redirects. For reverse-proxy redirect, it only support source addresses of paths.
Only Options are to create a new Amplify app for the environment or create your own CloudFront distribution pointing to each of the Amplify CloudFront distributions that handles the redirect for them. Please refer to this link  for more information
AWS Amplify Status 301asked 3 months ago
Amplify headless - need help on setting up the app automatedasked 9 months ago
Amplify: redirect based on environmentasked 7 months ago
In AWS Amplify UI React after Login how to redirect to dashboard path login button in home page in react in different pageasked 5 months ago
Amplify and React App: Access Deniedasked 3 months ago
Redirect that could work for any query string?Accepted Answerasked 3 years ago
Amplify redirect www to apexasked 10 months ago
www redirect in amplify console infinitely redirectsasked 3 years ago
Amplify Next.js Redirectsasked 7 months ago
How to pass the Amplify app ID to a function? How to do app introspection from backend functions?Accepted Answerasked 5 months ago