Skip to content

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.

accessConfigurationIdRequired

public readonly accessConfigurationId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accessConfigurationId: The ID of the access configuration.


directoryIdRequired

public readonly directoryId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property directoryId: The ID of the directory.


principalIdRequired

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.


principalTypeRequired

public readonly principalType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property principalType: The type of the CloudSSO identity.

Valid values: User, Group


targetIdRequired

public readonly targetId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property targetId: The ID of the task object.


targetTypeRequired

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.