In AWS CDK, if a resource like a DynamoDB table is missing (maybe it was accidentally manually deleted) with a ResourceNotFound or Unable to retrieve arn error, you can recover it without tearing down the whole stack by recreating the resource with the same full name that the CDK stack/CloudFormation template is looking for.

Source#

AWS docs