IAM managed policy for read-only access (v2 managed default policy) - Amazon EMR

IAM managed policy for read-only access (v2 managed default policy)

To grant read-only privileges to Amazon EMR, attach the AmazonEMRReadOnlyAccessPolicy_v2 managed policy. This default managed policy replaces the AmazonElasticMapReduceReadOnlyAccess managed policy. The content of this policy statement is shown in the following snippet. Compared with the AmazonElasticMapReduceReadOnlyAccess policy, the AmazonEMRReadOnlyAccessPolicy_v2 policy does not use wildcard characters for the elasticmapreduce element. Instead, the default v2 policy scopes the specific elasticmapreduce actions that are allowed.

Note

You can also use the AWS Management Console link AmazonEMRReadOnlyAccessPolicy_v2 to view the policy.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "ElasticMapReduceActions", "Action": [ "elasticmapreduce:DescribeCluster", "elasticmapreduce:DescribeEditor", "elasticmapreduce:DescribeJobFlows", "elasticmapreduce:DescribeSecurityConfiguration", "elasticmapreduce:DescribeStep", "elasticmapreduce:GetBlockPublicAccessConfiguration", "elasticmapreduce:GetManagedScalingPolicy", "elasticmapreduce:ListBootstrapActions", "elasticmapreduce:ListClusters", "elasticmapreduce:ListEditors", "elasticmapreduce:ListInstanceFleets", "elasticmapreduce:ListInstanceGroups", "elasticmapreduce:ListInstances", "elasticmapreduce:ListSecurityConfigurations", "elasticmapreduce:ListSteps", "elasticmapreduce:ViewEventsFromAllClustersInConsole" ], "Effect": "Allow", "Resource": "*" }, { "Sid": "ViewMetricsInEMRConsole", "Action": [ "cloudwatch:GetMetricStatistics" ], "Effect": "Allow", "Resource": "*" } ] }