AWS Cloud Formation API网关模板

时间:2020-04-15 12:49:05

标签: amazon-web-services amazon-cloudformation aws-api-gateway

我正在为CloudFormation编写一个APIGateway模板。 我们有一个要求,即在一种资源下,我们需要给出两种GET方法。一个没有路径参数,另一个没有路径参数,如下所示:

GET /v1/entities/{entityGuid}GET /v1/entities

当我尝试使用两个APIGateway方法创建GET时, 我要例外了,

The following resource(s) failed to create: [RetrieveEntitiesListGetMethod, CreateEntityPostMethod, RetrieveEntityGetMethod]. Rollback requested by user.

我该如何解决。 请帮忙。

0 个答案:

没有答案