我可以分配给 AWS 上的自定义策略的最大权限数是多少?
What is the max number of permissions I can assign to a custom policy on AWS?
假设某个组织具有自定义 IAM 策略,从中可以为角色分配任意数量的策略。 是否有可以分配的每个自定义策略的最大权限数?或者策略大小是否受字符数限制?
就文档而言,我不确定是否存在阈值,或者最大值是否基于字节或 n 个字符:
Q: How many policies can I attach to an IAM role?
For inline policies: You can add as many inline policies as you want to a user, role, or group, but the total aggregate policy size (the sum size of all inline policies) per entity cannot exceed the following limits:
- User policy size cannot exceed 2,048 characters.
- Role policy size cannot exceed 10,240 characters.
- Group policy size cannot exceed 5,120 characters.
您参考的文档看起来相当简单;根据您引用的内容,限制是附加到用户/角色/组的所有内联策略中的字符总和
假设某个组织具有自定义 IAM 策略,从中可以为角色分配任意数量的策略。 是否有可以分配的每个自定义策略的最大权限数?或者策略大小是否受字符数限制?
就文档而言,我不确定是否存在阈值,或者最大值是否基于字节或 n 个字符:
Q: How many policies can I attach to an IAM role?
For inline policies: You can add as many inline policies as you want to a user, role, or group, but the total aggregate policy size (the sum size of all inline policies) per entity cannot exceed the following limits:
- User policy size cannot exceed 2,048 characters.
- Role policy size cannot exceed 10,240 characters.
- Group policy size cannot exceed 5,120 characters.
您参考的文档看起来相当简单;根据您引用的内容,限制是附加到用户/角色/组的所有内联策略中的字符总和