-
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
aws-step-functions-tasks: Wrong property declared on TaskBaseState props #25931
Comments
|
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
@peterwoodworth – I see, I have probably not seen the Also, I have a different question, if the
I think I was referring to a different |
Whoops! you're right, my bad 😄
I'm not positive, but I think this would effectively be the case. There might be a very slight difference between the two, depending on if the task takes a slight amount of the timeout window to invoke the function and receive the result or not |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Describe the feature
The
timeout
property in theLambdaInvokeProps
interface is inherited from theTaskStateBaseProps
interface.This timeout refers to the overall timeout of the state machine.
Why should each state configuration inherit this property ? This should be defined during the construction of the
StateMachine
instance.Use Case
Removing the property of timeout from TaskBaseState props would reduce confusion
Proposed Solution
Remove the
timeout
property from theTaskStateBaseProps
.Overall, timeout property already exists and should be used on the StateMachine construct
Other Information
No response
Acknowledgements
CDK version used
2.83
Environment details (OS name and version, etc.)
macOS Venture 13.4
The text was updated successfully, but these errors were encountered: