Enumeration value for HttpMethod must be non-empty (Service: AmazonApiGateway; Status Code: 400; Error Code: BadRequestException #6404
Labels
needs-triage
This issue or PR still needs to be triaged.
I'm deploying a REST API on API Gateway accessing a web service on Fargate via a VPC Link and an NLB. And this actually works.
The only missing piece is deploying the method:resource ANY:test/. That part is described in below code snippet:
This causes the error:
Before this erroneous deployment I just deployed the RESt API with ANY test/. No problem. So, I can actually go on API Gateway and manually configure:
https://imgur.com/mpSBm8B
That works. Now what I would like to do is reproduce this with CDK and I think that should be done by adding:
That's what I am doing above but causes the error. Any ideas what I'm doing wrong?
The text was updated successfully, but these errors were encountered: