Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

MapReduce Service (MRS)

Updated on 2025-02-25 GMT+08:00

The Organizations service provides Service Control Policies (SCPs) to set access control policies.

SCPs do not actually grant any permissions to an entity. They only set the permissions boundary for the entity. When SCPs are attached to a member account or an organizational unit (OU), they do not directly grant permissions to that member account or OU. Instead, the SCPs just determine what permissions are available for that member account or the member accounts under that OU.

This section describes the elements used by Organizations SCPs. The elements include actions, resources, and conditions.

For details about how to use these elements to create a custom SCP, see Creating an SCP.

Actions

Actions are specific operations that are allowed or denied in an SCP.

  • The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an SCP.
  • The Resource Type column indicates whether the action supports resource-level permissions.
    • You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your SCP statements.
    • If this column includes a resource type, you must specify the URN in the Resource element of your statements.
    • Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.

    For details about the resource types defined by MRS, see Resources.

  • The Condition Key column includes keys that you can specify in the Condition element of an SCP statement.
    • If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
    • If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
    • If the Condition Key column is empty (-) for an action, the action does not support any condition keys.

    For details about the condition keys defined by MRS, see Conditions.

The following table lists the actions that you can define in SCPs for MRS.

Table 1 Actions supported by MRS

Action

Description

Access Level

Resource Type (*: required)

Condition Key

mrs:cluster:createCluster

Grants permission to create a cluster.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:RequestTag/<tag-key>,g:TagKeys,g:EnterpriseProjectId

mrs:cluster:deleteCluster

Grants permission to delete a cluster.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:listHosts

Grants permission to query nodes in a cluster.

list

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:listFiles

Grants permission to query files in a cluster.

list

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:createJob

Grants permission to execute jobs in a cluster.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:list

Grants permission to query the cluster list.

list

-

g:RequestTag/<tag-key>,g:TagKeys,g:EnterpriseProjectId

mrs:cluster:listJobs

Grants permission to query jobs of a cluster.

list

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:getJob

Grants permission to query job details in a cluster.

read

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:getCluster

Grants permission to query cluster details.

read

mrs:<region>:<account-id>:cluster:<cluster-id>

-

mrs:cluster:resizeNodes

Grants permission to adjust cluster nodes.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:updateClusterName

Grants permission to rename a cluster.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:listTags

Grants permission to query cluster tags.

list

-

g:EnterpriseProjectId

mrs:cluster:updateTags

Grants permission to add or delete cluster tags.

tagging

-

g:RequestTag/<tag-key>,g:TagKeys,g:EnterpriseProjectId

mrs:cluster:listClustersByTag

Grants permission to query clusters with specific tags.

list

-

g:RequestTag/<tag-key>,g:TagKeys

mrs:cluster:stopJob

Grants permission to stop cluster jobs.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:deleteJobs

Grants permission to delete cluster jobs in batches.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:stopSql

Grants permission to cancel SQL execution.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:createSql

Grants permission to submit SQL statements for execution.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:listPolicies

Grants permission to obtain all auto scaling policies in a cluster.

list

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:updatePolicies

Grants permission to modify the auto scaling policies of a cluster.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:getAgencyMapping

Grants permission to obtain user agent information.

read

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:updateAgencyMapping

Grants permission to update user agent information.

write

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

mrs:cluster:getSql

Grants permission to obtain the SQL execution result.

read

mrs:<region>:<account-id>:cluster:<cluster-id>

g:EnterpriseProjectId

Resources

A resource type indicates the resources that an SCP applies to. If you specify a resource type for any action in Table 2, the resource URN must be specified in the SCP statements using that action, and the SCP applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the SCP applies to all resources. You can also set condition keys in an SCP to define resource types.

The following table lists the resource types that you can define in SCP statements for MRS.

Table 2 Resource types supported by MRS

Resource Type

URN

cluster

mrs:<region>:<account-id>:cluster:<cluster-id>

Conditions

MRS does not support service-specific condition keys in SCPs.

It can only use global condition keys applicable to all services. For details, see Global Condition Keys.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback