Skip to content

Commit 4cb3b2b

Browse files
authored
fix(stepfunctions): incorrect default documentation for integrationPattern (#19936)
Fixes #19815 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8c8b6b6 commit 4cb3b2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/@aws-cdk/aws-stepfunctions/lib/states/task-base.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ export interface TaskStateBaseProps {
8585
*
8686
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
8787
*
88-
* @default IntegrationPattern.REQUEST_RESPONSE
88+
* @default - `IntegrationPattern.REQUEST_RESPONSE` for most tasks.
89+
* `IntegrationPattern.RUN_JOB` for the following exceptions:
90+
* `BatchSubmitJob`, `EmrAddStep`, `EmrCreateCluster`, `EmrTerminationCluster`, and `EmrContainersStartJobRun`.
91+
*
8992
*/
9093
readonly integrationPattern?: IntegrationPattern;
9194
}

0 commit comments

Comments
 (0)