EC2 Start and Stop Policy for user

0

As I said Above, I want to create a policy which lets the tagged IAM user to stop and start any EC2 running instance in any region, is it possible

Rao G
已提問 10 個月前檢視次數 474 次
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

profile pictureAWS
專家
已回答 10 個月前
profile picture
專家
已審閱 10 個月前
profile picture
專家
已審閱 10 個月前
profile pictureAWS
專家
kentrad
已審閱 10 個月前
  • "aws:ResourceTag/Owner": "${aws:username}"== I unable to understnad this line, rest all json i understood, please explain the above line indetail to me

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南