Skip to content

AccessAssignmentProps

Properties for defining a AccessAssignment.

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

Initializer

import ros_cdk_cloudsso
ros_cdk_cloudsso.AccessAssignmentProps(
  access_configuration_id: typing.Union[str, IResolvable],
  directory_id: typing.Union[str, IResolvable],
  principal_id: typing.Union[str, IResolvable],
  principal_type: typing.Union[str, IResolvable],
  target_id: typing.Union[str, IResolvable],
  target_type: typing.Union[str, IResolvable]
)

Properties

Name Type Description
access_configuration_id typing.Union[str, ros_cdk_core.IResolvable] Property accessConfigurationId: The ID of the access configuration.
directory_id typing.Union[str, ros_cdk_core.IResolvable] Property directoryId: The ID of the directory.
principal_id typing.Union[str, ros_cdk_core.IResolvable] Property principalId: The ID of the CloudSSO identity.
principal_type typing.Union[str, ros_cdk_core.IResolvable] Property principalType: The type of the CloudSSO identity.
target_id typing.Union[str, ros_cdk_core.IResolvable] Property targetId: The ID of the task object.
target_type typing.Union[str, ros_cdk_core.IResolvable] Property targetType: The type of the task object.

access_configuration_idRequired

access_configuration_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property accessConfigurationId: The ID of the access configuration.


directory_idRequired

directory_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property directoryId: The ID of the directory.


principal_idRequired

principal_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

principal_typeRequired

principal_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property principalType: The type of the CloudSSO identity.

Valid values: User, Group


target_idRequired

target_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property targetId: The ID of the task object.


target_typeRequired

target_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.