when calling StepFunctionsStartExecution, the parameter: integrationPattern doesn't seem to affect.
Regression Issue
[ ] Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
When I run it with:
integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE,
I expect it to work in sync mode.
Current Behavior
When I run it with:
integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE,
It works in asynchronous mode.
Reproduction Steps
Define a parent state machine.
Define a child state machine.
call the child from the parent with:
const childSfn = new tasks.StepFunctionsStartExecution(this, "name", {
stateMachine: childStateMachine,
integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE,
})
Possible Solution
From looking at file: packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/stepfunctions/start-execution.ts
I see that integrationPattern is a private field. it should be in props.
Describe the bug
when calling
StepFunctionsStartExecution
, the parameter:integrationPattern
doesn't seem to affect.Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
When I run it with:
integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE
, I expect it to work insync
mode.Current Behavior
When I run it with:
integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE
, It works inasynchronous
mode.Reproduction Steps
Define a parent state machine. Define a child state machine. call the child from the parent with:
const childSfn = new tasks.StepFunctionsStartExecution
(this, "name", { stateMachine: childStateMachine, integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE, })Possible Solution
From looking at file: packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/stepfunctions/start-execution.ts I see that
integrationPattern
is a private field. it should be in props.CDK CLI Version
2.157.0
Framework Version
No response
Node.js Version
20.4.10
OS
Windows
Language
TypeScript
Language Version
No response
Other information
No response