【发布时间】:2019-11-11 22:58:31
【问题描述】:
使用控制台,我能够配置 API 网关方法,将带有路径参数的 HTTP 请求传递到另一个 URI。
这样可以将我的请求转发到https://example.com,并使用相同的(贪婪)路径参数。
虽然这已经足够成功,但我需要能够在 cloudformation 模板中将其指定为 AWS::Serverless::Api 资源。据我所知,the documentation for the Serverless Application Model 没有提及如何实现这一点。
可以在无服务器资源上完成,还是我需要使用传统的 AWS::ApiGateway::Resource/Method's?
【问题讨论】:
标签: amazon-web-services amazon-cloudformation aws-api-gateway aws-serverless serverless-application-model