1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 3 mois
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a 10 mois
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans