且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

可以在AWS IAM策略动态地指登录用户名?

更新时间:2023-11-30 11:15:16

该IAM用户可以通过 $ {AWS:用户名}被称为在政策文件中。

The IAM user can be referred to in policy documents by ${aws:username}.

还有其他的IAM政策变量列表,在这里它们的用途:

There is a list of other IAM policy variables and their uses here:

http://docs.aws.amazon.com/IAM/最新/ UserGuide / PolicyVariables.html