Aluminum can react with dilute acid to replace hydrogen, which is metallic; It can also react with strong alkali to produce nonmetallic AlO2- (metaaluminate).
But when aluminum reacts with strong alkali, it is; Aluminum reacts with water first and then with alkali solution, so some people say that aluminum is only metallic, not amphoteric.