DynamoDB tables have deletion protection enabled via the deletion protection setting, meaning delete operations require this setting to be disabled first
Risk
Without deletion protection, tables can be removed by authorized actions or misconfigured automation, causing irrecoverable data loss and service outage. This impacts integrity and availability, and increases the blast radius of compromised credentials or mistaken runbooks.
Run this check with Prowler CLI
prowler aws --checks dynamodb_table_deletion_protection_enabled
Recommendation
Enable deletion protection on critical tables.
- Enforce least privilege to restrict who can modify this setting
- Require change control to disable it before planned deletes
- Combine with PITR and backups for defense in depth
- Use automation to make this the default for new tables
Remediation
CLI
aws dynamodb update-table --table-name <TABLE_NAME> --deletion-protection-enabled
Native IaC
Terraform
Other
- Open the AWS Management Console and go to DynamoDB
- Select the table
- Choose Additional settings
- Enable Deletion protection
- Save changes
Source Code
Resource Type
AwsDynamoDbTable