service: aws-nodejs

configValidationMode: error

provider:
  name: aws
  runtime: nodejs12.x

functions:
  hello:
    handler: handler.hello
  custom-name:
    name: ${self:service}-${self:provider.region}-custom-name
    handler: handler.hello
