-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stepfunctions): support step functions state machine execution from a task state #3522
Conversation
This is great! |
I have trouble in verifying the details of CodeBuild failure. The error message is:
|
Here's the error message @wqzoww:
It looks like you were extremely unfortunate, and the build ran during our publishing step (as @aws-events 1.3.0 definitely exist). Can you rebase your change on top of the newest master, and try again? Or just push an empty commit to re-trigger the build, if you're already up-to-date with master. |
* Pause the workflow until the task token is returned by SendTaskSuccess or SendTaskFailure. | ||
* See {@link https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token|WaitForCallback} | ||
*/ | ||
readonly waitForTaskToken?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need an update after #3115 is merged to be consistent.
packages/@aws-cdk/aws-stepfunctions-tasks/lib/start-execution.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-stepfunctions-tasks/lib/start-execution.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-stepfunctions-tasks/lib/start-execution.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-stepfunctions-tasks/lib/start-execution.ts
Outdated
Show resolved
Hide resolved
Happy to ship this in principle after addressing the small syntactic niggles, but probably after #3115 so that we can bring it in line with the invocation style? Or would you prefer I do it immediately? |
I am OK to make the code change once #3115 gets merged. |
…xecution from a task state Step Functions allows to start state machine executions by calling its own API StartExecution as an integrated service. This commit is made to implement this new feature. The corresponding IAM poliy has been defined and the service principal in the IAM role has been fixed. Closes aws#3521
Step Functions allows to start state machine executions by calling its own API StartExecution as an integrated service. This commit is made to implement this new feature.
The corresponding IAM poliy has been defined and the service principal in the IAM role has been fixed.
Closes #3521
Please read the contribution guidelines and follow the pull-request checklist.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license