After creating API Gateway with two API names and integrating with lambda function,

AWS documentation recommends to deploy this API, as shown below:

enter image description here

1) What does deploy API mean? How creating API gateway different from deploying API?

2) Does deploy API option internally create Cloud formation template? that creates a stack and deploy

1 Answer 1


1.) Create API (create-rest-api from the cli) simply creates the API Gateway resource, but it does not create the method, stage, authorizer, etc. for your API Gateway. Deploy API (create-deployment from the cli) will deploy either to an already created stage, or create a new stage for deployment.

2.) No, it will not deploy a CloudFormation stack in your account.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.