Pay-as-you-go for what you use is the basis, and you can stop paying by stopping resources when they are no longer needed.
This is correct. The basis of AWS is pay-as-you-go, and stopping or deleting resources stops further charges. Upfront payment and long-term contracts are not required.