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.
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前
Thank You for the Help