Skip to content

AccessAssignmentProps

Properties for defining a AccessAssignment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-accessassignment

Initializer

import com.aliyun.ros.cdk.cloudsso.AccessAssignmentProps;
AccessAssignmentProps.builder()
    .accessConfigurationId(java.lang.String)
    .accessConfigurationId(IResolvable)
    .directoryId(java.lang.String)
    .directoryId(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)
    .build();

Properties

Name Type Description
accessConfigurationId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessConfigurationId: The ID of the access configuration.
directoryId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property directoryId: The ID of the directory.
principalId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property principalId: The ID of the CloudSSO identity.
principalType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property principalType: The type of the CloudSSO identity.
targetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetId: The ID of the task object.
targetType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetType: The type of the task object.

accessConfigurationIdRequired

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

Property accessConfigurationId: The ID of the access configuration.


directoryIdRequired

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

Property directoryId: The ID of the directory.


principalIdRequired

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

Property principalId: The ID of the CloudSSO identity.

  • If you set PrincipalType to User, set PrincipalId to the ID of the CloudSSO user.
  • If you set PrincipalType to Group, set PrincipalId to the ID of the CloudSSO group.

principalTypeRequired

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

Property principalType: The type of the CloudSSO identity.

Valid values: User, Group


targetIdRequired

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

Property targetId: The ID of the task object.


targetTypeRequired

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

Property targetType: The type of the task object.

Set the value to RD-Account, which specifies the accounts in the resource directory.