Description of changes:
I found this a little confusing, since I was looking to get an AROA ID of a Role in a S3 Bucket policy. If it was returning an AIDA, it wasn't clear what user the AIDA would be for. Turns out this does work and returns an AROA, but the doc example was ever so slightly misleading.
Closing this issue or pull request in advance of archiving this repo. For more information about the decision to archive this repo (and others in the 'awsdocs' org), see the announcement on the AWS News Blog.
Issue #, if available:
Description of changes: I found this a little confusing, since I was looking to get an AROA ID of a Role in a S3 Bucket policy. If it was returning an AIDA, it wasn't clear what user the AIDA would be for. Turns out this does work and returns an AROA, but the doc example was ever so slightly misleading.
GetAtt RoleId on Type: IAM::Role returns a prefix of AROA not a AIDA as per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.