stepfunction's CallApiGatewayHttpApiEndpointOptions should NOT tightly coupled with target api stack? #33506
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
`
/**
/
export interface CallApiGatewayHttpApiEndpointOptions {
/*
*/
readonly apiId: string;
/**
*/
readonly apiStack: cdk.Stack;
/**
*/
readonly stageName?: string;
}`
readonly apiStack: cdk.Stack; I'm confused why we need to pass a code reference to the stack where the api is defined,
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
program design, code review should be conducted or add more comments to make sure user understand
Current Behavior
api caller is tightly coupled to callee on code ref level
Reproduction Steps
just take a look
Possible Solution
program design, code review should be conducted or add more comments to make sure user understand
Additional Information/Context
No response
CDK CLI Version
2.178.2
Framework Version
No response
Node.js Version
node20
OS
ubuntu
Language
TypeScript
Language Version
No response
Other information
this is one of the core modules, please do QA on each level
The text was updated successfully, but these errors were encountered: