I want to know , from where this value is ${cognito-identity.amazonaws.com:sub}
populated . I had checked in cognito Identity JWT token where sub
will have username
of cognito. I cant able to see federated ID any where in JWT Id token. I can only see the ID generated in federated identity pool.
Does it is a hash of cognito and federated pool ID ?
Because if it is taking from JWT token, i want to pass custom:Attribute1
into this variable dynamically ${cognito-identity.amazonaws.com:custom:Attribute1}
in IAM role of dynamodb ?
Thanks Any help is appreicated