Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions templates/aws-dynamodb-starter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.DS_Store
*.sublime-project
*.sublime-workspace
*.log
.serverless
v8-compile-cache-*
jest/*
coverage
testProjects/*/package-lock.json
testProjects/*/yarn.lock
.serverlessUnzipped
node_modules
.vscode/
.eslintcache
dist
.idea
build/
.env*
.cache*
.serverless
.serverless_nextjs
.serverless_plugins
env.js
tmp
package-lock.json
yarn.lock
test
21 changes: 21 additions & 0 deletions templates/aws-dynamodb-starter/serverless.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: aws-dynamodb-starter
component: aws-dynamodb
org: serverlessinc
description: Deploys a serverless NoSQL database powered by AWS DynamoDB
keywords: aws, serverless, nosql, database
repo: https://github.com/serverless-components/aws-dynamodb
license: MIT

inputs:
deletionPolicy: delete # allows table to be removed. This property is a safe guard.
attributeDefinitions:
- AttributeName: attribute1
AttributeType: S
- AttributeName: attribute2
AttributeType: N
keySchema:
- AttributeName: attribute1
KeyType: HASH
- AttributeName: attribute2
KeyType: RANGE
region: us-east-1