Skip to content

Commit 645895d

Browse files
committed
fix: replace remaining deprecated pointInTimeRecovery in DynamoDB tables
- car-logs-fetch.ts: carLogsTable - models-manager-car-upload-step-function.ts: uploadTable
1 parent df4bae1 commit 645895d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/constructs/car-logs-fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class CarLogsFetchStepFunction extends Construct {
3434
encryption: dynamodb.TableEncryption.AWS_MANAGED,
3535
stream: dynamodb.StreamViewType.NEW_IMAGE,
3636
removalPolicy: RemovalPolicy.DESTROY,
37-
pointInTimeRecovery: true,
37+
pointInTimeRecoverySpecification: { pointInTimeRecoveryEnabled: true },
3838
});
3939

4040
const globalSecondaryIndexProps: dynamodb.GlobalSecondaryIndexProps = {

lib/constructs/models-manager-car-upload-step-function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class CarUploadStepFunction extends Construct {
2828
encryption: dynamodb.TableEncryption.AWS_MANAGED,
2929
stream: dynamodb.StreamViewType.NEW_IMAGE,
3030
removalPolicy: RemovalPolicy.DESTROY,
31-
pointInTimeRecovery: true,
31+
pointInTimeRecoverySpecification: { pointInTimeRecoveryEnabled: true },
3232
});
3333

3434
const globalSecondaryIndexProps: dynamodb.GlobalSecondaryIndexProps = {

0 commit comments

Comments
 (0)