1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 3 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren