Skip to content

Instantly share code, notes, and snippets.

@mikhailshilkov
Created February 8, 2019 07:54
Show Gist options
  • Save mikhailshilkov/144e407f51f2ee4756760d6ed3b707e1 to your computer and use it in GitHub Desktop.
Save mikhailshilkov/144e407f51f2ee4756760d6ed3b707e1 to your computer and use it in GitHub Desktop.
import * as aws from "@pulumi/aws";
// A DynamoDB table with a single primary key
let counterTable = new aws.dynamodb.Table("urls", {
name: "urls",
attributes: [
{ name: "name", type: "S" },
],
hashKey: "name",
readCapacity: 1,
writeCapacity: 1
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment