Skip to content

UserProps

Properties for defining a User.

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

Initializer

import com.aliyun.ros.cdk.ram.UserProps;
UserProps.builder()
    .userName(java.lang.String)
    .userName(IResolvable)
//  .comments(java.lang.String)
//  .comments(IResolvable)
//  .deletionForce(java.lang.Boolean)
//  .deletionForce(IResolvable)
//  .displayName(java.lang.String)
//  .displayName(IResolvable)
//  .email(java.lang.String)
//  .email(IResolvable)
//  .groups(java.util.List<java.lang.Object>)
//  .groups(IResolvable)
//  .loginProfile(IResolvable)
//  .loginProfile(LoginProfileProperty)
//  .mobilePhone(java.lang.String)
//  .mobilePhone(IResolvable)
//  .policies(IResolvable)
//  .policies(java.util.List<IResolvable)
//  .policies(PoliciesProperty>)
//  .policyAttachments(IResolvable)
//  .policyAttachments(PolicyAttachmentsProperty)
    .build();

Properties

Name Type Description
userName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userName: Specifies the user name, containing up to 64 characters.
comments java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property comments: Comments of ram user.
deletionForce java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property deletionForce: Whether force detach the policies and groups attached to the user.
displayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property displayName: Display name, up to 128 characters or Chinese characters.
email java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property email: Email of ram user.
groups java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property groups: A name of a group to which you want to add the user.
loginProfile com.aliyun.ros.cdk.core.IResolvable OR LoginProfileProperty Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.
mobilePhone java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property mobilePhone: Phone number of ram user.
policies com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPoliciesProperty> Property policies: Describes what actions are allowed on what resources.
policyAttachments com.aliyun.ros.cdk.core.IResolvable OR PolicyAttachmentsProperty Property policyAttachments: System and custom policy names to attach.

userNameRequired

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

Property userName: Specifies the user name, containing up to 64 characters.


commentsOptional

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

Property comments: Comments of ram user.


deletionForceOptional

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

Property deletionForce: Whether force detach the policies and groups attached to the user.

Default value is false.


displayNameOptional

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

Property displayName: Display name, up to 128 characters or Chinese characters.


emailOptional

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

Property email: Email of ram user.


groupsOptional

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

Property groups: A name of a group to which you want to add the user.


loginProfileOptional

public java.lang.Object getLoginProfile();

Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.


mobilePhoneOptional

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

Property mobilePhone: Phone number of ram user.


policiesOptional

public java.lang.Object getPolicies();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPoliciesProperty>

Property policies: Describes what actions are allowed on what resources.


policyAttachmentsOptional

public java.lang.Object getPolicyAttachments();

Property policyAttachments: System and custom policy names to attach.