I defined DynamoDB table inside nested stack in cloudformaion just have output stream arn string like:
arn:aws:dynamodb:us-east-1:123456789012:table/books_table/stream/2015-05-11T21:21:33.291
I want to get the substring of this stream arn and get string:
arn:aws:dynamodb:us-east-1:123456789012:table/books_table
Can you give me example how to do substring the stream arn of above case? How to just cut the last two parts? use what function to do it in aws cloudformation? or combination functions to get corresponding string.
ps:
I can not use:
Fn::GetAtt: [ 'dynamodbTableLogicalId', 'Arn' ]
directly, as it 'dynamodbTableLogicalId' hidden inside the nested stack.