-
Notifications
You must be signed in to change notification settings - Fork 4.4k
(@aws-cdk/aws-stepfunction-tasks): CallApiGatewayHttpApiEndpoint didn't include "Stage" during rend the object #14242
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-stepfunctions-tasksbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1
Description
CallApiGatewayHttpApiEndpoint didn't include "Stage" during rend the object after set stageName.
Reproduction Steps
new sfn_tasks.CallApiGatewayHttpApiEndpoint(this, "call ApiGateway HttpApi Endpoint", {
api: HttpApi.fromHttpApiAttributes(this, "call ApiGateway HttpApi Endpoint ", { httpApiId: http_api_id}),
stageName: "Alpha",
apiPath: "/apitPath",
heartbeat: cdk.Duration.seconds(10),
integrationPattern: sfn.IntegrationPattern.REQUEST_RESPONSE,
method: sfn_tasks.HttpMethod.POST,
timeout: cdk.Duration.minutes(2),
authType: sfn_tasks.AuthType.IAM_ROLE,
});
What did you expect to happen?
Should include the Stage in the Step function State machines.
What actually happened?
Didn't include the Stage in the Step function State machines.
Environment
- CDK CLI Version : mono CDK 1.97.0
- Framework Version:
- Node.js Version: v12.5.0
- OS :
- Language (Version): TypeScript
Other
May need to use the
Stage: this.baseProps.stageName
in https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-stepfunctions-tasks/lib/apigateway/base.ts#L48
As we didn't set the stage like we did in CallApiGatewayRestApiEndpoint.
and
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-stepfunctions-tasksbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1