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."
npm install @gammarers/aws-stepfunctions-execution-status-change-notification-stack
yarn add @gammarers/aws-stepfunctions-execution-status-change-notification-stack
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',
],
},
});
This project is licensed under the Apache-2.0 License.