This is risky but doable if you are able to check in for the UA flight online and don’t have bags. AMS has automated passport gates and when they aren’t available, staff will let you cut the line if you have a tight connection.
Morning flights are less likely to be delayed but anything can happen.