Created
February 8, 2019 07:54
-
-
Save mikhailshilkov/144e407f51f2ee4756760d6ed3b707e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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