Skip to content

plbrokaw/alexa-dynamodb-skill-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamoDB Starter Alexa Template

This is a simple template that shows use of DynamoDB with Alexa. This template uses the Alexa Skills Kit for Node.js version 2.0 and is designed to be used with the Alexa Skills Kit CLI.

Instructions to execute this template

  • Provide DynamoDB execution permission to the Lambda.
  • Create a DynamoDB table with name dynamodb-starter and schema, userId as a Partition Key and movieTitle as a sort key.
{
    AttributeDefinitions: [
        {
            AttributeName: 'userId',
            AttributeType: 'S'
        },
        {
            AttributeName: 'movieTitle',
            AttributeType: 'S'
        }
    ],
    KeySchema: [
        {
            AttributeName: 'userId',
            KeyType: 'HASH'
        },
        {
            AttributeName: 'movieTitle',
            KeyType: 'RANGE'
        }
    ]
}

About

An Alexa skill template that uses DynamoDB as a data store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%