Triggering CD on new image in private repo

How can I trigger a redeploy when I create a newer image of a container (based on tag) in a private AWS ECR repo (or any other container registry, for that matter?). I use AWS CodeBuild and do not want to use the Rancher pipeline. Got enough headaches already.