Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Forked from https://github.com/wmlutz/gatsby-source-dynamodb



This module helps you pull your AWS dynamodb account using IAM credentials. The inspiration was designed to assist connecting private tables from AWS Amplify for public-facing sites.

To install:

yarn add gatsby-source-dynamodb

(or npm install --save gatsby-source-dynamodb)

Then add the config to your gatsby-config.js:

module.exports = {
  plugins: [
      resolve: 'gatsby-source-dynamodb',
      options: {
        typeName: '<INPUT_GRAPHQL_TYPE_NAME_HERE>',
        accessKeyId: '<AWS_ACCESS_KEY_ID>',
        secretAccessKey: '<AWS_SECRET_ACCESS_KEY>',
        region: '<AWS_REGION>',
        params: {
          TableName : "<TABLE_NAME>",
          // OTHER PARAMS HERE


It is strongly recommended that credentials are stored in environment variables.

© 2023 Gatsby, Inc.