1 回答
- 最新
- 投票最多
- 评论最多
1
Hi,
you will need to add a dependency on the methods.
If you create an AWS::ApiGateway::RestApi resource and its methods (using AWS::ApiGateway::Method) in the same template as your deployment, the deployment must depend on the
RestApi
's methods. To create a dependency, add aDependsOn
attribute to the deployment. If you don't, AWS CloudFormation creates the deployment right after it creates theRestApi
resource that doesn't contain any methods, and AWS CloudFormation encounters the following error:The REST API doesn't contain any methods.
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
Thank You for the Help