Skip to content

Instantly share code, notes, and snippets.

@cal0610
Last active November 2, 2022 03:38
Show Gist options
  • Save cal0610/f65921afedc2194308f4d98ec009008d to your computer and use it in GitHub Desktop.
Save cal0610/f65921afedc2194308f4d98ec009008d to your computer and use it in GitHub Desktop.
add dynamodb
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