Seth Geoghegan
02/25/2021, 6:30 PMFrank
cdk.Table
construct to the sst.Table
construct in the coming releases.Frank
sst.Table
, you will be able to do something like:
new sst.Table(this, "Table", {
fields: { ... },
primaryIndex: { ... },
subscribers: { ... },
});
Where you can simply define the function code to be trigger when ie. a new item is written to the tableFrank
sst.Table
, you can simply create your table and pass in like:
new sst.Table(this, "Table", {
table: new cdk.Table(...),
subscribers: { ... },
});
Seth Geoghegan
02/25/2021, 7:11 PMJay
Seth Geoghegan
02/25/2021, 7:45 PM