I found the solution in there: https://forums.aws.amazon.com/thread.jspa?threadID=294311&tstart=0
I need to use
Suorce: “</^((?!.(css|gif|ico|jpg|js|png|txt|svg|woff|ttf)$).)*$/>”
Target: “/index.html”
Type: 200 (Rewrite)
in Rewrites and redirects section in the AWS Amplify.