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

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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ