@@ -152,7 +152,9 @@ export class Tables extends Construct {
152152 tableName : prescriptionStatusUpdatesTableName ,
153153 partitionKey : { name : "PrescriptionID" , type : AttributeType . STRING } ,
154154 sortKey : { name : "TaskID" , type : AttributeType . STRING } ,
155- pointInTimeRecovery : true ,
155+ pointInTimeRecoverySpecification : {
156+ pointInTimeRecoveryEnabled : true
157+ } ,
156158 encryption : TableEncryption . CUSTOMER_MANAGED ,
157159 encryptionKey : prescriptionStatusUpdatesKey ,
158160 timeToLiveAttribute : "ExpiryTime" ,
@@ -469,7 +471,9 @@ export class Tables extends Construct {
469471 tableName : prescriptionNotificationStatesTableName ,
470472 partitionKey : { name : "NHSNumber" , type : AttributeType . STRING } ,
471473 sortKey : { name : "RequestId" , type : AttributeType . STRING } ,
472- pointInTimeRecovery : true ,
474+ pointInTimeRecoverySpecification : {
475+ pointInTimeRecoveryEnabled : true
476+ } ,
473477 encryption : TableEncryption . CUSTOMER_MANAGED ,
474478 encryptionKey : prescriptionNotificationStatesKey ,
475479 timeToLiveAttribute : "ExpiryTime" ,
0 commit comments