Ashishkumar Pandey
10/14/2021, 10:31 AMTable
construct support the replicationRegions
and replicationTimeout
props needed for creating global tables? If so, how’d I go about passing these to the Table
construct? An example would be helpful.Ashishkumar Pandey
10/14/2021, 11:09 AMnew Table(this, 'Table', {
fields: {
userId: TableFieldType.STRING,
noteId: TableFieldType.STRING,
},
primaryIndex: { partitionKey: 'noteId', sortKey: 'userId' },
dynamodbTable: {
replicationRegions: ['us-west-1', 'eu-south-1'],
replicationTimeout: Duration.hours(6),
},
});
Frank
Ashishkumar Pandey
10/15/2021, 4:41 AM