Skip to content

This AWS CDK Stack retrieves the status of Step Functions via EventBridge and sends notifications accordingly. Currently, it only detects and notifies when the status of any machine is either "Failed" or "TimeOut."

License

Notifications You must be signed in to change notification settings

gammarers/aws-stepfunctions-execution-status-change-notification-stack

Repository files navigation

AWS Step Functions Execution Status Change Notification Stack

GitHub npm (scoped) GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

This AWS CDK Stack retrieves the status of Step Functions via EventBridge and sends notifications accordingly. Currently, it only detects and notifies when the status of any machine is either "Failed" or "TimeOut."

TypeScript

install by npm

npm install @gammarers/aws-stepfunctions-execution-status-change-notification-stack

install by yarn

yarn add @gammarers/aws-stepfunctions-execution-status-change-notification-stack

Example

Code

import { RDSDatabaseAutoRunningProtectionStack } from '@gammarers/aws-stepfunctions-execution-status-change-notification-stack';

new StepFunctionsExecutionStatueChangeNotificationStack(app, 'StepFunctionsExecutionStatueChangeNotificationStack', {
  enableRule: true,
  notifications: {
    emails: [
      'foo@example.com',
      'bar@example.net',
    ],
  },
});

License

This project is licensed under the Apache-2.0 License.

About

This AWS CDK Stack retrieves the status of Step Functions via EventBridge and sends notifications accordingly. Currently, it only detects and notifies when the status of any machine is either "Failed" or "TimeOut."

Resources

License

Stars

Watchers

Forks

Packages

No packages published