You cannot edit IAM roles after the role has been created.
(创建角色后,您将无法编辑IAM角色。)
This is mentioned in several places, including when the role is created through the IAM console. (在很多地方都提到了这一点,包括在通过IAM控制台创建角色时。)
And in several places in the docs .
(并且在文档中的几个地方。)
For Role name, type a role name to help identify the purpose of this role.
(对于“角色名称”,键入角色名称以帮助识别此角色的目的。)
Role names must be unique within your AWS account. (角色名称在您的AWS账户内必须是唯一的。)
After you enter the name, click Next Step. (输入名称后,单击“下一步”。)
Role names have character limitations.
(角色名称具有角色限制。)
The number of roles in an AWS account and the policy size for policies attached to roles are also limited. (AWS账户中角色的数量以及角色附加策略的策略大小也受到限制。)
For more information, see Limitations on IAM Entities and Objects. (有关更多信息,请参见IAM实体和对象的限制。)
Note that you cannot edit the name of the role after it is created. (请注意,创建角色后,您将无法编辑其名称。)
It is not possible to edit the name via the console or AWS CLI.
(无法通过控制台或AWS CLI编辑名称。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…