serverless-operations / serverless-step-functions

AWS Step Functions plugin for Serverless Framework ⚡️
Other
1.02k stars 204 forks source link

Allow adding InputPath and InputTransformer for notification targets #609

Open Holi0317 opened 3 months ago

Holi0317 commented 3 months ago

This is a Feature Proposal

Description

We have enabled sns notification for failed state machines and send the notification to slack via chatbot.

While the notification works, we want to customize the format that get sent to SNS. This can be done via customizing the InputPath and InputTransformer in the generated AWS::Events::Rule target.

Currently there is no way to include our change because the target generation code does not create those two properties at all.

Maybe all target type should be able to accept object as configuration and allow customizing the inputPath and inputTransformer?

Similar or dependent issues:

Additional Data