Skip to content

Instantly share code, notes, and snippets.

@akhilvijayan05
Created May 23, 2018 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akhilvijayan05/ebe8dede6ebd3165048b57109a306a30 to your computer and use it in GitHub Desktop.
Save akhilvijayan05/ebe8dede6ebd3165048b57109a306a30 to your computer and use it in GitHub Desktop.
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Lambda Sample Project
Resources:
Products:
Type: AWS::Serverless::Function
Properties:
Handler: com.example.handler.LambdaHandler
CodeUri: ./target/lambda-project-1.0-SNAPSHOT.jar
Runtime: java8
Timeout: 300
Environment:
Variables:
ENVIRONMENT: "test"
Events:
ListProducts:
Type: Api
Properties:
Path: /lambda
Method: post
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment