Skip to content

AttachPolicyToUserProps

Properties for defining a AttachPolicyToUser.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-attachpolicytouser

Initializer

import com.aliyun.ros.cdk.ram.AttachPolicyToUserProps;
AttachPolicyToUserProps.builder()
    .policyName(java.lang.String)
    .policyName(IResolvable)
    .policyType(java.lang.String)
    .policyType(IResolvable)
    .userName(java.lang.String)
    .userName(IResolvable)
    .build();

Properties

Name Type Description
policyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyName: Authorization policy name.
policyType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyType: Authorization policy type.
userName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userName: User name.Example: dev.

policyNameRequired

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

Property policyName: Authorization policy name.


policyTypeRequired

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

Property policyType: Authorization policy type.

Value: "System" or "Custom".


userNameRequired

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

Property userName: User name.Example: dev.