Skip to content

Commit

Permalink
add required method in api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
raylrui committed Oct 25, 2024
1 parent f91d867 commit fdbfe05
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/workload/stateless/stacks/workflow-manager/deploy/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,24 @@ export class WorkflowManagerStack extends Stack {
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.GET),
});

new HttpRoute(this, 'PostHttpRoute', {
httpApi: httpApi,
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.POST),
});

new HttpRoute(this, 'PatchHttpRoute', {
httpApi: httpApi,
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.PATCH),
});

new HttpRoute(this, 'DeleteHttpRoute', {
httpApi: httpApi,
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.DELETE),
});
}

private createHandleServiceWrscEventHandler() {
Expand Down

0 comments on commit fdbfe05

Please sign in to comment.