Using serverless authorization of apigateway

Hi. Everyone.

I am creating an API using serverless.yml.
so, I want to authorization of API.

Now, implementing serverlees deploy creates some Lambda and APIs, S3s.
One Lambda is task of authorization.

I would like to include it in the custom authorizer of APIGateway Using serverless.yml,
Please teach me how.

  1. Read the docs on custom authorisers
  2. Profit!