1 個回答
- 最新
- 最多得票
- 最多評論
1
You can use an identity-based policy to do that. Here is an example that only allows users who have their username as the Owner of the instance to start\stop instance. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_ec2_tag-owner.html
相關內容
- 已提問 1 年前
- 已提問 7 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
"aws:ResourceTag/Owner": "${aws:username}"== I unable to understnad this line, rest all json i understood, please explain the above line indetail to me