serverless.yml 680 Bytes
Newer Older
Andreas Muttscheller's avatar
Andreas Muttscheller committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
service: lambda-java-scala-bench

provider:
  name: aws
  runtime: java8
  region: eu-central-1
  logRetentionInDays: 1

package:
  individually: true

functions:
  ScalaLambda:
    handler: de.codecentric.amuttsch.awsbench.scala.ScalaLambda::handleRequest
    reservedConcurrency: 1
    package:
      artifact: scala/target/scala-2.12/aws_lambda_bench_scala.jar
    events:
    - http:
        path: scala
        method: get
  JavaLambda:
    handler: de.codecentric.amuttsch.awsbench.java.JavaLambda::handleRequest
    reservedConcurrency: 1
    package:
      artifact: java/target/aws_lambda_bench_java-0.1.jar
    events:
    - http:
        path: java
        method: get