Skip to content

Instantly share code, notes, and snippets.

@a4vg
Created August 6, 2020 01:19
Show Gist options
  • Save a4vg/a40a982e2a09f9ff5961a1eafaef2f1f to your computer and use it in GitHub Desktop.
Save a4vg/a40a982e2a09f9ff5961a1eafaef2f1f to your computer and use it in GitHub Desktop.
SAM template for quarkus-amazon-lambda-archetype
---
AWSTemplateFormatVersion: "2010-09-09"
Transform: "AWS::Serverless-2016-10-31"
Globals:
Function:
Timeout: 5
Resources:
QuarkusSam:
Type: "AWS::Serverless::Function"
Properties:
Handler: "io.quarkus.amazon.lambda.runtime.QuarkusStreamHandler::handleRequest"
Runtime: "java8"
MemorySize: 512
Policies: "AWSLambdaBasicExecutionRole"
Events:
GetResource:
Type: "Api"
Properties:
Path: "/hello"
Method: "any"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment