(scope: Construct, id: string)
| 9 | public readonly orderTable: ITable; |
| 10 | |
| 11 | constructor(scope: Construct, id: string) { |
| 12 | super(scope, id); |
| 13 | |
| 14 | //product table |
| 15 | this.productTable = this.createProductTable(); |
| 16 | //basket table |
| 17 | this.basketTable = this.createBasketTable(); |
| 18 | //order table |
| 19 | this.orderTable = this.createOrderTable(); |
| 20 | } |
| 21 | |
| 22 | // Product DynamoDb Table Creation |
| 23 | // product : PK: id -- name - description - imageFile - price - category |
nothing calls this directly
no test coverage detected