简体   繁体   English

如何更改自定义 AWS IAM 策略的描述?

[英]How to change the description of custom AWS IAM policy?

I have a custom policy in AWS IAM.我在 AWS IAM 中有一个自定义策略。 I would like to change its description, not its name.我想改变它的描述,而不是它的名字。 How can I do that?我怎样才能做到这一点?

I've tried editing the policy, but that only changes how it works (eg, assigning privileges).我试过编辑策略,但这只会改变它的工作方式(例如,分配权限)。 I don't see how to change the description.我不知道如何更改描述。

From CreatePolicy documentation :CreatePolicy文档

Description: A friendly description of the policy.描述:对策略的友好描述。

The policy description is immutable.策略描述是不可变的。 After a value is assigned, it cannot be changed.赋值后,不能更改。

Therefore, you'll need to delete it and recreate it to modify the Description.因此,您需要删除它并重新创建它以修改描述。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM