I have running local dynamoDB in Java integration tests
AmazonDynamoDBLocal embeddedDynamo = DynamoDBEmbedded.create()
AmazonDynamoDB client = embeddedDynamo.amazonDynamoDB();
DynamoDB dynamoDB = new DynamoDB(client);
Now I need to create tables based on definition in SAM template.yaml file. I can just copy that file on classpath using Gradle and parse it by some Java/Groovy tools and then just use parsed map to feed the DynamoDB instance API to create those tables.
But I am wondering if there is any library or tool that does it for me?
Thank you, Lukas