aws-scheduler-targets-alpha: Add StepFunctionsStartExecution #27377
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
hacktoberfest
Good issue for hacktoberfest-ers
hacktoberfest-accepted
PR is accepted for hacktoberfest
p2
Describe the feature
Currently the only impelmentation of IScheduleTarget is LambdaInvoke.
It would be great if we could have also StepFunctionsStartExecution as one of the templated apis in the aws console.
Use Case
You can have a lot of targets in event scheduler, but in this alpha module its only possible to trigger a lambda. I would like to be able to trigger a Step Function/State Machine from there.
Proposed Solution
The implementation can be very similar/almost identical like LambdaInvoke.
I've tested following implementation in a private project succesfully (heavily inspired by the existing LambdaInvoke code):
Other Information
I would like to contribute this feature during the hacktoberfest.
It would be great if this repository can be marked with the topic "hacktoberfest" so that it gets counted towards the goal (see https://hacktoberfest.com/participation/#maintainers for more info) :)
Acknowledgements
CDK version used
2.99.1
Environment details (OS name and version, etc.)
windows, wsl
The text was updated successfully, but these errors were encountered: