Command option Sample:aws iam remove-role-from-instance-profile

Search command sample in the internet.It is the result.

Removes the specified IAM role from the specified EC2 instanceprofile.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/iam/remove-role-from-instance-profile.html

aws iam remove-role-from-instance-profile --instance-profile-name ExampleInstanceProfile --role-name Test-Role
    remove-role-from-instance-profile — AWS CLI 1.16.7 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/iam/remove-role-from-instance-profile.html
aws iam remove-role-from-instance-profile --instance-profile-name
    Can't delete IAM role because policies are attached 揃 Issue #2761 揃 hashicorp/terraform 揃 GitHub : http://github.com/hashicorp/terraform/issues/2761
aws iam remove-role-from-instance-profile --instance-profile-name in
    AWS Identity and Access Management User Guide : http://studylib.net/doc/8360964/aws-identity-and-access-management-user-guide
aws iam remove-role-from-instance-profile --instance-profile ecsInstanceProfile \
    Single Instance ECS Setup - Rainer Hahnekamp : http://www.rainerhahnekamp.com/en/single-instance-ecs-setup/

aws のオプション一覧