How can I create notifications for when an Amazon EMR cluster or step changes state?

2 minute read

I want to get a notification when my Amazon EMR cluster or step changes state. How can I accomplish this with Amazon EventBridge?

Short description

When you create an EventBridge rule, you choose a target, such as an Amazon Simple Notification Service (Amazon SNS) topic. The target triggers when a specified event occurs, such as when a cluster state changes.


To create an EventBridge rule that sends an SNS message when an Amazon EMR cluster or step changes state, do the following:

  1. Create an SNS topic. This topic is the target for the EventBridge rule.
  2. Follow the steps for Creating Amazon EventBridge rules that react to events.
    For Define pattern, choose Event pattern.
    Choose Pre-defined pattern by service.
    For Service provider, choose AWS.
    For Service Name, choose EMR.
    For Event type, choose State Change.
    For Target, select SNS topic.
    For Topic, select the topic that you created in step 1.
    Note: You can choose more than one target per rule. For example, you can perform an AWS Lambda function, send an SNS notification, and send a message to an Amazon Simple Queue Service (Amazon SQS) queue at the same time, in the same rule.

If the EventBridge rule doesn't behave as expected, see Troubleshooting Amazon EventBridge.

Related information

Amazon EMR events

AWS OFFICIALUpdated a year ago