aws iam acquire-role
Creates an IAM role from the specified role template. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--replacement-valuesA map of values to substitute for the parameters that are defined in the role template version.--template-arnThe Amazon Resource Name (ARN) of the role template to create the role from.--template-minor-versionThe minor version of the role template to use.