I have an entity that needs to be mapped to a DynamoDBTable. We have two tables, one for dev environment and one for production. How can I change the string within an annotation depending on my current active profile?
In the dev enviroment I want the entity to start with this:
@DynamoDBTable(tableName = "my-dynamodbtable-dev")
public class MyEntity{
In the prod enviroment, I want it to start with this:
@DynamoDBTable(tableName = "my-dynamodbtable-prod")
public class MyEntity{