1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Unfortunately, it is not possible to configure an IAM policy to allow viewing only of specific EC2 instances.
The reason for this is that most display actions, such as ec2:DescribeInstances, do not support "resource-level permissions. This means that you can only set either "show all EC2 instances" or "don't show all EC2 instances". https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-actions-as-permissions
It seems that it is possible to set up a policy such that only certain EC2 sessions are initiated. https://docs.aws.amazon.com/systems-manager/latest/userguide/getting-started-restrict-access-examples.html#restrict-access-example-instances
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 10달 전
- AWS 공식업데이트됨 10달 전