Skip to content

RoleProps

Properties for defining a Role.

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

Initializer

import com.aliyun.ros.cdk.maxcompute.RoleProps;
RoleProps.builder()
    .projectName(java.lang.String)
    .projectName(IResolvable)
    .roleName(java.lang.String)
    .roleName(IResolvable)
    .type(java.lang.String)
    .type(IResolvable)
//  .acl(IResolvable)
//  .acl(AclProperty)
//  .policy(IResolvable)
//  .policy(java.util.Map<java.lang.String, java.lang.Object>)
    .build();

Properties

Name Type Description
projectName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property projectName: The name of the MaxCompute project.
roleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property roleName: The name of the project role.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: Role types, MaxCompute provides administrator roles and resource roles.
acl com.aliyun.ros.cdk.core.IResolvable OR AclProperty Property acl: The access-control list (ACL), This parameter is not required if a policy is used.
policy com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property policy: The document of the policy.

projectNameRequired

public java.lang.Object getProjectName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property projectName: The name of the MaxCompute project.


roleNameRequired

public java.lang.Object getRoleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property roleName: The name of the project role.


typeRequired

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getAcl();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR AclProperty

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


policyOptional

public java.lang.Object getPolicy();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property policy: The document of the policy.

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