Menu
Amazon EC2 Systems Manager
User Guide

Configuring CloudWatch Events for Systems Manager Automation (Optional)

You can configure Amazon CloudWatch Events to notify you of Systems Manager Automation events. For example, you can configure CloudWatch Events to send notifications when an Automation step succeeds or fails. You can also configure CloudWatch Events to send notifications if the Automation workflow succeeds or fails. Use the following procedure to configure CloudWatch Events to send notification about Automation events.

To configure CloudWatch Events for Automation

  1. Sign in to the AWS Management Console and open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. Choose Events in the left navigation, and then choose Create rule.

  3. Under Event Source, verify that Event Pattern is selected.

  4. In the Service Name field, choose EC2 Simple Systems Manager (SSM)

  5. In the Event Type field, choose Automation.

  6. Choose the detail types and statuses for which you want to receive notifications, and then choose Add targets.

  7. In the Select target type list, choose a target type. For information about the different types of targets, see the corresponding AWS Help documentation.

  8. Choose Configure details.

  9. Specify the rule details, and then choose Create rule.

The next time you run Automation, CloudWatch Events sends event details to the target you specified.