How to make AWS CodeBuild fail if it doesn't meet Quality Gates in SonarQube/Cloud

I need help on making AWSCodeBuild fail if it doesn’t meet QualityGates in SonarQube/Cloud. we are working on python code applications. so can’t add any plugins like maven. please suggest or help us to do this.

Hi,

I don’t know much about AWS, but your solution is probably going to start with Webhooks - push notifications that your analysis is finished with an accompanying payload that contains the detailed quality gate status.

 
HTH,
Ann