I've been trying to make CloudWatch Event to work for my CodeBuild project on Build State Change but it's not working. It's working fine if I am removing the resource, but then again it triggers on any CodeBuild project. I am performing this code, Am I performing this right or not? or is this code is not implemented for CodeBuild?
"CodeBuild Build State Change"