aws-toolbox
A collection of command line utilities to do things in AWS
awsextract-iam
This utility will allow you to extract an existing AWS IAM role and format the output for use in a YAML or JSON CloudFormation script. This is useful when you wish to create a new role based on an existing role.