Created
July 9, 2018 00:50
-
-
Save MitchyBAwesome/4b6efcf29be4113bad2cae0e32bfbd21 to your computer and use it in GitHub Desktop.
CloudWatch Event Rule Definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "CodeCommitRule", | |
"EventPattern": "{\"source\": [ \"aws.codecommit\" ],\"detail-type\": [ \"CodeCommit Repository State Change\" ],\"resources\": [ \"<arn_of_codecommit_repo>\" ],\"detail\": {\"event\": [\"referenceCreated\",\"referenceUpdated\"],\"referenceType\":[\"branch\"],\"referenceName\": [\"master\"]}}", | |
"State": "ENABLED" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment