Skip to content

Commit

Permalink
feat(stepfunctions-tasks): add httpinvoke step functions task (#28673)
Browse files Browse the repository at this point in the history
This adds an `HttpInvoke` Step Functions task construct, which allows calling public APIs as described [here](https://docs.aws.amazon.com/step-functions/latest/dg/connect-third-party-apis.html).

- Accepts an Event Bridge API Destination `IConnection`, setting required permissions to use its credentials.
- Grants permission to invoke the root path for the endpoint (`apiRoot` prop). This allows passing the relative endpoint path at execution time (`apiEndpoint` prop).
- Defines an enum for the allowed options for the URL encoding style of arrays, used when encoding the request body.

Closes #28278

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
MathieuGilbert committed Apr 16, 2024
1 parent 72b6d8e commit 178e481
Show file tree
Hide file tree
Showing 17 changed files with 35,149 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 178e481

Please sign in to comment.