From the course: Using Slack and AWS EventBridge to Automate Your DevOps Tasks
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Monitoring code changes with EventBridge and Slack - Amazon Web Services (AWS) Tutorial
From the course: Using Slack and AWS EventBridge to Automate Your DevOps Tasks
Monitoring code changes with EventBridge and Slack
- [Instructor] All right, it's time to create a rule that's going to connect to our Lambda function. So here we are in the EventBridge console, click on the create rule button and get to it right away. Let's call this CodeRepo changes, SlackDemo, we going to select a event pattern here, and it's going to be one of the predefined patterns. And this is going to be for a specific AWS service. So we pick AWS and that'll look for CodeCommit on the pulldown. Now we don't want to be notified about everything that happens in CodeCommit. So we'll pick the CodeCommit repository, state change type only. Now you could specify any which is fine for our purposes right now, but if you have many different code repositories, you want to go down more specific and say, Hey, here's my ARN for my repository. That is my Amazon resource name of my Repo. For our purposes ,we'll keep it at any resource. If we scroll down, we going to use the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.