1 回答
- 最新
- 投票最多
- 评论最多
0
You must export the Rest API ID at the end of the current Cloudformation Template where the API Gateway is being created:
Outputs:
VPC:
Description: Demo
Value: !Ref PetStore
Export:
Name: PetStoreRestApiID
Then in the new Cloudformation template you must create a API Gateway Resource and reference the Rest API ID from the previous Cloudformation template:
Resources:
NewPathInAPI:
"Type" : "AWS::ApiGateway::Resource"
Properties:
.
.
.
RestApiId:
Fn::ImportValue:
PetStoreRestApiID
已回答 3 个月前
相关内容
- AWS 官方已更新 2 年前