Skip to content

RoleProps

Properties for defining a Role.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-maxcompute-role

Initializer

using AlibabaCloud.SDK.ROS.CDK.Maxcompute;
new RoleProps {
    object ProjectName,
    object RoleName,
    object Type,
    object Acl = null,
    object Policy = null
};

Properties

Name Type Description
ProjectName object Property projectName: The name of the MaxCompute project.
RoleName object Property roleName: The name of the project role.
Type object Property type: Role types, MaxCompute provides administrator roles and resource roles.
Acl object Property acl: The access-control list (ACL), This parameter is not required if a policy is used.
Policy object Property policy: The document of the policy.

ProjectNameRequired

public object ProjectName { get; set; }
  • Type: object

Property projectName: The name of the MaxCompute project.


RoleNameRequired

public object RoleName { get; set; }
  • Type: object

Property roleName: The name of the project role.


TypeRequired

public object Type { get; set; }
  • Type: object

Property type: Role types, MaxCompute provides administrator roles and resource roles.

Valid values: Admin: You can grant management-related permissions to administrator roles by using policies instead of access control lists (ACLs). You cannot grant resource-related permissions to administrator roles. Resource: You can grant resource-related permissions but not management-related permissions to resource roles.


AclOptional

public object Acl { get; set; }
  • Type: object

Property acl: The access-control list (ACL), This parameter is not required if a policy is used.


PolicyOptional

public object Policy { get; set; }
  • Type: object

Property policy: The document of the policy.

This parameter is not required if an access-control list (ACL) is used.