CmdID

CmdID / aws / aws iam

aws iam add-role-to-instance-profile

Adds the specified IAM role to the specified instance profile. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--instance-profile-nameThe name of the instance profile to update.
--role-nameThe name of the role to add.