Module iam

Module iam 

Source
Expand description

Provides a set of simple helper functions to make ResourceNames for the IAM service.

These resource definitions ae take from the AWS documentation. With the exception of the root account ResourceName described here. [

Functionsยง

group
arn:${Partition}:iam::${Account}:group/${GroupNameWithPath}
policy
arn:${Partition}:iam::${Account}:policy/${PolicyNameWithPath}
role
arn:${Partition}:iam::${Account}:role/${RoleNameWithPath}
root
arn:aws:iam::123456789012:root
user
arn:${Partition}:iam::${Account}:user/${UserNameWithPath}