AWS Step Functions
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

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. Sign in to the AWS Management Console and open the CloudWatch console.

  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 page 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.