π‘οΈ AWS DynamoDB Table is unusedπ’
- Contextual name: π‘οΈ Table is unusedπ’
- ID:
/ce/ca/aws/dynamodb/table-unused - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
COST
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: Unused Table
Descriptionβ
Descriptionβ
This policy identifies unused AWS DynamoDB Tables to help reduce unnecessary costs in your AWS environment. A DynamoDB table is considered unused if it has remained in an
ACTIVEstate for more than 30 days and itsItemCountparameter, representing the number of items stored in the table, is0(zero).Rationaleβ
Unused resources contribute to cloud waste and may incur avoidable costs, particularly when tables are provisioned with read and write capacity units or add unnecessary management overhead. Identifying and removing unused DynamoDB tables helps optimize costs and maintain a clean, well-managed infrastructure.
Auditβ
This policy flags an AWS DynamoDB Table as
INCOMPLIANTif theItem Countis0.If the table is not in an ACTIVE state or was created less than 30 days ago, it is marked as
INAPPLICABLE.
Remediationβ
Remediationβ
Remove Unused Amazon DynamoDB Tablesβ
To remove unused Amazon DynamoDB tables from your AWS cloud account, perform the following steps.
From Consoleβ
Sign in to the AWS Management Console.
Navigate to the Amazon DynamoDB console.
In the left navigation pane, under Dashboard, choose Tables.
Select the DynamoDB table you want to remove and choose Delete from the top menu.
In the Delete table confirmation dialog, perform the following actions:
- (Optional) Choose whether to delete any Amazon CloudWatch alarms associated with the table.
- Enter
confirmin the confirmation field.- Choose Delete to remove the selected table.
Repeat Steps 4 and 5 for each unused DynamoDB table in the current AWS Region.
If applicable, switch AWS Regions and repeat the remediation process.
From Command Lineβ
Use the
delete-tablecommand (OSX/Linux/UNIX) to remove an unused Amazon DynamoDB table. After the request is submitted, the table transitions to theDELETINGstate until the removal process is complete.... see more
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ AWS Well-Architected β πΌ COST04-BP02 Implement a decommissioning process | 1 | no data | |||
| πΌ Cloudaware Framework β πΌ Waste Reduction | 28 | no data |