So, if you have 9BB, you should just raise 3BBs with AA?
If you're in BB with 20BBs and everyone limped in before you (9-handed), you only raise 3BBs with AA?
Tournament or ring game?
9BB
Tournament: Shove in any position
Ring: Standard raise if nobody else has entered pot and shove any flop, shove if someone else has already entered pot
20BB
Tournament: Standard raise in early position and shove any flop, shove in late or if someone already entered before you
Ring: Same as with 9BB
Thing is if you are willing to open shove AA with 20bb then you gotta be willing to open shove with a much larger range otherwise you'll never get called. Then if you open shove with a larger range well then you'll be risking 20bb to pick up 1.5 each time and chances are you'll run into a better hand more than one in 8 which is about you'd need to make it worthwhile assuming you weren't 100% dominated in the event they called. This is why you don't open shove AA in a ring game because it's pretty obvious and the risk/reward if you don't have AA is pretty bad so in order for it to work you'd need to balance and that is a leak.
It's ok in a tournament because everyone is against the clock to chip up so you'll often find callers assuming you are making a desperation play or people making one themselves and there is always the chance they got dealt a cooler.