Modifying configuration to use DynamoDBTemplate bean