AccessAssignmentProps
Properties for defining a AccessAssignment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-accessassignment
Initializer
import { AccessAssignmentProps } from '@alicloud/ros-cdk-cloudsso'
const accessAssignmentProps: AccessAssignmentProps = { ... }
Properties
Name | Type | Description |
---|---|---|
accessConfigurationId |
string | @alicloud/ros-cdk-core.IResolvable |
Property accessConfigurationId: The ID of the access configuration. |
directoryId |
string | @alicloud/ros-cdk-core.IResolvable |
Property directoryId: The ID of the directory. |
principalId |
string | @alicloud/ros-cdk-core.IResolvable |
Property principalId: The ID of the CloudSSO identity. |
principalType |
string | @alicloud/ros-cdk-core.IResolvable |
Property principalType: The type of the CloudSSO identity. |
targetId |
string | @alicloud/ros-cdk-core.IResolvable |
Property targetId: The ID of the task object. |
targetType |
string | @alicloud/ros-cdk-core.IResolvable |
Property targetType: The type of the task object. |
accessConfigurationId
Required
public readonly accessConfigurationId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accessConfigurationId: The ID of the access configuration.
directoryId
Required
public readonly directoryId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property directoryId: The ID of the directory.
principalId
Required
public readonly principalId: string | IResolvable;
- Type: string | @alicloud/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.
principalType
Required
public readonly principalType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property principalType: The type of the CloudSSO identity.
Valid values: User, Group
targetId
Required
public readonly targetId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetId: The ID of the task object.
targetType
Required
public readonly targetType: string | IResolvable;
- Type: string | @alicloud/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.