Created
August 6, 2020 01:19
-
-
Save a4vg/a40a982e2a09f9ff5961a1eafaef2f1f to your computer and use it in GitHub Desktop.
SAM template for quarkus-amazon-lambda-archetype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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