Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 2.06 KB

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.
    [Image NOT FOUND]

    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.
    [Image NOT FOUND]

  4. Choose a metric and then choose Graphed metrics.

  5. Choose [bell][bell][bell] next to a metric on the list.
    [Image NOT FOUND]

    The Create Alarm dialog box is displayed.
    [Image NOT FOUND]

  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.