anchor.diff:  # Amazon EventBridge
   
  -The [Amazon EventBridge](https://aws.amazon.com/eventbridge/) notification service in Buildkite lets stream events in real-time from your Buildkite account to your AWS account.
  +The [Amazon EventBridge](https://aws.amazon.com/eventbridge/) notification service in Buildkite lets you stream events in real-time from your Buildkite account to your AWS account.
   
   <%= toc %>
   
   ## Configuring
   
  -From your [Organization’s Notification Settings](https://buildkite.com/organizations/-/services), add an Amazon EventBridge notification service:
  +In your [Organization’s Notification Settings](https://buildkite.com/organizations/-/services), add an Amazon EventBridge notification service:
   
   <%= image "buildkite-add-eventbridge.png", width: 1458/2, height: 208/2, alt: "Screenshot of Add Buildkite Amazon EventBridge Button" %>
   
  -Once you’ve entered your AWS region and AWS Account ID, a Partner Event Source will have been created in your AWS account matching the "Partner Event Source Name" shown on the settings page:
  +Once you’ve entered your AWS region and AWS Account ID, a Partner Event Source will be created in your AWS account matching the "Partner Event Source Name" shown on the settings page:
   
   <%= image "buildkite-amazon-eventbridge-settings.png", width: 1458/2, height: 1254/2, alt: "Screenshot of Buildkite Amazon EventBridge Notification Settings" %>
   
  -You can then start consuming the events in your AWS account using the two "Partner Event Sources Console" and "Event Rules" links, which take you to the relevant pages in your AWS Console.
  +You can then start consuming the events in your AWS account. The links to "Partner Event Sources Console" and "Event Rules" take you to the relevant pages in your AWS Console.
   
   ## Events
   
  
positive.code: 
  ## Example: Log events via CloudWatch Logs
  
  You can use following [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html) as a rule target, to log events to [CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html):
  
  ```js
  exports.handler = (event, context, callback) => {
  
negative.code: 
  ## Example: Track agent wait times via CloudWatch Metrics
  
  You can use the following [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html) as a rule target to publish a [CloudWatch metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html) which tracks how long jobs are waiting for agents to become available:
  
  ```js
  const AWS = require("aws-sdk");
  