AWS Step Functions
Developer Guide

Setting Alarms for Step Functions

You can use CloudWatch alarms to perform actions. For example, if you want to know when an alarm threshold is reached, you can set an alarm to send a notification to an Amazon SNS topic or to send an email when the StateMachinesFailed metric rises above a certain threshold.

To set an alarm on a metric

  1. Open the AWS Management Console and navigate to CloudWatch.

  2. Choose Metrics and on the All Metrics tab, choose States.

    If you ran any executions recently, you will see up to three types of metrics:

    • Execution Metrics

    • Activity Function Metrics

    • Lambda Function Metrics

  3. Choose a metric type to see a list of metrics.

  4. Choose a metric and then choose Graphed metrics.

  5. Choose 
    next to a metric on the list.

    The Create Alarm dialog box is displayed.

  6. Enter the values for the Alarm threshold and Actions and then choose Create Alarm.

For more information about setting and using CloudWatch alarms, see Creating Amazon CloudWatch Alarms in the Amazon CloudWatch User Guide.