Skip to content

Commit ab73e53

Browse files
authored
chore(stepfunctions-tasks): doc has incorrect api endpoint (#31364)
Closes #30940.
1 parent 633904d commit ab73e53

File tree

1 file changed

+1
-1
lines changed
  • packages/aws-cdk-lib/aws-stepfunctions-tasks

1 file changed

+1
-1
lines changed

Diff for: packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ const connection = new events.Connection(this, 'Connection', {
13631363

13641364
new tasks.HttpInvoke(this, 'Invoke HTTP API', {
13651365
apiRoot: 'https://api.example.com',
1366-
apiEndpoint: sfn.TaskInput.fromText('https://api.example.com/path/to/resource'),
1366+
apiEndpoint: sfn.TaskInput.fromText('path/to/resource'),
13671367
body: sfn.TaskInput.fromObject({ foo: 'bar' }),
13681368
connection,
13691369
headers: sfn.TaskInput.fromObject({ 'Content-Type': 'application/json' }),

0 commit comments

Comments
 (0)