elasticmapreduce:SetVisibleToAllUsers

Write

elasticmapreduce:SetVisibleToAllUsers is a Write access-level action in the elasticmapreduce service. Grants permission to set whether all AWS Identity and Access Management (IAM) users in the AWS account can view a cluster. This API is deprecated and your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see AWS Identity and Access Management for Amazon EMR (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-iam.html)

Resource types

ARNs that elasticmapreduce:SetVisibleToAllUsers can be scoped to in an IAM policy.

arn:${Partition}:elasticmapreduce:${Region}:${Account}:cluster/${ClusterId}
cluster

Condition keys

Keys you can use in the Condition block of a policy that grants elasticmapreduce:SetVisibleToAllUsers.

aws:ResourceTag/${TagKey} String

Filters access by the tag and value pair associated with an Amazon EMR resource

elasticmapreduce:ResourceTag/${TagKey} String

Filters access by the tag and value pair associated with an Amazon EMR resource

Example IAM policy

A minimal policy that allows elasticmapreduce:SetVisibleToAllUsers. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticmapreduceSetVisibleToAllUsers",
      "Effect": "Allow",
      "Action": "elasticmapreduce:SetVisibleToAllUsers",
      "Resource": "*"
    }
  ]
}

Related actions in elasticmapreduce

View all elasticmapreduce actions →