Skip to content

Instantly share code, notes, and snippets.

@horike37
Created July 14, 2016 14:53
Show Gist options
  • Save horike37/2f50b7c08ac23c1a48499ca1269f905b to your computer and use it in GitHub Desktop.
Save horike37/2f50b7c08ac23c1a48499ca1269f905b to your computer and use it in GitHub Desktop.
service: horike-service
provider: aws
functions:
hello:
handler: handler.hello
events:
- http:
path: hello
method: GET
resources:
Resources:
CustomProviderResource:
Type:
AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
-
AttributeName: email
AttributeType: S
KeySchema:
-
AttributeName: email
KeyType: HASH
ProvisionedThroughput:
ReadCapacityUnits: 5
WriteCapacityUnits: 5
TableName:
users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment