CmdID

CmdID / aws / aws ec2

aws ec2 replace-iam-instance-profile-association

Replaces an IAM instance profile for the specified running instance. 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
--association-idThe ID of the existing IAM instance profile association.
--iam-instance-profileThe IAM instance profile.