Last active
November 2, 2022 03:38
-
-
Save cal0610/f65921afedc2194308f4d98ec009008d to your computer and use it in GitHub Desktop.
add dynamodb
This file contains 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
const storesTable = new Table(this, "stores-table", { | |
partitionKey: { name: "id", type: AttributeType.STRING }, | |
billingMode: BillingMode.PAY_PER_REQUEST, | |
tableClass: TableClass.STANDARD_INFREQUENT_ACCESS, | |
tableName: "stores", | |
removalPolicy: cdk.RemovalPolicy.DESTROY, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment