1

From Serverless 1.X, I can't found API Gateway settings in serverless.yml or web search results. It include only lambda settings, and I deployed Hello World template to my AWS, actually only lambda was deployed.

How to deploy and configure API Gateway on Serverless 1.X?

1 Answer 1

1

I found the answer of this by myself.

It is written in document here,

https://serverless.com/framework/docs/providers/aws/events/apigateway/

and also, I was so careless, there are some sample of setting commented out in template.

This API Gateway setting is written like this:

functions:
  hello:
    handler: handler.hello
    events:
      - http:
        path: hello
        method: get

So, API Gateway deploy setting is part of "functions=>events" setting.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.