RoleProps
Properties for defining a Role
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-maxcompute-role
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmaxcompute"
&alicloudroscdkmaxcompute.RoleProps {
ProjectName: interface{},
RoleName: interface{},
Type: interface{},
Acl: interface{},
Policy: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ProjectName |
interface{} |
Property projectName: The name of the MaxCompute project. |
RoleName |
interface{} |
Property roleName: The name of the project role. |
Type |
interface{} |
Property type: Role types, MaxCompute provides administrator roles and resource roles. |
Acl |
interface{} |
Property acl: The access-control list (ACL), This parameter is not required if a policy is used. |
Policy |
interface{} |
Property policy: The document of the policy. |
ProjectName
Required
ProjectName interface{}
- Type: interface{}
Property projectName: The name of the MaxCompute project.
RoleName
Required
RoleName interface{}
- Type: interface{}
Property roleName: The name of the project role.
Type
Required
Type interface{}
- Type: interface{}
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.
Acl
Optional
Acl interface{}
- Type: interface{}
Property acl: The access-control list (ACL), This parameter is not required if a policy is used.
Policy
Optional
Policy interface{}
- Type: interface{}
Property policy: The document of the policy.
This parameter is not required if an access-control list (ACL) is used.