Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AWSTemplateFormatVersion: '2010-09-09'
- Transform: AWS::Serverless-2016-10-31
- Description: Example template
- Resources:
- GetOrdersFunction:
- Type: AWS::Serverless::Function
- Properties:
- CodeUri: orderlambda/
- Handler: app.lambdaHandler
- Runtime: nodejs8.10
- Environment:
- Variables:
- DB_USER: 'admin'
- DB_PASSWORD: 'password'
- DB_HOSTNAME: 'jdbc:mysql://localhost/orders'
- Events:
- HelloWorld:
- Type: Api
- Properties:
- Path: /orders
- Method: get
Add Comment
Please, Sign In to add comment