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




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."
#### install by npm
``shell`
npm install @gammarers/aws-stepfunctions-execution-status-change-notification-stack
#### install by yarn
`shell`
yarn add @gammarers/aws-stepfunctions-execution-status-change-notification-stack
`typescript
import { StepFunctionsExecutionStatusChangeNotificationStack } from '@gammarers/aws-stepfunctions-execution-status-change-notification-stack';
new StepFunctionsExecutionStatusChangeNotificationStack(app, 'StepFunctionsExecutionStatusChangeNotificationStack', {
enableRule: true,
notifications: {
emails: [
'foo@example.com',
'bar@example.net',
],
},
});
``
This project is licensed under the Apache-2.0 License.