In Dreamhost:
- Use the values in NS (provided from AWS Route53) with your domain registrar(dreamhost).
In AWS Route53:
- Add an 'A Record' with IP of the EC2 instance in value.
- To resolve www to the naked domain name you could use, CNAME record, I have attached an image with some values masked.
Hope this helps.