Last active
August 30, 2016 22:19
-
-
Save johncmckim/b8e4f015ce28737675623e0e765a84d0 to your computer and use it in GitHub Desktop.
Garden Aid - Web BFF - Serverless config
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
service: garden-aid-web-bff | |
provider: | |
name: aws | |
runtime: nodejs4.3 | |
iamRoleStatements: | |
- Effect: Allow | |
Action: | |
- dynamodb:DescribeTable | |
- dynamodb:Query | |
- dynamodb:Scan | |
- dynamodb:GetItem | |
- dynamodb:PutItem | |
- dynamodb:UpdateItem | |
- dynamodb:DeleteItem | |
Resource: "arn:aws:dynamodb:ap-southeast-2:*:*" | |
functions: | |
graphQl: | |
handler: index.graphql | |
events: | |
- http: | |
path: graphql | |
method: post | |
cors: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment