aws_cdk.aws_stepfunctions_tasks.HttpInvoke: Too much props required to make it work #30844
Labels
@aws-cdk/aws-stepfunctions-tasks
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
The HttpInvoke task requires too much information than actually needed, which makes the development much more complicated.
Expected Behavior
Only the minimum amount of required props should be provided to make it work.
e.g. only paste the
ApiEndpoint
, only provide theConnectionARN
Current Behavior
in order to specific an API, both,
apiRoot
ANDapiEndpoint
are requiredin order to connect an event bridge connection a
Connection.fromConnectionAttributes(...)
is necessary which requires theConnectionARN
,SecretARN
and theConnectionName
Reproduction Steps
Import the
HttpInvoke
task and try to set it up.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.148.1
Framework Version
No response
Node.js Version
18
OS
Mac
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: