Remediation
Enable Point-in-Time Recoveryβ
From Command Lineβ
To enable Point-in-Time Recovery (PITR) for an existing DynamoDB table, use the following AWS CLI command:
aws dynamodb update-continuous-backups \
--table-name {{table-name}} \
--point-in-time-recovery-specification PointInTimeRecoveryEnabled=true
Using AWS CloudFormationβ
For CloudFormation-managed DynamoDB tables, set PointInTimeRecoverySpecification on the table resource:
Resources:
DynamoDBTable:
Type: AWS::DynamoDB::Table
Properties:
PointInTimeRecoverySpecification:
PointInTimeRecoveryEnabled: true
RecoveryPeriodInDays: 35