I need a function or a piece of code that can retrieve the ARN of a named resource in AWS.
I created a table in DynamoDB and in console I can see the ARN:
arn:aws:dynamodb:eu-central-1:111122223333:table/my_new_table
How can I programmatically fetch this ARN using plain Go or AWS SDK for Go if I only know the table name my_new_table beforehand?