{"id":18637813,"url":"https://github.com/engineerapart/aws-dynamodb","last_synced_at":"2025-10-06T08:17:30.782Z","repository":{"id":44042908,"uuid":"222199622","full_name":"engineerapart/aws-dynamodb","owner":"engineerapart","description":"Fork for aws dynamodb until maintainer get's of their ass and merges things","archived":false,"fork":false,"pushed_at":"2022-02-12T18:21:07.000Z","size":163,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-27T09:13:02.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/engineerapart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-17T05:01:52.000Z","updated_at":"2019-11-18T00:37:34.000Z","dependencies_parsed_at":"2022-09-15T22:02:06.746Z","dependency_job_id":null,"html_url":"https://github.com/engineerapart/aws-dynamodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerapart%2Faws-dynamodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerapart%2Faws-dynamodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerapart%2Faws-dynamodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerapart%2Faws-dynamodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineerapart","download_url":"https://codeload.github.com/engineerapart/aws-dynamodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239433909,"owners_count":19637806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T05:37:55.837Z","updated_at":"2025-10-06T08:17:25.745Z","avatar_url":"https://github.com/engineerapart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-dynamodb\n\nEasily provision AWS DynamoDB tables using [Serverless Components](https://github.com/serverless/components).\n\n\u0026nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n\n\u0026nbsp;\n\n### 1. Install\n\n```shell\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```shell\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyTable:\n  component: '@serverless/aws-dynamodb'\n  inputs:\n    name: nameOfTable # optional\n    attributeDefinitions:\n      - AttributeName: id\n        AttributeType: S\n    keySchema:\n      - AttributeName: id\n        KeyType: HASH\n    region: us-east-1\n```\n\nWith globalSecondaryIndexes and/or localSecondaryIndexes\n\n```yml\n# serverless.yml\n\nmyTable:\n  component: '@serverless/aws-dynamodb'\n  inputs:\n    name: nameOfTable # optional\n    attributeDefinitions:\n      - AttributeName: id\n        AttributeType: S\n      - AttributeName: attribute1\n        AttributeType: N\n      - AttributeName: attribute2\n        AttributeType: S\n    keySchema:\n      - AttributeName: id\n        KeyType: HASH\n      - AttributeName: attribute1\n        KeyType: RANGE\n    localSecondaryIndexes:\n      - IndexName: 'myLocalSecondaryIndex'\n        KeySchema:\n         - AttributeName: id\n           KeyType: HASH\n         - AttributeName: attribute2\n           KeyType: RANGE\n        Projection:\n           ProjectionType: 'KEYS_ONLY'\n    globalSecondaryIndexes:\n      - IndexName: 'myGlobalSecondaryIndex'\n        KeySchema:\n         - AttributeName: attribute2\n           KeyType: HASH\n        Projection:\n           ProjectionType: 'KEYS_ONLY'\n    region: us-east-1\n```\n\nThe following applies to indexes:\n\n 1. LocalIndexes can only be created upon table creation. There is no way to update them and/or create them other than at table creation.\n 2. GlobalSecondaryIndexes can be created and removed during and after table creation. During an update, only one create and delete can happen at a time.\n 3. This component uses [PAY_PER_REQUEST](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BillingModeSummary.html), which makes any throughput update redundant, including for GlobalSecondaryIndexes.\n\n### 4. Deploy\n\n```shell\n$ serverless\n```\n\n\u0026nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerapart%2Faws-dynamodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineerapart%2Faws-dynamodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerapart%2Faws-dynamodb/lists"}