Sonarqube and aws codepipeline

I wanted to know how can we configure sonarqube with aws codepipline( my pipeline is configured in such a way that whenever there is a new commit in github, my dev pipeline runs)