I am trying to add an eventbridge rule for whenever a codecommit repository is created trigger a lambda function. Below is my rule and I am not sure what to add on reference type or if is there is another rule that I can use.
"source": [
"aws.codecommit"
],
"detail-type": [
"CodeCommit Repository State Change"
],
"detail": {
"referenceType": ['']
"event": ["referenceCreated"]
}
}