Dieser Inhalt ist in der ausgewählten Sprache nicht verfügbar
Wir arbeiten ständig daran, Inhalte in der ausgewählten Sprache bereitzustellen. Vielen Dank für deine Geduld.
How can I create notifications for when an Amazon EMR cluster or step changes state?
Lesedauer: 2 Minute
0
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.
Resolution
To create an EventBridge rule that sends an SNS message when an Amazon EMR cluster or step changes state, do the following:
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.