Hi All,
I’m a complete newbie to SST and wanted to try it out with our application.
We have a long list of dynamodb tables.
I’m wondering if there’s a way to import the table schemas to avoid having to write the code manually?
What do you mean by importing the table schemas?
Sorry for the delay, schema is not the best word I guess, I mean the table profile, something like what you get from aws dynamodb describe-table.
I may be able to use .fromTableARN. It’s not the same thing, but may do what i need.
e.g.
new Table(stack, “Table”, {
cdk: {
table: dynamodb.Table.fromTableArn(this, “ImportedTable”, tableArn),
},
});