AWS ECS + Privat Repo

What is correct way to pull private images from docker hub on AWS ECS.