UserProvisionProps
Properties for defining a UserProvision
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-userprovision
Initializer
import com.aliyun.ros.cdk.cloudsso.UserProvisionProps;
UserProvisionProps.builder()
.deletionStrategy(java.lang.String)
.deletionStrategy(IResolvable)
.directoryId(java.lang.String)
.directoryId(IResolvable)
.duplicationStrategy(java.lang.String)
.duplicationStrategy(IResolvable)
.principalId(java.lang.String)
.principalId(IResolvable)
.principalType(java.lang.String)
.principalType(IResolvable)
.targetId(java.lang.String)
.targetId(IResolvable)
.targetType(java.lang.String)
.targetType(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
deletionStrategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property deletionStrategy: Delete policy. |
directoryId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property directoryId: The ID of the directory. |
duplicationStrategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property duplicationStrategy: Conflict policy. |
principalId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property principalId: The ID of the principal. |
principalType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property principalType: The type of the principal. |
targetId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property targetId: Target ID for RAM user synchronization. |
targetType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property targetType: Target type for RAM user synchronization. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the user. |
deletionStrategy
Required
public java.lang.Object getDeletionStrategy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property deletionStrategy: Delete policy.
The treatment strategy for the synchronized RAM users when the RAM user synchronization is removed. Valid values:
- Delete: Delete When the RAM user synchronization is removed, the RAM users that have been synchronized to the RAM from the cloud SSO are deleted.
- Keep: When the RAM user synchronization is removed, the RAM users that have been synchronized to the RAM from the cloud SSO are retained.
directoryId
Required
public java.lang.Object getDirectoryId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property directoryId: The ID of the directory.
duplicationStrategy
Required
public java.lang.Object getDuplicationStrategy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property duplicationStrategy: Conflict policy.
When the cloud SSO user is synchronized to the RAM, the processing strategy if there is a user with the same name in the RAM. Valid values:
- KeepBoth: Keep both of them. When the cloud SSO user is synchronized to RAM, if the RAM already has a user with the same name, it will try to create a RAM user with the user name after adding the suffix _sso to the user name of the cloud SSO user.
- TakeOver: Take over. When the cloud SSO user is synchronized to the RAM, if the RAM already has a user with the same name, the existing RAM user is directly replaced by the cloud SSO synchronization user.
principalId
Required
public java.lang.Object getPrincipalId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property principalId: The ID of the principal.
Valid values:
- When the PrincipalType value is Group, the value is the cloud SSO user group ID (g-**).
- When PrincipalType takes the value User, this value is the cloud SSO user ID (u-**).
principalType
Required
public java.lang.Object getPrincipalType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property principalType: The type of the principal.
Valid values:
- User: The principal is a cloud SSO user.
- Group: The principal is a cloud SSO group.
targetId
Required
public java.lang.Object getTargetId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetId: Target ID for RAM user synchronization.
Currently, it is the RD account ID.
targetType
Required
public java.lang.Object getTargetType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetType: Target type for RAM user synchronization.
Currently, it is RD-Account.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the user.