LoginProfileProps
Properties for defining a LoginProfile.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-loginprofile
Initializer
import com.aliyun.ros.cdk.ram.LoginProfileProps;
LoginProfileProps.builder()
.userPrincipalName(java.lang.String)
.userPrincipalName(IResolvable)
// .generateRandomPassword(java.lang.Boolean)
// .generateRandomPassword(IResolvable)
// .mfaBindRequired(java.lang.Boolean)
// .mfaBindRequired(IResolvable)
// .password(java.lang.String)
// .password(IResolvable)
// .passwordResetRequired(java.lang.Boolean)
// .passwordResetRequired(IResolvable)
// .status(java.lang.String)
// .status(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
userPrincipalName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property userPrincipalName: The login name of the RAM user. |
generateRandomPassword | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property generateRandomPassword: Whether to generate a random password for the RAM user. |
mfaBindRequired | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication. |
password | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property password: The logon password for the RAM user. |
passwordResetRequired | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property passwordResetRequired: Whether RAM users must reset their password the next time they log in. |
status | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property status: Specifies whether to enable password-based logon to the console. |
userPrincipalNameRequired
public java.lang.Object getUserPrincipalName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property userPrincipalName: The login name of the RAM user.
generateRandomPasswordOptional
public java.lang.Object getGenerateRandomPassword();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property generateRandomPassword: Whether to generate a random password for the RAM user.
mfaBindRequiredOptional
public java.lang.Object getMfaBindRequired();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.
Valid values:
- true: This is required. RAM users must bind the multifactor authentication device the next time they log in.
- false (default) : This is not required.
passwordOptional
public java.lang.Object getPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property password: The logon password for the RAM user.
The password must meet the password policy.
passwordResetRequiredOptional
public java.lang.Object getPasswordResetRequired();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.
statusOptional
public java.lang.Object getStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property status: Specifies whether to enable password-based logon to the console.
Valid values:
- Active (default): Enable
- Inactive: Disable