'Recreate DynamoDB tables used in AWS AppSync

I have an AWS AppSync API in dev using DataStore backed by DynamoDB tables. I have deleted all of the tables from Dynamo DB and was hoping AppSync could recreate them but that does not seem to be the case. Does anyone know of a way to regenerate the DynamoDB tables? My AppSync API Data Sources are still pointing to those tables even though they no longer exist. When I attempt to delete the Data Sources, it states they are tied to functions so they cannot be deleted. There are hundreds of functions that would need to be deleted. Any help would be much appreciated!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source