Sets the Cluster\$VisibleToAllUsers value, which determines whether the
cluster is visible to all IAM users of the AWS account associated with
the cluster. Only the IAM user who created the cluster or the AWS
account root user can call this action. The default value, true
,
indicates that all IAM users in the AWS account can perform cluster
actions if they have the proper IAM policy permissions. If set to
false
, only the IAM user that created the cluster can perform actions.
This action works on running clusters. You can override the default
true
setting when you create a cluster by using the
VisibleToAllUsers
parameter with RunJobFlow
.
emr_set_visible_to_all_users(JobFlowIds, VisibleToAllUsers)
[required] The unique identifier of the job flow (cluster).
[required] A value of true
indicates that all IAM users in the AWS account can
perform cluster actions if they have the proper IAM policy permissions.
This is the default. A value of false
indicates that only the IAM user
who created the cluster can perform actions.
svc$set_visible_to_all_users( JobFlowIds = list( "string" ), VisibleToAllUsers = TRUE|FALSE )