@gammarers/aws-stepfunctions-execution-status-change-notification-stack
v1.0.4
Published
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."
Downloads
292
Readme
AWS Step Functions 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."
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.