Difference between revisions of "Aws iam add-role-to-instance-profile"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 17: | Line 17: | ||
* [[Policies]]: <code>[[arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy]]</code> | * [[Policies]]: <code>[[arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy]]</code> | ||
− | An error occurred (ValidationError) when calling the AddRoleToInstanceProfile operation: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_- | + | An error occurred ([[ValidationError]]) when calling the [[AddRoleToInstanceProfile]] operation: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_- |
== See also == | == See also == |
Revision as of 10:53, 8 March 2023
aws iam add-role-to-instance-profile --instance-profile-name Your-instance-profile-name --role-name arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy
aws iam create-instance-profile aws ec2 describe-iam-instance-profile-associations
ecsInstanceRole
aws ec2-instance-connect send-ssh-public-key aws iam list-instance-profiles
An error occurred (ValidationError) when calling the AddRoleToInstanceProfile operation: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_-
See also
aws iam list-instance-profiles | add-role-to-instance-profile
- AWS IAM role, AWS service roles, AWS IAM Roles Anywhere: [
list-roles | get-role | create-role | put-role-policy | create-service-linked-role | attach-role-policy | update-role | add-role-to-instance-profile ], aws ec2 describe-iam-instance-profile-associations ]
, IAM roles for EC2 instances,AWSServiceRoleForAutoScaling
Advertising: