1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta 3 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa